You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Company S (supplier) is selling to Company C (customer)
When posting an inter-company customer invoice in Company S, the corresponding supplier bill is created in Company C
Now, creating a full refund in Company S, nothing appears in Company C
To Reproduce
16.0:
Steps to reproduce the behavior:
On runboat, install and configure account_invoice_inter_company
Create a customer invoice in My Company (Chicago) for My Company (San Francisco) and post
Click on Add credit note from the invoice and select "Full refund" in the wizard
Validate
Expected behavior
In My Company (San Francisco) we should have a supplier Refund corresponding to the credit note
Additional context
I think this is due to the native Odoo method _reverse_moves calling directly _post
Module
account_invoice_inter_company
Describe the bug
Company S (supplier) is selling to Company C (customer)
When posting an inter-company customer invoice in Company S, the corresponding supplier bill is created in Company C
Now, creating a full refund in Company S, nothing appears in Company C
To Reproduce
16.0:
Steps to reproduce the behavior:
Expected behavior
In My Company (San Francisco) we should have a supplier Refund corresponding to the credit note
Additional context
I think this is due to the native Odoo method _reverse_moves calling directly _post
https://github.com/odoo/odoo/blob/e862e3f7b52f322389dea16666d6e495e6f75aaf/addons/account/models/account_move.py#L3464
But account_invoice_inter_company is overriding action_post
The text was updated successfully, but these errors were encountered: