Skip to content

[18.0][FIX] account_banking_sepa_direct_debit: generation of 'Instruction Identification' and 'End to End Identification' #1475

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 18.0
Choose a base branch
from

Conversation

alexis-via
Copy link
Contributor

BEFORE
sdd_bug

AFTER
fix_sdd

In Odoo v18, a draft account.payment don't have a move_id. So payment.move_id.id is False when generating the payment file (the account.payment are confirmed when going from 'generated' to 'uploaded'). So we can't use payment.move_id.id to generate 'Instruction Identification' and 'End to End Identification' in the generation of the SEPA XML file.

BTW, I don't think using the ID of the move or the ID of the account.payment in the identification tags of the SEPA XML file is a good practise... but that's another story. This change was introduced by the move to account.payment.

I found this bug while working on OCA/bank-payment-alternative... I'll fix it there too.

…dentification' and 'End to End Identification'

In Odoo v18, a draft account.payment don't have a move_id. So
payment.move_id.id is False when generating the payment file (the
account.payment are confirmed when going from 'generated' to
'uploaded'). So we can't use payment.move_id.id to generate 'Instruction Identification'
and 'End to End Identification' in the generation of the SEPA XML file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant