Enable invoice management from sale order in all modules having sale as dependency. closes odoo/odoo#35658 Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
18 lines
686 B
XML
18 lines
686 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<odoo>
|
|
|
|
<record model="ir.ui.view" id="product_template_sale_form_view">
|
|
<field name="name">product.template.sales</field>
|
|
<field name="model">product.template</field>
|
|
<field name="inherit_id" ref="product.product_template_form_view"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//group[@name='sale']" position="attributes">
|
|
<attribute name="invisible">0</attribute>
|
|
</xpath>
|
|
<xpath expr="//group[@name='invoicing']" position="attributes">
|
|
<attribute name="invisible">0</attribute>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|