Monday, March 14, 2022
12 changes
Resolved issues and error corrections
This update fixes unstable automated tests in the Documents Spreadsheet Bundle area. It helps ensure test results are consistent, reducing false failures and improving confidence in future releases.
Original PR description
Runbot id 3415
The app switcher icon has been visually refined so its borders look smoother and its angles render more consistently. This small fix improves the polish of the navigation experience without changing how users interact with the system.
Original PR description
Smooth borders and adjust transform-properties to avoid sharp and irregular angles. task-2791234
This update refreshes the spreadsheet component used in Documents to include the latest fixes. It corrects a clipboard issue so that inserting a row within a cut selection properly clears the pending cut action, reducing the risk of unexpected spreadsheet edits.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/9d034c4b [FIX] clipboard:Adding row inside cut area clear clipboard
Miscellaneous changes
1) Insert a list in spreadsheet 2) Add a formula with a field name which is not in the columns => Cell is in error, the value is not fetched. This commit fixes this behavior by fetching the requested value. Forward-Port-Of: odoo/enterprise#25264
Original PR description
1) Insert a list in spreadsheet 2) Add a formula with a field name which is not in the columns => Cell is in error, the value is not fetched. This commit fixes this behavior by fetching the requested value. Forward-Port-Of: odoo/enterprise#25264
Add a test for the fix created in this PR : https://github.com/odoo/enterprise/pull/23905 opw-2741484 Forward-Port-Of: odoo/enterprise#25043 Forward-Port-Of: odoo/enterprise#24615
Original PR description
Add a test for the fix created in this PR : https://github.com/odoo/enterprise/pull/23905 opw-2741484 Forward-Port-Of: odoo/enterprise#25043 Forward-Port-Of: odoo/enterprise#24615
Before the PR: if the partner does not have an activity description it raises a UserError, ignoring if there is a commercial_partner linked to the partner with those values. After the PR: Even if the partner has no activity or emails it creates the XML using commercial_partner values. Also, the email is sent to the partner_id DTE email or commercial_partner DTE email This PR replaces #24119. The commit [35f3231](https://github.com/odoo/enterprise/pull/24368/commits/35f3231b79db800
Original PR description
Before the PR: if the partner does not have an activity description it raises a UserError, ignoring if there is a commercial_partner linked to the partner with those values. After the PR: Even if the partner has no activity or emails it creates the XML using commercial_partner values. Also, the email is sent to the partner_id DTE email or commercial_partner DTE email This PR replaces #24119. The commit [35f3231](https://github.com/odoo/enterprise/pull/24368/commits/35f3231b79db80084c1bbdcb5d67c268c4dd2a90) only fixes the merge present in the original PR, which was forward ported from #23143 Forward-Port-Of: odoo/enterprise#24368
Forward-Port-Of: odoo/enterprise#25078
Original PR description
Forward-Port-Of: odoo/enterprise#25078
As the module `account_predictive_bills` can modify the taxes on the line while the OCR is editing the total of the line, it could lead to inconsistencies between what was detected and what was encoded. The better way to do this is to let it do its prediction before modifying the total of the line. Forward-Port-Of: odoo/enterprise#25087 Forward-Port-Of: odoo/enterprise#25048
Original PR description
As the module `account_predictive_bills` can modify the taxes on the line while the OCR is editing the total of the line, it could lead to inconsistencies between what was detected and what was encoded. The better way to do this is to let it do its prediction before modifying the total of the line. Forward-Port-Of: odoo/enterprise#25087 Forward-Port-Of: odoo/enterprise#25048
Step to reproduce: - When in an single company env - activate Traceability Lots & Serial Number - create a helpdesk ticket with a product traced by serial number - Create a serial number on the spot Current behaviour: - Traceback - Company is not shown and set to false Behaviour after PR: - Default company is set in context - No Traceback opw-2779824 Forward-Port-Of: odoo/enterprise#25092
Original PR description
Step to reproduce: - When in an single company env - activate Traceability Lots & Serial Number - create a helpdesk ticket with a product traced by serial number - Create a serial number on the spot Current behaviour: - Traceback - Company is not shown and set to false Behaviour after PR: - Default company is set in context - No Traceback opw-2779824 Forward-Port-Of: odoo/enterprise#25092
Due to this typo, the t-if was not 'evaluated' and visible for all. The output html was: ` <div class='...' if='env.user.has_group('appointment.group_calendar_manager')'> ` no task Forward-Port-Of: odoo/enterprise#23963
Original PR description
Due to this typo, the t-if was not 'evaluated' and visible for all. The output html was: ` <div class='...' if='env.user.has_group('appointment.group_calendar_manager')'> ` no task Forward-Port-Of: odoo/enterprise#23963
Steps : Create and confirm a Subscription : > Date of Next Invoice : in 2 months Create an Alert : > Action : Mark as To Renew > Trigger On : Timed Condition > Trigger Date : Date of Next Invoice > Delay After Trigger : -1 Month Setting this delay means that the cron action will be processed one month before the set date. Click on Trigger Now and come back to your Subscription. Issue : It is marked as To Renew. Cause : The method 'run_cron_manually', called when clicking o
Original PR description
Steps : Create and confirm a Subscription : > Date of Next Invoice : in 2 months Create an Alert : > Action : Mark as To Renew > Trigger On : Timed Condition > Trigger Date : Date of Next Invoice > Delay After Trigger : -1 Month Setting this delay means that the cron action will be processed one month before the set date. Click on Trigger Now and come back to your Subscription. Issue : It is marked as To Renew. Cause : The method 'run_cron_manually', called when clicking on Trigger Now, calls 'run' in base_automation, which doesn't take these action fields into account. Fix : Call 'check', which will result in calling 'run' after checking it. opw-2755474 Forward-Port-Of: odoo/enterprise#25111
**Steps to follow** - Open studio in a form view - Add a binary field - Save the changes -> The filename is now displayed **Cause of the issue** The following xml is generated ```xml <group> <field filename="x_studio_file_1_filename" name="x_studio_file_1" string="File 1"> <field invisible="1" name="x_studio_file_1_filename"/> </field> </group> ``` It should be ```xml <group> <field filename="x_studio_file_1_filename" name="x
Original PR description
**Steps to follow**
- Open studio in a form view
- Add a binary field
- Save the changes
-> The filename is now displayed
**Cause of the issue**
The following xml is generated
```xml
<group>
<field filename="x_studio_file_1_filename" name="x_studio_file_1" string="File 1">
<field invisible="1" name="x_studio_file_1_filename"/>
</field>
</group>
```
It should be
```xml
<group>
<field filename="x_studio_file_1_filename" name="x_studio_file_1" string="File 1"/>
<field invisible="1" name="x_studio_file_1_filename"/>
</group>
```
opw-2767051
Forward-Port-Of: odoo/enterprise#25210
Forward-Port-Of: odoo/enterprise#25104