c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #22265
[Bug 767270] Re: multi_company - switch company prohibited by Record Rules
** Attachment added: "multi_company1.png"
https://bugs.launchpad.net/bugs/767270/+attachment/2073919/+files/multi_company1.png
--
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/767270
Title:
multi_company - switch company prohibited by Record Rules
Status in OpenERP Modules (addons):
New
Bug description:
the first rule prohibits that user switches company.
what is enoying, the user can select any company defined but it gets quietly deleted by
....
if 'company_id' in values:
if not (values['company_id'] in self.read(cr, uid, uid, ['company_ids'], context=context)['company_ids']):
del values['company_id']
./base/res/res_security.xml:20: <field name="name">company
rule</field>
./base/security/base_security.xml:60: <field
name="name">Multi_company_default company</field>
IMHO there should be only ONE ...._security.xml to avoid confusion
found in
server 3404
References