mirror of
https://github.com/bringout/odoomates.git
synced 2026-04-21 20:52:00 +02:00
update: 19.0 compatibility for odoomates accounting modules
- All manifest versions updated to 19.0.1.0.0
- Renamed all <tree> view tags to <list> (19.0 requirement)
- Renamed tree,form to list,form in view_mode fields
- Removed account.chart.template views (AbstractModel in 19.0)
- Fixed xpath /tree/ to /list/ in account_journal.xml for payment methods
- Modules: om_account_accountant, accounting_pdf_reports,
om_account_budget, om_recurring_payments, om_account_daily_reports
🤖 assisted by claude
This commit is contained in:
parent
5f0082b0ee
commit
788ea7113e
18 changed files with 52 additions and 132 deletions
|
|
@ -2,10 +2,10 @@
|
|||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
{
|
||||
'name': 'Odoo 16 Recurring Payment',
|
||||
'name': 'Odoo 19 Recurring Payment',
|
||||
'author': 'Odoo Mates',
|
||||
'category': 'Accounting',
|
||||
'version': '1.0.0',
|
||||
'version': '19.0.1.0.0',
|
||||
'description': """Odoo 16 Recurring Payment, Recurring Payment In Odoo, Odoo 16 Accounting""",
|
||||
'summary': 'Use recurring payments to handle periodically repeated payments',
|
||||
'sequence': 11,
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@
|
|||
<notebook>
|
||||
<page string="Recurring Entries">
|
||||
<field name="line_ids">
|
||||
<tree create="0" delete="0" edit="0" decoration-success="state == 'done'">
|
||||
<list create="0" delete="0" edit="0" decoration-success="state == 'done'">
|
||||
<field name="date"/>
|
||||
<field name="amount"/>
|
||||
<field name="journal_id" domain="[('type', 'in', ('bank', 'cash'))]"/>
|
||||
|
|
@ -51,7 +51,7 @@
|
|||
<button name="action_create_payment" type="object"
|
||||
string="Create Payment"
|
||||
attrs="{'invisible': [('state', '=', 'done')]}"/>
|
||||
</tree>
|
||||
</list>
|
||||
<form string="Recurring Payment Line" edit="0">
|
||||
<group>
|
||||
<group>
|
||||
|
|
@ -80,12 +80,12 @@
|
|||
<field name="name">recurring.payment.tree</field>
|
||||
<field name="model">recurring.payment</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="Recurring Payments">
|
||||
<list string="Recurring Payments">
|
||||
<field name="name"/>
|
||||
<field name="partner_id"/>
|
||||
<field name="journal_id"/>
|
||||
<field name="state"/>
|
||||
</tree>
|
||||
</list>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
|
@ -93,7 +93,7 @@
|
|||
<field name="name">Recurring Payment</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">recurring.payment</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="view_mode">list,form</field>
|
||||
<field name="view_id" ref="view_account_recurring_payment_tree"/>
|
||||
</record>
|
||||
|
||||
|
|
|
|||
|
|
@ -36,11 +36,11 @@
|
|||
<field name="name">account.recurring.template.tree</field>
|
||||
<field name="model">account.recurring.template</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="Recurring Template">
|
||||
<list string="Recurring Template">
|
||||
<field name="name"/>
|
||||
<field name="journal_id"/>
|
||||
<field name="state"/>
|
||||
</tree>
|
||||
</list>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
|
@ -49,7 +49,7 @@
|
|||
<field name="name">Recurring Template</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">account.recurring.template</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="view_mode">list,form</field>
|
||||
<field name="view_id" ref="view_account_recurring_template_tree"/>
|
||||
</record>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue