[7.0] wrong partner id in move lines with res_partner_affiliate

Bug #1151764 reported by Frederic Clementi - Camptocamp
8
This bug affects 1 person
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_affiliate

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

Revision history for this message
Yannick Vaucher @ Camptocamp (yvaucher-c2c) wrote :

This test must be done again after the changes made by Olivier Dony in official branches for partner and contact

Changed in partner-contact-management:
status: New → Incomplete
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
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.