mirror of
https://github.com/bringout/odoomates.git
synced 2026-04-23 02:52:05 +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,8 +2,8 @@
|
|||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
{
|
||||
'name': 'Odoo 16 Accounting',
|
||||
'version': '1.0.0',
|
||||
'name': 'Odoo 19 Accounting',
|
||||
'version': '19.0.1.0.0',
|
||||
'category': 'Accounting',
|
||||
'summary': 'Accounting Reports, Asset Management and Account Budget, Recurring Payments, '
|
||||
'Lock Dates, Fiscal Year For Odoo 16 Community Edition, Accounting Dashboard, Financial Reports, '
|
||||
|
|
|
|||
|
|
@ -1,93 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
|
||||
<record id="view_account_chart_template_form" model="ir.ui.view">
|
||||
<field name="name">account.chart.template.form</field>
|
||||
<field name="model">account.chart.template</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Chart of Accounts Template">
|
||||
<group col="4">
|
||||
<field name="name"/>
|
||||
<field name="parent_id"/>
|
||||
<field name="bank_account_code_prefix"/>
|
||||
<field name="cash_account_code_prefix"/>
|
||||
<field name="transfer_account_code_prefix"/>
|
||||
<field name="code_digits"/>
|
||||
<field name="visible"/>
|
||||
<field name="use_anglo_saxon" />
|
||||
<!-- <field name="complete_tax_set"/>-->
|
||||
</group>
|
||||
<separator string="Default Taxes" colspan="4"/>
|
||||
<field name="tax_template_ids" colspan="4" nolabel="1"/>
|
||||
<separator string="Properties" colspan="4"/>
|
||||
<group col="4">
|
||||
<field name="property_account_receivable_id"/>
|
||||
<field name="property_account_payable_id"/>
|
||||
<field name="property_account_expense_categ_id"/>
|
||||
<field name="property_account_income_categ_id"/>
|
||||
<field name="property_account_expense_id"/>
|
||||
<field name="property_account_income_id"/>
|
||||
</group>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_account_chart_template_seacrh" model="ir.ui.view">
|
||||
<field name="name">account.chart.template.search</field>
|
||||
<field name="model">account.chart.template</field>
|
||||
<field name="arch" type="xml">
|
||||
<search string="Search Chart of Account Templates">
|
||||
<field name="name" string="Account Template"/>
|
||||
<field name="bank_account_code_prefix"/>
|
||||
<field name="cash_account_code_prefix"/>
|
||||
<field name="transfer_account_code_prefix"/>
|
||||
<group expand="0" string="Group By">
|
||||
<filter string="Receivable Account" name="receivalbeacc" domain="[]"
|
||||
context="{'group_by':'property_account_receivable_id'}"/>
|
||||
<filter string="Payable Account" name="payableacc" domain="[]"
|
||||
context="{'group_by':'property_account_payable_id'}"/>
|
||||
<filter string="Income Account" name="incomeacc" domain="[]"
|
||||
context="{'group_by':'property_account_income_categ_id'}"/>
|
||||
<filter string="Expense Account" name="expenseacc" domain="[]"
|
||||
context="{'group_by':'property_account_expense_categ_id'}"/>
|
||||
</group>
|
||||
</search>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_account_chart_template_tree" model="ir.ui.view">
|
||||
<field name="name">account.chart.template.tree</field>
|
||||
<field name="model">account.chart.template</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="Chart of Accounts Template">
|
||||
<field name="name"/>
|
||||
<field name="property_account_receivable_id" invisible="1"/>
|
||||
<field name="property_account_payable_id" invisible="1"/>
|
||||
<field name="property_account_expense_categ_id" invisible="1"/>
|
||||
<field name="property_account_income_categ_id" invisible="1"/>
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<!--
|
||||
<record id="action_account_chart_template_form" model="ir.actions.act_window">
|
||||
<field name="name">Chart of Accounts Templates</field>
|
||||
<field name="res_model">account.chart.template</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
</record>
|
||||
-->
|
||||
<!-- account.chart.template views removed for 19.0 - it is now an AbstractModel -->
|
||||
|
||||
<record id="action_account_group_action" model="ir.actions.act_window">
|
||||
<field name="name">Account Groups</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">account.group</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="view_mode">list,form</field>
|
||||
</record>
|
||||
<!--
|
||||
<menuitem id="menu_account_coa_template"
|
||||
action="om_account_accountant.action_account_chart_template_form"
|
||||
parent="menu_account_templates"
|
||||
sequence="10"/>
|
||||
-->
|
||||
|
||||
</odoo>
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<field name="name">Account Groups</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">account.group</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="view_mode">list,form</field>
|
||||
</record>
|
||||
|
||||
<menuitem id="menu_account_group"
|
||||
|
|
|
|||
|
|
@ -6,10 +6,10 @@
|
|||
<field name="model">account.journal</field>
|
||||
<field name="inherit_id" ref="account.view_account_journal_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='inbound_payment_method_line_ids']/tree/field[@name='payment_account_id']" position="attributes">
|
||||
<xpath expr="//field[@name='inbound_payment_method_line_ids']/list/field[@name='payment_account_id']" position="attributes">
|
||||
<attribute name="optional">show</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='outbound_payment_method_line_ids']/tree/field[@name='payment_account_id']" position="attributes">
|
||||
<xpath expr="//field[@name='outbound_payment_method_line_ids']/list/field[@name='payment_account_id']" position="attributes">
|
||||
<attribute name="optional">show</attribute>
|
||||
</xpath>
|
||||
</field>
|
||||
|
|
@ -45,7 +45,7 @@
|
|||
<field name="res_model">account.move.line</field>
|
||||
<field name="domain">[('display_type', 'not in', ('line_section', 'line_note'))]</field>
|
||||
<field name="view_id" ref="account.view_move_line_tree_grouped_misc"/>
|
||||
<field name="view_mode">tree,pivot,graph,kanban</field>
|
||||
<field name="view_mode">list,pivot,graph,kanban</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<record id="action_account_account_tag" model="ir.actions.act_window">
|
||||
<field name="name">Account Tags</field>
|
||||
<field name="res_model">account.account.tag</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="view_mode">list,form</field>
|
||||
</record>
|
||||
|
||||
<menuitem id="menu_account_tag"
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<record id="action_account_fiscal_position_template" model="ir.actions.act_window">
|
||||
<field name="name">Fiscal Position Templates</field>
|
||||
<field name="res_model">account.fiscal.position.template</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="view_mode">list,form</field>
|
||||
</record>
|
||||
|
||||
<menuitem id="menu_account_fiscal_position_template"
|
||||
|
|
|
|||
|
|
@ -26,10 +26,10 @@
|
|||
<field name="name">account.payment.method</field>
|
||||
<field name="model">account.payment.method</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="Payment Methods" create="0" edit="0" delete="0">
|
||||
<list string="Payment Methods" create="0" edit="0" delete="0">
|
||||
<field name="name"/>
|
||||
<field name="payment_type"/>
|
||||
</tree>
|
||||
</list>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
|
@ -50,7 +50,7 @@
|
|||
<record id="action_account_payment_method" model="ir.actions.act_window">
|
||||
<field name="name">Payment Methods</field>
|
||||
<field name="res_model">account.payment.method</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="view_mode">list,form</field>
|
||||
</record>
|
||||
|
||||
<menuitem id="menu_account_payment_method"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue