Files
odoo_source/odoo
Olivier Dony 944def6932 [FIX] ir.actions.server: allow execution by portal/public requesests
When an automated action triggers for an action of a public/portal
user session, the server action is executed with the session
credentials. As of 4a18d5744e
only employees can access model fields, including the model name,
so a temporary sudo() elevation is necessary to find the model name.

The `model` and `record` action context parameters are however still
provided with the credentials of the session, not the super-user.
2017-03-06 10:56:23 +01:00
..
…
…
…
…
…
…
…
…
…
…