Saturday, August 17, 2024
3 changes · saas-17.2
Miscellaneous changes
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
**Steps to reproduce:** (Require credentials) - Install l10n_eg_edi_eta - Switch to an Egyptian company - Configure the Egyption localization - Create an invoice and post it to ETA - Go to ETA portal and reject the invoice - From invoice in Odoo, request EDI cancellation **Issue:** The following error is displayed: { 'code': 'ValidationError', 'message': None, 'target': 'Update Document Status', 'details': [{ 'code': None, 'target': 'Document.UUID
Original PR description
**Steps to reproduce:** (Require credentials)
- Install l10n_eg_edi_eta
- Switch to an Egyptian company
- Configure the Egyption localization
- Create an invoice and post it to ETA
- Go to ETA portal and reject the invoice
- From invoice in Odoo, request EDI cancellation
**Issue:**
The following error is displayed:
{
'code': 'ValidationError',
'message': None,
'target': 'Update Document Status',
'details': [{
'code': None,
'target': 'Document.UUID',
'message': 'Provided Status is invalid, based on the current document status.'
}]
}
**Solution:**
Before cancelling an invoice, check submission status.
If it's cancelled or rejected, do not send the cancellation EDI request and responds to the method with a success.
opw-3884519
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Forward-Port-Of: odoo/odoo#170406**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