[16.0][ADD] budget_appropriation_mis_builder: integrate with OCA mis_builder#735
Open
n3n wants to merge 2 commits into
Open
[16.0][ADD] budget_appropriation_mis_builder: integrate with OCA mis_builder#735n3n wants to merge 2 commits into
n3n wants to merge 2 commits into
Conversation
…n with mis_builder Add a new module that integrates budget.appropriation.line with OCA mis_builder. - Extend budget.appropriation.line with stored computed debit/credit fields derived from balance and deduct flag (non-deduct -> debit, deduct -> credit), satisfying the move_lines_source contract required by mis_builder. - Define a MIS Report template "รายงานการจัดสรรงบประมาณรายจ่าย แยกตามประเภทงบประมาณ" with KPIs for the five expense categories (51xxx personnel, 52xxx operating, 53xxx capital, 54xxx subsidy, 55xxx other) plus a total KPI. - Provide a default report instance with a single yearly period. - Add tree view and menu items under จัดสรรงบประมาณ -> รายงาน.
…tly from menu Point the menu action at mis_builder.mis_report_instance_result_view_form so clicking the menu lands on the report preview instead of the editable form, matching the behavior of the in-form "Preview" button.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
budget_appropriation_mis_builderthat wiresbudget.appropriation.lineinto OCAmis_builderby adding stored computeddebit/creditfields (non-deduct -> debit, deduct -> credit).Test plan
budget_appropriation_mis_builder; verifydebit/creditcolumns appear onbudget.appropriation.lineand equalbalance(non-deduct) or move tocreditfor deduct lines.target_moveand date range; values update accordingly.