mirror of
https://github.com/bringout/odoomates.git
synced 2026-04-26 17:32:03 +02:00
fix: om_account_budget additional 19.0 compatibility fixes
- Fix account.analytic.group → account.analytic.plan (renamed in 19.0)
- Remove states attribute from field definitions (deprecated in 19.0)
- Fix menu references: account_management_menu → account_account_menu,
menu_finance_entries_management → menu_finance_entries
- Remove group expand from search view (invalid in 19.0)
- Remove res_config_settings xpath for non-existent account_budget div
🤖 assisted by claude
This commit is contained in:
parent
5e769f4b39
commit
1719960a8b
3 changed files with 11 additions and 21 deletions
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
<menuitem id="menu_budget_post_form"
|
||||
action="open_budget_post_form"
|
||||
parent="account.account_management_menu"
|
||||
parent="account.account_account_menu"
|
||||
sequence="5"/>
|
||||
|
||||
<record id="view_budget_post_form" model="ir.ui.view">
|
||||
|
|
@ -247,7 +247,7 @@
|
|||
</record>
|
||||
|
||||
<menuitem id="menu_act_crossovered_budget_view"
|
||||
parent="account.menu_finance_entries_management"
|
||||
parent="account.menu_finance_entries"
|
||||
name="Budgets"
|
||||
action="act_crossovered_budget_view"
|
||||
sequence="60"
|
||||
|
|
@ -262,10 +262,9 @@
|
|||
<field name="crossovered_budget_id"/>
|
||||
<filter name="filter_not_cancelled" string="Not Cancelled"
|
||||
domain="[('crossovered_budget_state','!=','cancel')]"/>
|
||||
<group expand="0" string="Group By">
|
||||
<filter name="group_crossevered_budgdet_id" string="Budgets"
|
||||
domain="[]" context="{'group_by':'crossovered_budget_id'}"/>
|
||||
</group>
|
||||
<separator/>
|
||||
<filter name="group_crossevered_budgdet_id" string="Budgets"
|
||||
context="{'group_by':'crossovered_budget_id'}"/>
|
||||
</search>
|
||||
</field>
|
||||
</record>
|
||||
|
|
|
|||
|
|
@ -1,13 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<record id="res_config_settings_view_form" model="ir.ui.view">
|
||||
<field name="name">res.config.settings.view.form.inherit.account.budget</field>
|
||||
<field name="model">res.config.settings</field>
|
||||
<field name="inherit_id" ref="account.res_config_settings_view_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//div[@id='account_budget']" position="replace"/>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<!-- account_budget div removed in 19.0, no settings override needed -->
|
||||
</odoo>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue