Tuesday, December 17, 2024
2 changes · 18.0
Enhancements to existing features
Draft accounting documents no longer consume official sequence numbers before confirmation, preventing numbering gaps or out-of-order records when users confirm documents later. Users may see a dynamic placeholder preview for the first expected number, while the final number is only assigned once the document is confirmed.
Original PR description
*: account_payments, l10n_ar, l10n_cl, l10n_in_edi, l10n_in_edi_ewaybill, l10n_it_edi, l10n_latam_invoice_document, payment_asiapay --- Description of the issue this commit addresses: When there is…
*: account_payments, l10n_ar, l10n_cl, l10n_in_edi, l10n_in_edi_ewaybill, l10n_it_edi, l10n_latam_invoice_document, payment_asiapay --- Description of the issue this commit addresses: When there is no move in the current sequence, the moves you create take a slot in the sequence while being drafts, this means that if you do not confirm moves in the order they were created, the second move to be confirmed has a lower sequence number than the first which breaks continuity. --- Desired behavior after this commit is merged: This commit makes it so that no sequence number is ever assigned while the move stays in draft. A dynamic placeholder shows the user what the name will be with the sequence "template" but it is only used once the move is confirmed. For subsequent moves, meaning when a first sequence number has been consumed, the old behavior of showing "Draft" as a name stands but there is still no sequence number consumed. --- Enterprise PR: https://github.com/odoo/enterprise/pull/73837 task-4241510 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The batch Send & Print preview now shows how many invoices will also be sent through the default electronic invoicing process. This helps users understand all actions that will happen before confirming a batch send, reducing confusion and surprises.
Original PR description
Problem --------- The Send&Print has been reworked in 9e769e1b11f22890e5245859053bc8dd31e42634. However, there is currently no information about which EDIs are going to be triggered along side the sending of the invoice; meaning that the user will not know that the EDI process will be executed too, which is confusing. Objective --------- Add to the preview of the list of stuff to be sent in batch the amount of invoices that will be sent using the default EDI. Solution --------- Update the `summary_data` computation to encompass for EDI counting adding the results to the dictionary that will be displayed by the batch Send&Print custom JS Component and custom template. task-4306204 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr