mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
[ADD] account_section_subtotal: for Odoo 13.0
This commit is contained in:
0
account_section_subtotal/__init__.py
Normal file
0
account_section_subtotal/__init__.py
Normal file
17
account_section_subtotal/__manifest__.py
Normal file
17
account_section_subtotal/__manifest__.py
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
'name': 'Account Section Subtotal',
|
||||
'version': '13.0.1.0.0',
|
||||
'category': 'Accounting',
|
||||
'author': 'Hibou Corp.',
|
||||
'license': 'AGPL-3',
|
||||
'website': 'https://hibou.io/',
|
||||
'depends': [
|
||||
'account',
|
||||
'base_section_subtotal',
|
||||
],
|
||||
'data': [
|
||||
'views/account_views.xml',
|
||||
],
|
||||
'installable': True,
|
||||
'application': False,
|
||||
}
|
||||
15
account_section_subtotal/views/account_views.xml
Normal file
15
account_section_subtotal/views/account_views.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<odoo>
|
||||
|
||||
<record id="view_move_form_inherit" model="ir.ui.view">
|
||||
<field name="name">account.move.form.inherit</field>
|
||||
<field name="model">account.move</field>
|
||||
<field name="inherit_id" ref="account.view_move_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//page[@id='invoice_tab']//field[@name='invoice_line_ids']/tree" position="attributes">
|
||||
<attribute name="section-subtotal-field">price_subtotal</attribute>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user