-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[PORT] Port base_suspend_security to 9.0 #333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PORT] Port base_suspend_security to 9.0 #333
Conversation
|
@adrienpeiffer can you also bump the version number in openerp.py ? |
|
@adrienpeiffer @gurneyalex @hbrunn IMO We should advertise that this module must be used with caution in a multi companies environment. Indeed, when you suspend the security you also suspend record rules and in some cases I've observed that the value of some fields is not linked to the current company. |
|
And a workaround/solution is to include in the context the key |
|
@pedrobaeza I'm not sure it's a solution since the record rules are not run at all... |
|
Well, it's not a complete solution for example for many2many records (like the taxes in the product), but it works with property/company_dependent fields. |
|
@lmignon how is |
|
@gurneyalex version bumped |
|
👍 |
2 similar comments
|
👍 |
|
👍 |
[PORT] Port base_suspend_security to 9.0
…efactor [RFR] in order to work properly, we need to use FieldOne2Many's caching logic
Syncing from upstream OCA/server-tools (11.0)
No description provided.