diff options
| author | Victor Feyens <vfe@odoo.com> | 2019-08-21 12:21:15 +0000 |
|---|---|---|
| committer | Victor Feyens <vfe@odoo.com> | 2019-08-22 15:27:59 +0000 |
| commit | 088de4f1eba2c13b4fa1b3ef6557dd870c4f7565 (patch) | |
| tree | 8b44a97229789f84fb84abd64842142839a9e780 /addons/repair | |
| parent | 3fdb6b6a716a2c7da851a5a97015614687e304fd (diff) | |
[FIX] *: see pricelists when enabled
Since
https://github.com/odoo/odoo/commit/e88fe6f380ed5682f2cedad16ba13ca43a3828c2
, the groups to have access to pricelists is `group_product_pricelist`,
not `group_sale_pricelist` anymore.
`group_sale_pricelist` is now a technical group enabling access to
advanced pricelist rules (percentage/discount).
Diffstat (limited to 'addons/repair')
| -rw-r--r-- | addons/repair/views/repair_views.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/repair/views/repair_views.xml b/addons/repair/views/repair_views.xml index bfb7fd40941..0a146b340f8 100644 --- a/addons/repair/views/repair_views.xml +++ b/addons/repair/views/repair_views.xml @@ -79,7 +79,7 @@ <field name="guarantee_limit"/> <field name="invoice_method"/> <field name="partner_invoice_id" attrs="{'invisible':[('invoice_method','=', 'none')],'required':[('invoice_method','!=','none')]}" groups="sale.group_delivery_invoice_address"/> - <field name="pricelist_id" groups="product.group_sale_pricelist" context="{'product_id':product_id}" attrs="{'invisible':[('invoice_method','=', 'none')]}"/> + <field name="pricelist_id" groups="product.group_product_pricelist" context="{'product_id':product_id}" attrs="{'invisible':[('invoice_method','=', 'none')]}"/> <field name="tag_ids" widget="many2many_tags" options="{'color_field': 'color', 'no_create_edit': True}"/> </group> </group> |
