Tuesday, April 2, 2024
16 changes · master
Enhancements to existing features
The SEPA Direct Debit payment setup screens were updated to align with recent payment app changes. Configuration sections and message fields that are no longer managed this way are now hidden, reducing clutter and keeping the setup experience consistent.
Original PR description
Following the removal of explicit view configuration fields and the _compute_view_configuration_fields method in the payment module, this commit updates the payment_sepa_direct_debit module using xpaths to hide : - `credentials` page - `allow_tokenization` fields - `pre_msg` fields - `done_msg` fields - `cancel_msg` fields task-3679393 See odoo/odoo#152517 See odoo/upgrade#5667 See odoo/documentation#7686
Resolved issues and error corrections
Miscellaneous changes
…when opening journal statements When opening journal, a check is done to update the bank sync state It is not possible to update the state without accounting manager access rights Introducing a skip for non account managers to allow opening the journal. Furthermore, non-managers can't see the online sync anyway so we don't update it until a manager opens the journal. opw-3800147 Forward-Port-Of: odoo/enterprise#59706
Original PR description
…when opening journal statements When opening journal, a check is done to update the bank sync state It is not possible to update the state without accounting manager access rights Introducing a skip for non account managers to allow opening the journal. Furthermore, non-managers can't see the online sync anyway so we don't update it until a manager opens the journal. opw-3800147 Forward-Port-Of: odoo/enterprise#59706
This change corrects spreadsheet dashboard and template files where pivot function names had been renamed unnecessarily or incorrectly. It helps keep dashboards working as expected while relying on the existing client-side upgrade process to handle function name updates automatically.
Original PR description
Partial revert of a6d2b0dc in which pivot functions were renamed. However, some were badly renamed in dashboard json files. It turns out we didn't even had to rename the functions in json files as the (client-side) upgrade script already takes care of that. Task: 3837323
Spreadsheet formulas now handle empty cells more consistently by storing them as empty values instead of text. This reduces the risk of incorrect formula behavior and makes spreadsheet data processing more reliable.
Original PR description
In previous commits we were able to change the structure of the formula evaluation payload so that the structure corresponds to the structure of an evaluated cell. This change greatly simplifies the reading of data from a cell when a formula need it. However, the data read from the cells is in some cases modified before being used by the formulas: This is particularly the case for empty cells which are saved as an empty string value, while the value is transformed into null during evaluation. This commit corrects this by directly recording the null value on empty cells. Task: 3685074
Expect value for test without demo data wasn't changed in this PR :odoo/enterprise#50794 Fixed with this commit. task: 3837296 Forward-Port-Of: odoo/enterprise#59659
Original PR description
Expect value for test without demo data wasn't changed in this PR :odoo/enterprise#50794 Fixed with this commit. task: 3837296 Forward-Port-Of: odoo/enterprise#59659
When trying to import a bill that sometimes did not had TasaOCuota attribute. This resulted in a crash of a failed float parse Now when this happens, a message in the chatter is created and the tax_id is ignored task:3777664 Forward-Port-Of: odoo/enterprise#59572 Forward-Port-Of: odoo/enterprise#58812
Original PR description
When trying to import a bill that sometimes did not had TasaOCuota attribute. This resulted in a crash of a failed float parse Now when this happens, a message in the chatter is created and the tax_id is ignored task:3777664 Forward-Port-Of: odoo/enterprise#59572 Forward-Port-Of: odoo/enterprise#58812
Input type and salary attachment type should match the rule name task-3835119 Forward-Port-Of: odoo/enterprise#59616 Forward-Port-Of: odoo/enterprise#59569
Original PR description
Input type and salary attachment type should match the rule name task-3835119 Forward-Port-Of: odoo/enterprise#59616 Forward-Port-Of: odoo/enterprise#59569
With an Ecuador company setup Create a bill adding: - Ecuador partner - Bill Date - Document Number (ex. 001-001-123456789) - Payment Method - a bill line with tax "12% 510 01" Post the bill Hit 'Add witholding' In the witholding widget: - Add a line with tax "10% WH" - Add a second line with tax "10% WH" Issue: second line base amount will be same as first, while it should use the remaining withholding base amount opw-3763838 Forward-Port-Of: odoo/enterprise#57605
Original PR description
With an Ecuador company setup Create a bill adding: - Ecuador partner - Bill Date - Document Number (ex. 001-001-123456789) - Payment Method - a bill line with tax "12% 510 01" Post the bill Hit 'Add witholding' In the witholding widget: - Add a line with tax "10% WH" - Add a second line with tax "10% WH" Issue: second line base amount will be same as first, while it should use the remaining withholding base amount opw-3763838 Forward-Port-Of: odoo/enterprise#57605
* With no demo data, the current user does not have a timezone set. As the default value of appointment_tz is based on that, it leads to an error. We now set manually the appointment_tz for the appointment type created. * Remove the use of demo data (Mitchell Admin and Joe Willis) for test tour. Forward-Port-Of: odoo/enterprise#59739
Original PR description
* With no demo data, the current user does not have a timezone set. As the default value of appointment_tz is based on that, it leads to an error. We now set manually the appointment_tz for the appointment type created. * Remove the use of demo data (Mitchell Admin and Joe Willis) for test tour. Forward-Port-Of: odoo/enterprise#59739
In [1], dropdowns were updated and it impacted the properties field edition: - the field type images in dark mode were not properly colored anymore (too dark). This commit fixes the issue by adding a class on the field type selection popover. [1]: https://github.com/odoo/odoo/commit/7b7a2613901de20791d111a8efc8e98c226f39ad task-3834506 Forward-Port-Of: odoo/enterprise#59566
Original PR description
In [1], dropdowns were updated and it impacted the properties field edition: - the field type images in dark mode were not properly colored anymore (too dark). This commit fixes the issue by adding a class on the field type selection popover. [1]: https://github.com/odoo/odoo/commit/7b7a2613901de20791d111a8efc8e98c226f39ad task-3834506 Forward-Port-Of: odoo/enterprise#59566
This ensures the Balance Sheet is balanced. taskid: 3060790 Forward-Port-Of: odoo/enterprise#59140
Original PR description
This ensures the Balance Sheet is balanced. taskid: 3060790 Forward-Port-Of: odoo/enterprise#59140
- saas-16.3 ### Steps to reproduce: -install the project and timesheet app. -open the project app, create a project, and add a task to it. -add a timesheet a week before from current date in the created task. -now open the timesheet app in grid view. -the created project and task are in italic font. -the last letter of the project and task is slightly cut. ### Issue: The last letter of the string is slightly cut in grid view. ### Cause: The dedicated space allowed for normal t
Original PR description
- saas-16.3 ### Steps to reproduce: -install the project and timesheet app. -open the project app, create a project, and add a task to it. -add a timesheet a week before from current date in the created task. -now open the timesheet app in grid view. -the created project and task are in italic font. -the last letter of the project and task is slightly cut. ### Issue: The last letter of the string is slightly cut in grid view. ### Cause: The dedicated space allowed for normal text is not sufficient for the Italic so the last letter was slightly cut. ### Solution: Provide enough space for italic string. Task-3749072 Forward-Port-Of: odoo/enterprise#59802 Forward-Port-Of: odoo/enterprise#57000
Before this commit, scanning a source location then update a product's line by pressing the +1 qty button will update the quant's location. The issue is: we can't edit source of an existing quant. How to reproduce: - Activate storage locations settings; - Oo to Inventory > Opterations > Physical Inventory; - Select all lines and press "Request a count" assigned to mitchel admin; - Go to Barcode in Inventory Adjustments; - Scan shelf1 (barcode is 2601892); - Click on existing line from
Original PR description
Before this commit, scanning a source location then update a product's line by pressing the +1 qty button will update the quant's location. The issue is: we can't edit source of an existing quant. How to reproduce: - Activate storage locations settings; - Oo to Inventory > Opterations > Physical Inventory; - Select all lines and press "Request a count" assigned to mitchel admin; - Go to Barcode in Inventory Adjustments; - Scan shelf1 (barcode is 2601892); - Click on existing line from WH/Stock then press +1 :arrow_right: The line's location is updated to Shelf 1, it shouldn't happen. OPW-3792605 Forward-Port-Of: odoo/enterprise#59483 Forward-Port-Of: odoo/enterprise#58427
Planning improvement: - Notify the user when no match is found while using auto plan from a shift. Steps: ----------- - Install planning - Create employee and set role - Open Planning Gantt - Create a new shift - Click on the auto plan issue: ------- dict is returned without value. {'open_shift_assigned': []} task-3774045 Forward-Port-Of: odoo/enterprise#59717 Forward-Port-Of: odoo/enterprise#58046
Original PR description
Planning improvement:
- Notify the user when no match is found while using auto plan from a shift.
Steps:
-----------
- Install planning
- Create employee and set role
- Open Planning Gantt
- Create a new shift
- Click on the auto plan
issue:
-------
dict is returned without value.
{'open_shift_assigned': []}
task-3774045
Forward-Port-Of: odoo/enterprise#59717
Forward-Port-Of: odoo/enterprise#58046### Steps to reproduce * install `l10n_mx_edi` * switch to a Mexican company * create a down payment from a sales order * confirm and print the down payment We expect the down payment line to have the UNSPSC code 84111506, but we get 01010101 instead. Additionally, the Unit Code for down payments should be "ACT" ### Cause Down payments aren't products anymore, so we don't have access to their `unspsc_code_id` property. opw-3821724 Forward-Port-Of: odoo/enterprise#59334
Original PR description
### Steps to reproduce * install `l10n_mx_edi` * switch to a Mexican company * create a down payment from a sales order * confirm and print the down payment We expect the down payment line to have the UNSPSC code 84111506, but we get 01010101 instead. Additionally, the Unit Code for down payments should be "ACT" ### Cause Down payments aren't products anymore, so we don't have access to their `unspsc_code_id` property. opw-3821724 Forward-Port-Of: odoo/enterprise#59334
Steps to reproduce: - Set up DHL shipping - Create Sale order add dhl shipping and validate the delivery Fix: set the correct shipper and receiver referrence opw-3775347 Forward-Port-Of: odoo/enterprise#59716 Forward-Port-Of: odoo/enterprise#59627
Original PR description
Steps to reproduce: - Set up DHL shipping - Create Sale order add dhl shipping and validate the delivery Fix: set the correct shipper and receiver referrence opw-3775347 Forward-Port-Of: odoo/enterprise#59716 Forward-Port-Of: odoo/enterprise#59627