This commit is contained in:
David Beal
2019-03-28 17:45:34 +01:00
parent 08fde42217
commit c2af621083
2 changed files with 11 additions and 1 deletions

View File

@@ -24,4 +24,15 @@ because the parent menu entry is in the sale module -->
sequence="50"/>
<record id="product_pricelist_view" model="ir.ui.view">
<field name="model">product.pricelist</field>
<field name="inherit_id" ref="product.product_pricelist_view"/>
<field name="arch" type="xml">
<xpath expr="//div[@groups='product.group_pricelist_item']" position="attributes">
<div name="groups">product.group_pricelist_item,base_usability.group_nobody</div>
</xpath>
</field>
</record>
</odoo>

View File

@@ -4,7 +4,6 @@
from odoo import models, fields, api
from odoo.tools import float_is_zero
from collections import OrderedDict
class SaleOrder(models.Model):