Tuesday, November 29, 2022
6 changes · master
Enhancements to existing features
This update removes repeated default information from many app configuration files. It does not change how the apps work, but makes the configuration easier to read, compare, and maintain.
Original PR description
Remove most values uselessly specified because giving the same value as the default one (see _DEFAULT_MANIFEST in odoo/modules/module.py) auto_install is Falsy by default author is Odoo SA by default summary & description are empty strings by default application is False by default test, demo, depends and data are empty lists by default This will reduce noise/inconsistencies between manifests specifications, simplify analysis of manifests content. Reference to: https://github.com/odoo/odoo/commit/42bad1a6d21e086e3bb766f9813d65902b3c232a Related to: https://github.com/odoo/odoo/pull/106686
Payroll contract screens and related guided flows were updated to match the improved way users move through employee contracts. Demo data was also completed so sample employee contracts avoid missing required responsible person information.
Original PR description
Adapt various tests and tours to adapt to the new way of navigating contracts. task-3056891
Resolved issues and error corrections
This fix updates the Peruvian electronic invoicing report so invoice and credit note titles continue to display correctly after a change in the underlying report template. It helps ensure legally relevant document labels remain accurate for users generating Peruvian accounting documents.
Original PR description
…ions The base template that `l10n_pe_edi` extends is changed requiring a modification in xpath expressions. [task-3067251](https://www.odoo.com/web#id=3067251&cids=1&menu_id=4720&action=4043&model=project.task&view_type=form) Retarget of https://github.com/odoo/enterprise/pull/34457 Related: https://github.com/odoo/odoo/pull/106692
Miscellaneous changes
Steps: - Go to runbot -> login with "demo" user(or any user without admin rights) - change the company to any other company than "My Company (San Francisco)". For example, change it to "My Belgian Company". - Go to Rentals -> create a rental order -> add a product -> confirm it -> click on pickup -> validate it -> Access Error (see the video for more clarity) Video: https://drive.google.com/file/d/1gCN9wruI6XcpqYe4QyAkN3gm0_SMBJyO/view?usp=share_link Issue: It raises access error
Original PR description
Steps: - Go to runbot -> login with "demo" user(or any user without admin rights) - change the company to any other company than "My Company (San Francisco)". For example, change it to "My Belgian Company". - Go to Rentals -> create a rental order -> add a product -> confirm it -> click on pickup -> validate it -> Access Error (see the video for more clarity) Video: https://drive.google.com/file/d/1gCN9wruI6XcpqYe4QyAkN3gm0_SMBJyO/view?usp=share_link Issue: It raises access error as the non-admin users don't have access rights to modify company records. fix: When browsing through the company records in "_create_rental_location" method if we use sudo, it won't raise the access rights error. I confirm I have signed the CLA and read the PR guidelines at [www.odoo.com/submit-pr](http://www.odoo.com/submit-pr) Forward-Port-Of: odoo/enterprise#34433
This fixes an issue where customer rating smiley icons could appear missing or invisible in Helpdesk rating emails. The email template now keeps the correct image size so recipients can clearly see and use the rating options.
Original PR description
Currently, when rating mail is sent from rating template rating smiley on the mail are not displayed to an insufficient height of the content. so in this commit, add the height same as project rating template to display the rating smiley in the mail task-2720325
Have a form arch with a buttonBox (`<div class="oe_button_box" />`) already present. To make the bug more visually salient, the first button of the buttonBox should be invisible. Before this commit, the hook to add a button to the box was invisible. This was because that hook was placed inside the first slot, after the first button. After this commit, it is placed in the first slot of the box and should be rendered anyway. opw-3076683 Forward-Port-Of: odoo/enterprise#34202
Original PR description
Have a form arch with a buttonBox (`<div class="oe_button_box" />`) already present. To make the bug more visually salient, the first button of the buttonBox should be invisible. Before this commit, the hook to add a button to the box was invisible. This was because that hook was placed inside the first slot, after the first button. After this commit, it is placed in the first slot of the box and should be rendered anyway. opw-3076683 Forward-Port-Of: odoo/enterprise#34202