openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #18552
[Bug 1083760] [NEW] major multi company issue - all search views return all data disregarding the res_user.company_id.id
Public bug reported:
Hello
this is in 6.1 and 7.0
setting up a multi company where users have access to multiple companies in all search views and other NON parent/child situations all matching records are returned regardless to which company they belong.
suggestion:
make cid available (like as uid)
and add
domain="['company_id', '=', cid ]
to all
account_id, journal_id, and others
the only workaround I see NOW is
either
to prefix the field name with a new company "code" field and modify all relevant name_get
or
to insert this prefix in all relevant name fields (what I will have to do now to allow users to visually select the correct records)
** Affects: openobject-addons
Importance: Undecided
Status: New
** Attachment added: "search_multi_company.png"
https://bugs.launchpad.net/bugs/1083760/+attachment/3445370/+files/search_multi_company.png
--
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/1083760
Title:
major multi company issue - all search views return all data
disregarding the res_user.company_id.id
Status in OpenERP Addons (modules):
New
Bug description:
Hello
this is in 6.1 and 7.0
setting up a multi company where users have access to multiple companies in all search views and other NON parent/child situations all matching records are returned regardless to which company they belong.
suggestion:
make cid available (like as uid)
and add
domain="['company_id', '=', cid ]
to all
account_id, journal_id, and others
the only workaround I see NOW is
either
to prefix the field name with a new company "code" field and modify all relevant name_get
or
to insert this prefix in all relevant name fields (what I will have to do now to allow users to visually select the correct records)
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1083760/+subscriptions
Follow ups
References