[FIX] website_sale: Missing fields in the product form
When installing ecommerce app in a fresh v12 database the fields invoice_policy and description_sale were missing in the product.template view form opw:1911612 closes odoo/odoo#29059
This commit is contained in:
@@ -67,6 +67,15 @@
|
||||
<field name="inherit_id" ref="product.product_template_form_view"/>
|
||||
<field name="arch" type="xml">
|
||||
<!-- add state field in header -->
|
||||
<xpath expr="//group[@name='invoicing']" position="attributes">
|
||||
<attribute name="invisible">0</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//group[@name='email_template_and_project']" position="attributes">
|
||||
<attribute name="invisible">0</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//group[@name='description']" position="attributes">
|
||||
<attribute name="invisible">0</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//button[@name='toggle_active']" position="before">
|
||||
<button class="oe_stat_button" name="website_publish_button"
|
||||
type="object" icon="fa-globe" attrs="{'invisible': [('sale_ok','=',False)]}">
|
||||
|
||||
Reference in New Issue
Block a user