[15.0][16.0] account_move_name_sequence: Error to delete journal entry
RodrigoBM opened this issue · 2 comments
RodrigoBM commented
Module
Account Move Number Sequence (technical name: account_move_name_sequence).
Describe the bug
When deleting an journal entry, which is associated to a journal with a sequence configured with standard implementation, it gives a code error.
To Reproduce
Affected versions:
Steps to reproduce the behavior:
V16:
- Change in the sequence associated with the journal Bank (Accounting --> Configuration --> Journal --> Bank --> Entry Sequence)
- Implementation to Standar
- Prefix to BANK/%(range_year)s/
- Record payment of an invoice associated with the Bank journal. (Accounting --> Customers --> Invoices (any posted) --> Register Payment --> Create payment (Journal: Bank))
- Delete the journal entry associated with the payment. (Accounting --> Journal Entries --> Search "Bank/" --> Open any --> Reset to draft --> Action --> Delete)
- Ger error
Expected behavior
Delete the journal entry
Additional context
Error in found in both v15 and v16
moylop260 commented
Thank you for taking care about
The PR related to 16.0 will be merged soon
Question, Do you have planned to create the PR for 15.0?