fix: 19.0 compatibility for accounting_pdf_reports, om_account_budget, om_recurring_payments

- Convert attrs dict to inline attributes (invisible/readonly/required)
- Convert states attribute to invisible conditions
- Remove deprecated numbercall from ir.cron
- Remove deprecated domain from account.budget.post
- Fix group assignments in security XML
- Fix search view group-by references

🤖 assisted by claude
This commit is contained in:
Ernad Husremovic 2026-03-09 18:10:10 +01:00
parent 348f7abe95
commit 5e769f4b39
9 changed files with 44 additions and 69 deletions

View file

@ -22,15 +22,15 @@
</group>
<notebook>
<page string="Report"
attrs="{'invisible': [('type','not in',['accounts','account_type', 'account_report'])]}">
invisible="type not in ('accounts', 'account_type', 'account_report')">
<group>
<field name="display_detail"
attrs="{'invisible': [('type','not in',['accounts','account_type'])]}"/>
invisible="type not in ('accounts', 'account_type')"/>
<field name="account_report_id"
attrs="{'invisible': [('type', '!=', 'account_report')]}"/>
invisible="type != 'account_report'"/>
</group>
<field name="account_ids" attrs="{'invisible': [('type', '!=', 'accounts')]}"/>
<field name="account_type_ids" attrs="{'invisible': [('type', '!=', 'account_type')]}"/>
<field name="account_ids" invisible="type != 'accounts'"/>
<field name="account_type_ids" invisible="type != 'account_type'"/>
</page>
<page string="Childrens">
<field name="children_ids" nolabel="1">
@ -64,10 +64,10 @@
<field name="type"/>
<field name="account_report_id"/>
<filter string="Reports" name="filter_parent_id" domain="[('parent_id','=', False)]"/>
<group expand="0" string="Group By">
<filter name="parent_report" string="Parent Report" domain=""
<group>
<filter name="parent_report" string="Parent Report"
context="{'group_by':'parent_id'}"/>
<filter name="report_type" string="Report Type" domain="[]" context="{'group_by':'type'}"/>
<filter name="report_type" string="Report Type" context="{'group_by':'type'}"/>
</group>
</search>
</field>