Saturday, October 19, 2019
3 changes · master
Resolved issues and error corrections
This fix prevents Ponto bank account connections from failing when an account description is missing or blank. The system now uses a default journal name when needed, improving reliability during setup or synchronization.
Original PR description
[FIX] account_ponto: default value for account.online.journal name
In some case, the description of the account received by Ponto exists in the dict
values but the value is None or an empty character. However this is used for the
name field of account.online.journal which is required. The fix is to move the default
value outside the .get('description').
Forward-Port-Of: odoo/enterprise#5988UPS delivery error messages shown during website checkout are now included in translation files. This means customers using another language, such as French, can see these delivery provider errors in their selected language instead of English.
Original PR description
[FIX] delivery_ups: error messages not translated - Install the website. - Install the UPS connector and publish it for Belgium, with random config. - Set the language of the user to French. - Set a weight for a product. - Go to the website and put that product in your cart. - At the delivery phase, select UPS Belgium. Before this commit: the following message in english appears: "Access License number is invalid for this delivery provider". After this commit: This message is in the POT file, and, if translated in French, appears in French on the website. OPW: 2078195 Forward-Port-Of: odoo/enterprise#6028
Duplicated customer invoices in the Mexican electronic invoicing module now correctly recalculate and keep the payment due date. This prevents validated duplicate invoices from ending up with an empty due date, improving billing accuracy and reducing manual corrections.
Original PR description
[FIX] l10n_mx_edi: Date due empty on invoice duplicated Avoid that the date due in the invoice is empty when is duplicated. In the next case: 1. Create a new customer invoice with payment term ``30 Days`` 2. Validate it 3. Duplicate the invoice In this case, in the new invoice, when is validated the date due is empty. To fix this now is called the ``_onchange_invoice_date()`` like Odoo makes when is assigned the invoice date [here](https://github.com/odoo/odoo/blob/13.0/addons/account/models/account_move.py#L2038) Forward-Port-Of: odoo/enterprise#6037