addons-vauxoo
addons-vauxoo copied to clipboard
[13.0] default_warehouse_from_salesteam: missing clear_cache on ir.rule
Steps to reproduce:
- Configure at less 2 salesteam and realated each one with a warehouse
- Create transfers in both warehouses
- Assign a user into group Limited access to transfers (filtered by sales team) and select a salesteam.
- In private mode start session with user of the step 1, without close admin session
- Go to transfers in private mode, see transfers (all good from now)
- With admin assign user to another salesteam.
- Again in private mode, see transfers (nothing change) the user cannot see transfer from warehouse relate to salesteam from step 6.
Evidence on video: https://youtu.be/5T01PpYcabg
Hi @luisg123v
This is the issue that we talk about yesterday...
@hugho-ad suggest to me check this:
https://github.com/Vauxoo/addons-vauxoo/blob/11.0/default_warehouse_from_sale_team/models/res_users.py#L37
we not sure if the clear_cache if was forgotten do a foward-port o the clear_cache() was deprecated for any reaseon, could you check this please?
thanks,
@suniagajose I checked this with @moylop260, and this is a missing forward-port.
Be aware @CarmenMiranda