Daily updates from Odoo
Friday, October 22, 2021
2 changes
Resolved issues and error corrections
This fix ensures field service sale products use the correct worksheet template when users switch between companies. It prevents company-specific settings from being mixed up, helping teams keep reports and workflows accurate in multi-company environments.
Original PR description
Fixes a multi company issue with the `worksheet_template_id` field on `product.template`, the field depends on a company_dependent field and it would not retrigger the compute upon changing the current active company. The field is now a company_dependent field aswell and is recomputed when writing/creating records. Task ID: 2613947
Signing documents on behalf of someone else now records the represented signer as responsible for edits made during signing. This keeps audit logs accurate and avoids showing the logged-in user when the action belongs to the token owner.
Original PR description
In sign, when a document is edited while signing, an update log is created with the partner who edited the template. If 'sign now' is used to sign a document in the name of other person, and an update log is created, it was being created in the name of the logged user who edited the template, however it should contain the token owner. task-2653064