diff options
| author | Damien Bouvy <dbo@odoo.com> | 2020-02-04 15:26:22 +0000 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2020-02-05 10:17:03 +0000 |
| commit | 541dc03f22d02dc9dad1b33ea477d8e2cf6bb969 (patch) | |
| tree | 795b84156637676a6d68bc51ddb3e7435b9c65b7 /addons/pos_sale | |
| parent | 6d0c8788e4d9a8ba154b4203408f09a4629b6015 (diff) | |
[FIX] pos_sale: sales team report without POS access rights
Steps to reproduce the bug:
- Give 'Administrator' rights for the Sales app and no rights for the Point of Sales app to the demo user
- Try to access CRM > Sales > Team Pipelines as Marc Demo
Bug:
Access Rights error on pos.session
opw:2184032
closes odoo/odoo#44637
X-original-commit: 77f0d6280e64074a3188dfb85d688ab758400128
Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
Diffstat (limited to 'addons/pos_sale')
| -rw-r--r-- | addons/pos_sale/views/sales_team_views.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/pos_sale/views/sales_team_views.xml b/addons/pos_sale/views/sales_team_views.xml index fe03eb11c4d..4a0b3b34f33 100644 --- a/addons/pos_sale/views/sales_team_views.xml +++ b/addons/pos_sale/views/sales_team_views.xml @@ -34,6 +34,7 @@ <field name="name">crm.team.kanban</field> <field name="model">crm.team</field> <field name="inherit_id" ref="sales_team.crm_team_salesteams_view_kanban"/> + <field name="groups_id" eval="[(4, ref('point_of_sale.group_pos_user'))]"/> <field name="arch" type="xml"> <data> <xpath expr="//t[@name='first_options']" position="before"> |
