[FIX] product: make the new group invisible

Since https://github.com/odoo/odoo/commit/acace4d8c3caca5f38eb6d6e603a1133329b4ccc a new empty
group was added to the product form view.

The problem is that this group is always visible while its content is
only visible when having group_product_pricelist hence showing a blank
space in the form view.
This commit is contained in:
RomainLibert
2018-09-11 15:05:14 +02:00
parent 955e2bad52
commit e332c304e0
+1 -1
View File
@@ -67,7 +67,7 @@
</page>
<page string="Sales" attrs="{'invisible':[('sale_ok','=',False)]}" name="sales" invisible="1">
<group name="sale">
<group>
<group groups="product.group_product_pricelist">
<div name="pricelist_item" groups="product.group_product_pricelist">
<separator string="Pricing"/>
<field name="item_ids" nolabel="1" context="{'default_base':'list_price', 'default_applied_on' :'1_product'}">