← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 724174] Re: Inconsistency between partner company and invoice company

 

To elaborate further on Naresh's comment, the behavior described in this bug report does not strike me as inconsistent.
Albert, please correct us if we are missing something in your original bug description.

Here is the rationale:
OpenERP by default allows sharing partners with ancestor and child companies, because for most small companies this is a sensible default, which avoids a lot of Partner duplication.
Because OpenERP allows to share them, it means that you can of course use them in company-specific documents, such as invoices. There would be no sense in allowing to share them if you couldn't do that.
If this behavior is not desired, the default record rule (ir.rule) for Partners should be changed to only allow seeing company-local Partners, for example (as part of the recommended assessment of record rules when integrating a multi-company OpenERP system).

If you agree, please close the bug as Invalid, otherwise do not hesitate
to make it New again and provide additional details.

Thanks!

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/724174

Title:
  Inconsistency between partner company and invoice company

Status in OpenERP Server:
  Incomplete

Bug description:
  OpenERP v6:

  Given the following scenario: after database creation create two new
  companies (A and B) which have the initial company as parent.

  Create a customer and assign it to company A.

  If user is in group multi-user, she will be able to create an invoice
  selecting company B, but in the list of partners she will also be able
  to select the new partner even if it was assigned to company A. IMHO
  OpenERP should filter and ensure the partner is compatible with the
  company of the invoice.


References