Daily updates from Odoo
Wednesday, August 28, 2019
4 changes
Resolved issues and error corrections
Notifications are now kept available long enough for inactive browser tabs to receive them. This prevents users from missing real-time updates when they have multiple Odoo tabs open and some are running in the background.
Original PR description
Before this commit, some notifications may be lost while forwarding them between browser tabs by means of the local storage, from the master tab to slave tabs. This happens when some slave tabs are in the background and throttled by the browser. In that case, the master tab may overwrite notifications in the local storage while throttled slave tabs did not have the time to read previous notifications. This commit fixes the issue by ensuring that at least 10 seconds of notifications are forwarded between tabs. Task-ID 2044231
This change updates internal automated tests for the Mexican electronic invoicing module. It helps maintain reliability around tax, trade, invoice cancellation, and payment scenarios without changing day-to-day user workflows.
Original PR description
It is still WIP. cc @luistorresm @nhomar
This fixes cancellations of Mexican electronic invoices when the original signing certificate has expired and a newer valid certificate is available. Businesses can now cancel previously signed invoices using the current valid certificate, avoiding failed cancellation attempts after certificate renewal.
Original PR description
In the next case: 1. Configure the company certificates 2. Create and sign a customer invoice After this, the certificates for the company expire, and the SAT provide a new certificates. 3. Try cancel the invoice in step 2, that was signed with the expired certificates. In this case, the CFDI must be cancelled with the new records, then is not necessary save the Certificate used to sign an CFDI because when try to cancel is necessary get the certificate valid.
This fix restores the ability to generate Mexican electronic payment complements by using the current payment data source in Odoo. It also adds a way to identify invoice payments where the expected payment link is no longer available, helping keep local invoicing compliant and operational.
Original PR description
- Now the method `_get_payments_vals` not exist on the invoice, on Odoo is used `_get_reconciled_info_JSON_values` to get the json with the payments data. - In Odoo not exists the field payment_ids in the invoice, for this reason was added a new method to get that payments. (Maybe that method must be added in Odoo)