[FW][FIX] l10n_latam_invoice_document: sequence draft vendor bill #723
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ticket: 55058
Task: 899 en latam y 28337 en adhoc
Description of the issue/feature this PR addresses:
On Runbot Odoo enterprise v15.0 install l10n_ar_edi module (Argentina Electronic Invoicing).
Select and work on "(AR) Responsable Inscripto" Company.
Go to Accounting > Vendor > Bills.
Create a Vendor bill with vendor "ADHOC SA", document number 1-5 (this is an example), and save.
Try to delete de bill, a see the sequence problem. "User Error: You cannot delete this entry, as it has already consumed a sequence number and is not the last one in the chain. You should probably revert it instead."
Current behavior before PR:
Can't delete draft vendor bill situated in a company from l10n_ar localization.
Desired behavior after PR is merged:
Is possible to delete draft vendor bills situated in a company from l10n_ar localization.
Forward-Port-Of: #717