← Back to team overview

openerp-india team mailing list archive

[Bug 1151900] Re: [trunk/v7.0] impossible to select a partner with a parent_id in bank statement line

 

** Tags added: bankstatement

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1151900

Title:
  [trunk/v7.0] impossible to select a partner with a parent_id in bank
  statement line

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  Hello,

  In the bank statement line, in the field partner there is a domain : parent_id = false OR is_company = true. 
  This domain is only a work around but it is a nonsense to have it here. 
  My problem is on accounting journal entries. 

  Here is my point :

  I have set a company A with a contact toto.
  (so Company A has no parent but is a company
  and toto has a parent but is not a company.)

  I can invoice toto and my journal entry is correct : by correct, I
  mean that the field 'partner' in the move line is the parent (ie :
  Company A (and not toto (Company A) since this has been already fixed
  last december).

  Now I receive the payment from toto and I want to post it through the bank statement.
  So, I create a new bank statement and I create a statement line for this payment.
  Problem : I cannot select (on the statement line) the partner toto because of the domain described above.

  I understand that this is a work around in order to force me to select
  Company A and, after I validate the bank statement I correctely see
  Company A in the partner field of the move line generated by the bank
  statement... but you will agree that the logic on invoice is different
  than on bank statement.

  Thanks

  Frederic 
  Camptocamp

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1151900/+subscriptions