Merge branch 'new/13.0/sale_section_subtotal' into '13.0-test'

new/13.0/sale_section_subtotal into 13.0-test

See merge request hibou-io/hibou-odoo/suite!502
This commit is contained in:
Hibou Bot
2020-10-08 23:36:40 +00:00
3 changed files with 32 additions and 0 deletions

View File

View File

@@ -0,0 +1,17 @@
{
'name': 'Sale Section Subtotal',
'version': '13.0.1.0.0',
'category': 'Sales',
'author': 'Hibou Corp.',
'license': 'AGPL-3',
'website': 'https://hibou.io/',
'depends': [
'sale',
'base_section_subtotal',
],
'data': [
'views/sale_views.xml',
],
'installable': True,
'application': False,
}

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<record id="view_order_form_inherit" model="ir.ui.view">
<field name="name">sale.order.form.inherit</field>
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale.view_order_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='order_line']/tree" position="attributes">
<attribute name="section-subtotal-field">price_subtotal</attribute>
</xpath>
</field>
</record>
</odoo>