Daily updates from Odoo
Saturday, April 18, 2026
3 changes · 19.0
Resolved issues and error corrections
This update resolves a bug where the 'Update Payment' button remained visible after a batch payment was created for invoices under the Mexican CFDI tax regime. The fix corrects a comparison error in the code that incorrectly included all invoices in a batch payment, leading to the button's persistent display. This ensures the button only appears for the intended invoice updates.
Original PR description
- Create one invoice with the PUE payment policy. - Create another invoice with the PDD payment policy. - Send both invoices to the CFDI. - Create a batch payment for both and reconcile. - Click on Update Payment on one of the invoices. The Update Payment button does not disappear. In the method _l10n_mx_edi_cfdi_invoice_get_payments_diff, we compare the current UUIDs and the previous UUIDs to determine if the button should be shown. However, when there is a batch payment, the current UUID list includes the UUIDs of all invoices in the batch, including the PUE payment (which should normally be filtered out by the continue). The previous UUID list includes only the UUID of the PDD payment. opw-6055781
This update fixes a problem where selecting a company contact on the payment screen would cause an error. Now, the system checks for complete required fields before setting the order to invoice, ensuring smoother payment processing. This improves reliability and prevents data inconsistencies.
This update fixes a limitation in Odoo Studio where activity filters (past, today, future) weren't consistently available when email notifications (use_mail) were enabled. The change adds the necessary filters to the Studio search view, ensuring users can easily filter activities based on their timing, regardless of whether email notifications are active.
Original PR description
Steps to reproduce
==================
- Install studio
- Create a new app
- Create a new model
- Keep the Chatter toggled (use_mail)
- Exit studio
- Create three records, one with an activity in the past, one today and one in the future
- Click on the clock status icon in the top right
- There should be a section with the new model
- Click on 1 Late => every records is displayed
- Same for Today and Future
Cause of the issue
==================
https://github.com/odoo/odoo/blob/b6434b91a7f94075e1372ec827787504ef7aa4f0/addons/mail/static/src/core/web/activity_menu.js#L39-L77
For this feature to work, the activities_{overdue,today,upcoming_all} filter should be present
Solution
========
We add them to the search view. They are all pretty much implemented the same way in every model.
opw-6069150
Forward-Port-Of: odoo/enterprise#113792
Forward-Port-Of: odoo/enterprise#113011