← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 813238] Re: Property fields does not replicated when login with another company's user or change the company from user preference

 

Hello Kevin,

I think my explanation was not good enough ! Well I will give another
explanation which hopefully should help you out to figure out how the
property fields are dealt in OpenERP.

Here customer and the fields (payment term, delivery method are property
fields) both depends on the company_id of the user(his main company to
which he belongs) that is logged in and there value will be returned
based on the the rule defined on these object. By default the rule on
ir.property object is
['|',('company_id','=',user.company_id.id),('company_id','=',False)]
which means only return those properties if the company_id of the
property is users.comany_id or the company_id of the property is False.
In short the per-company filtering is in fact implemented by the ir.rule
records that are applied on the ir.property object. So as per your
example the company to which Auckland belongs does not have any property
associated and hence you are not able to view them. You need to create
property for those companies too.

I hope this could help you out !

Correct me if I am missing something !

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

Title:
  Property fields does not replicated when login with another company's
  user or change the company from user preference

Status in OpenERP Server:
  Incomplete

Bug description:
  When I create a partner in a multicompany environment and leave the company filed blank, the same partner is available for all companies.
  However, the following fields are not being replicated to the other instances:
   - customer payment term - this is set up by company so may not be possible, but is linked to problem that you cannot make group payments at present.
   - payment term - this should be there as not company specific
   - delivery method - should be there

  Thanks

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


References