← Back to team overview

openerp-india team mailing list archive

[Bug 890305] Re: PO, stock location must be of current company

 

IMHO record rules nee to be
 ['|','|',('company_id.child_ids','child_of',[user.company_id.id]),('company_id','child_of',[user.company_id.id]),('company_id','=',False)]

instead of

['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]

for stock location

-- 
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/890305

Title:
  PO, stock location must be of current company

Status in OpenERP Addons (modules):
  New

Bug description:
  PO (trunk-web) must not allow to choose locations from other companies
  (not in multi company mode)

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


References