Saturday, August 17, 2024
3 changes · saas-17.4
Miscellaneous changes
**Steps to reproduce:** - Install Accounting, l10n_eu_oss and l10n_es_edi_tbai - Switch to a Spanish company (e.g. ES Company) - Create an invoice for a Portugese customer: * Customer: [a Portugese customer] * Invoice Lines: [a line with OSS tax "23.0% PT VAT (Goods)"] - Confirm the invoice - Process the invoice by E-invoicing service: TicketBAI (ES) - Check the generated EDI document **Issue:** The value of "ClaveRegimenIvaOpTrascendencia" is "01". It should be "17" for OSS oper
Original PR description
**Steps to reproduce:** - Install Accounting, l10n_eu_oss and l10n_es_edi_tbai - Switch to a Spanish company (e.g. ES Company) - Create an invoice for a Portugese customer: * Customer: [a Portugese customer] * Invoice Lines: [a line with OSS tax "23.0% PT VAT (Goods)"] - Confirm the invoice - Process the invoice by E-invoicing service: TicketBAI (ES) - Check the generated EDI document **Issue:** The value of "ClaveRegimenIvaOpTrascendencia" is "01". It should be "17" for OSS operations. **Solution:** Check if a tax from "l10n_eu_oss" module is used in one of the invoice lines. If it is the case, set "ClaveRegimenIvaOpTrascendencia" to "17". opw-4034659 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#176780 Forward-Port-Of: odoo/odoo#176564
Issue ----- When setting a "Counted Quantity" of 0 in the inventory adjustment, the difference would incorrectly stay as 0. Steps ----- 1. Inventory > Operations > Physical Inventory. 2. Set the "Counted Quantity" of a line where it is not set to 0. -> The difference stays at 0. Cause ----- The widget was previously relying on an onchange being triggered even if the actual value wasn't changed in input fields. This beahviour was modified by https://github.com/odoo/odoo/commit/dc
Original PR description
Issue ----- When setting a "Counted Quantity" of 0 in the inventory adjustment, the difference would incorrectly stay as 0. Steps ----- 1. Inventory > Operations > Physical Inventory. 2. Set the "Counted Quantity" of a line where it is not set to 0. -> The difference stays at 0. Cause ----- The widget was previously relying on an onchange being triggered even if the actual value wasn't changed in input fields. This beahviour was modified by https://github.com/odoo/odoo/commit/dcba2a87b7ab15b357d57c410868f19e829a8db0. https://github.com/odoo/odoo/blob/69de944b95a9790548b239f3bf05ba48eda2efef/addons/web/static/src/views/fields/input_field_hook.js#L74 Since then, changing the value from 0.00 to 0 won't trigger the onchange and the difference won't be computed. Change ----- Update the record on blur, in the same way it is already done on keydown. opw-4064858 opw-4063994 Forward-Port-Of: odoo/odoo#175680
Automatically close the print dialog after the user confirms the print job. This enhancement improves user experience by eliminating the need for users to manually close the dialog, streamlining the printing process. Initially, we considered keeping the modal open until all print operations completed successfully. If any printer encountered an error, the modal would remain open. However, this approach doesn't assist users in resolving the issue, as they would still need to close the modal to
Original PR description
Automatically close the print dialog after the user confirms the print job. This enhancement improves user experience by eliminating the need for users to manually close the dialog, streamlining the printing process. Initially, we considered keeping the modal open until all print operations completed successfully. If any printer encountered an error, the modal would remain open. However, this approach doesn't assist users in resolving the issue, as they would still need to close the modal to correct the problem. Therefore, it is more user-friendly to automatically close the modal after user confirmation. https://github.com/user-attachments/assets/659d971e-25c8-487f-8c02-cf0f5461a920 Forward-Port-Of: odoo/enterprise#68256 Forward-Port-Of: odoo/enterprise#68195