Saturday, May 21, 2022
2 changes · master
Miscellaneous changes
Currently, only a public user or an internal user can access HR department information. This is causing an access rights error when trying to filter job offers on the website if connected with a portal user, while there is no error if not connected (public user). We should have the same behavior for the two cases. Description of the issue/feature this PR addresses: opw-2819632 Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the
Original PR description
Currently, only a public user or an internal user can access HR department information. This is causing an access rights error when trying to filter job offers on the website if connected with a portal user, while there is no error if not connected (public user). We should have the same behavior for the two cases. Description of the issue/feature this PR addresses: opw-2819632 Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#91733
When executing cron followup task, in a multi company environment, if one same partner is set on multiple invoices (requiring a followup) from different companies the followup line is computed only once for the first company. Followup reports for the invoices of the other companies are the generated from the followup report line of the first company) To reproduce : - Create 2 companies - Create one autoexecute followup level sending an email for each company with a different message - Cre
Original PR description
When executing cron followup task, in a multi company environment, if one same partner is set on multiple invoices (requiring a followup) from different companies the followup line is computed only…
When executing cron followup task, in a multi company environment, if one same partner is set on multiple invoices (requiring a followup) from different companies the followup line is computed only once for the first company. Followup reports for the invoices of the other companies are the generated from the followup report line of the first company) To reproduce : - Create 2 companies - Create one autoexecute followup level sending an email for each company with a different message - Create one invoice triggering the followup report on each company with the same customers - Set both companies on allowed companies for the "System" user (id 1) - Run "Account Report Followup; Execute followup" manually Result : both emails are created using the template of one company Attended result: each email should be created using the template of the company it is originating from This commit adds a dependency on the compute method for followup_level to force the update when the company is changed in the context. Forward-Port-Of: odoo/enterprise#27581 Forward-Port-Of: odoo/enterprise#27545