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/product/views/product_views.xml | |
| 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/product/views/product_views.xml')
| -rw-r--r-- | addons/product/views/product_views.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/product/views/product_views.xml b/addons/product/views/product_views.xml index 352a3782fd3..fcd295e328b 100644 --- a/addons/product/views/product_views.xml +++ b/addons/product/views/product_views.xml @@ -142,7 +142,7 @@ <separator/> <filter string="Archived" name="inactive" domain="[('active','=',False)]"/> <field string="Attributes" name="attribute_line_ids" groups="product.group_product_variant"/> - <field name="pricelist_id" context="{'pricelist': self}" filter_domain="[]" groups="product.group_sale_pricelist"/> + <field name="pricelist_id" context="{'pricelist': self}" filter_domain="[]" groups="product.group_product_pricelist"/> <filter invisible="1" string="Late Activities" name="activities_overdue" domain="[('activity_ids.date_deadline', '<', context_today().strftime('%Y-%m-%d'))]" help="Show all records which has next action date is before today"/> |
