[7.0] wrong partner id in move lines with res_partner_affiliate
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Partner and Contact Management |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
starting form a fresh DB with basic accounting or demo data
install res_partner_
create customer A - check the box 'Is a company'
create customer AA with customer A as parent and check the box 'Is a company'
create the customer AAA with customer AA as parent
Invoice the customer AAA, validate the invoice and check out the accounting journal entry : the field partner on the move line is AAA (AA).
-> This is wrong as it will cause reconciliation problems with the payment... see the following :
Now pay this invoice :
create a bank statement
create a new statement ligne with the partner AA, and fill in the other fields as you like
validate the bank statement
check out journal entry
-> the partner on the journal entry is AA (A)
Conclusion : impossible the reconcile the payment with the invoice move lines on the customer account since the partner id is different.
Note that this issue does not exist with 1 level of parent partner.
Correction to do :
the partner on the invoice entry must be : AA
the partner on the payment entry must be : AA
so the name get has to be corrected
Frederic
Camptocamp
summary: |
- [7.0] wrong partner id in nove lines with res_partner_affiliate + [7.0] wrong partner id in move lines with res_partner_affiliate |
This test must be done again after the changes made by Olivier Dony in official branches for partner and contact