-
-
Notifications
You must be signed in to change notification settings - Fork 768
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
[14.0, 15.0] account_move_name_sequence error with credit note on supplier bill #1501
Labels
Comments
remi-filament
changed the title
[14.0] account_move_name_sequence error with credit note on supplier bill
[14.0, 15.0] account_move_name_sequence error with credit note on supplier bill
Nov 22, 2022
Hi @alexis-via @moylop260 I am not sure how to properly handle this issue, if you have any idea, let me know I could try to propose a PR accordingly ! Thanks ! |
Could you test the fix, please? |
RodrigoBM
added a commit
to factorlibre/account-financial-tools
that referenced
this issue
Dec 2, 2022
RodrigoBM
added a commit
to factorlibre/account-financial-tools
that referenced
this issue
Dec 2, 2022
RodrigoBM
added a commit
to factorlibre/account-financial-tools
that referenced
this issue
Dec 2, 2022
RodrigoBM
added a commit
to factorlibre/account-financial-tools
that referenced
this issue
Dec 8, 2022
andreagidaltig
pushed a commit
to vauxoo-dev/account-financial-tools
that referenced
this issue
Sep 30, 2023
andreagidaltig
pushed a commit
to vauxoo-dev/account-financial-tools
that referenced
this issue
Oct 9, 2023
andreagidaltig
pushed a commit
to vauxoo-dev/account-financial-tools
that referenced
this issue
Oct 9, 2023
moitabenfdz
pushed a commit
to DynAppsNV/account-financial-tools
that referenced
this issue
Nov 13, 2023
keylor2906
pushed a commit
to vauxoo-dev/account-financial-tools
that referenced
this issue
Dec 5, 2023
cormaza
pushed a commit
to cormaza/account-financial-reporting
that referenced
this issue
Jun 2, 2024
…supplier_reference method same issue OCA/account-financial-tools#1501 this fix not working for v16 OCA/account-financial-tools#1514
BertVGroenendael
pushed a commit
to DynAppsNV/account-financial-tools
that referenced
this issue
Oct 16, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Module
account_move_name_sequence
Describe the bug
When creating a credit note on supplier bill, the following validation error is raised :
To Reproduce
Affected versions: 14.0, 15.0
Steps to reproduce the behavior:
Expected behavior
Supplier bill should be properly reversed.
Additional context
It took me a while to figure out why this happened only on vendor bills (not on customer invoices) and only when using this reversal wizard, not when posting a proper vendor bill (otherwise it would have been spotted before !).
It seems that the issue is linked to the flushing of account_move fields in account_move _check_duplicate_supplier_reference() function here : https://github.com/odoo/odoo/blob/17a182fb3ee652a8a52654c5707c0ed265404630/addons/account/models/account_move.py#L1798-L1801
Because of new constraint added on account_move from account_move_name_sequence here, this raises the reported ValidationError.
The text was updated successfully, but these errors were encountered: