Tuesday, September 15, 2020
2 changes · master
Resolved issues and error corrections
Odoo now prevents user groups from being deleted when they are still linked to record access rules. This avoids accidentally making those rules apply to everyone, which could disrupt access to business records.
Original PR description
**Description of the issue/feature this PR addresses:** With a wrong manipulation you can unlink a group. During unlink - the `ir.model.access` is also unlink, - `ir.rule` are not unlink and become global **Current behavior before PR:** Go to runbot. Unlink Portal groups --> all Portal `ir.rule` become global --> there are lot of issue with access (you don't see all records). **Desired behavior after PR is merged:** You cannot unlink a group if it is used. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Fixed an issue in expense document processing where opening certain empty lists could crash if no helper message was configured. Users now see the page correctly instead of encountering an error, improving reliability in expense workflows.
Original PR description
On actions without a nocontent helper, the method get_empty_list_help() was crashing due to the help message not being a string. TaskID: 2333899