mirror of
https://github.com/bringout/odoomates.git
synced 2026-04-19 10:32:07 +02:00
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:
parent
348f7abe95
commit
5e769f4b39
9 changed files with 44 additions and 69 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue