Tuesday, September 17, 2024
5 changes · master
Resolved issues and error corrections
Mexican electronic payment cancellation now lets users choose the cancellation reason directly from the payment or invoice flow. This fixes cases where a payment must be cancelled and replaced, helping businesses comply with CFDI rules while recording the replacement payment reference.
Original PR description
Add a wizard to choose the cancellation reason on the payment view and add a new cancellation reason. As before only the "02" was supported, now the "01" is supported too, with the possibility to add the new payment which replace the one you cancel. linked:https://github.com/odoo/odoo/pull/175015 task-3894308
The accounting dashboard no longer shows separate expense-related warnings that duplicate information already covered by vendor bill alerts. Bill payment counts are also corrected so items ready or excepted for payment appear as bills to pay, while overdue items appear as late bills.
Original PR description
This commit remove the warnings we have on the accounting dashboard, as the journals entries are already included in the vendor bills warnings. task:3877069 odoo : https://github.com/odoo/odoo/pull/169820 upgrade : https://github.com/odoo/upgrade/pull/6283
This fixes cases where the editor could save an incorrect text selection while background page changes were still being processed. It helps prevent future undo or editing issues when opening overlays, using the table picker, or pressing Enter/space in edited content.
Original PR description
Before this commit, stageSelection could update the currentStep selection with mutations (‘add’, ‘remove’ and ‘characterData’) in progress. We should not have this type of mutations in the currentStep before staging the selection or the selection could be wrong when reverting that step in the future. When staging the selection, we shouldn't have any ‘attributes’ mutations either. Unfortunately, this is too common at the moment, so we've chosen to ignore them in this commit as they should not generate bugs. Before this commit, 3 related bugs have been found: 1) When an overlay was opened 2) When the table picker was opened (a temporary node was added for technical reasons). 3) When you press ‘enter’ or ‘ ’, the code call `normalise` without `ADD_STEP`. Our solution is to move this code so that it takes place at beforeInput and the mutations are added in the ‘enter’ or ‘ ’ step.
This fix prevents payment details from being edited after a point-of-sale order has been printed. It helps keep printed receipts and registered sales records consistent for Belgian blackbox and Swedish POS localization workflows.
Original PR description
Before this commit, it was possible to edit the payment lines of a printed order. This commit disables the editing of payment lines for printed orders. taskId: 4178904
Restaurant point-of-sale orders created while offline are now sent to the server when the connection returns. The update also prevents an error when staff access appointment bookings from the point of sale, improving reliability during daily operations.
Original PR description
Before orders created when offline were not synced to the server when the POS was back online. Also creating a fix for pos_restaurant_appointment. Traceback was raised when trying to access booking from PoS