c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #34649
[Bug 873166] [NEW] Multi-company - can't count stock location product values
Public bug reported:
Two company: A, B.
If A and B are not related companies (no child relation), then when you want to select stock location with A (e.g. making stock move) it gives error that you can't read product.template records. But before that you need to have B company stock moves.
Main problem comes from stock _product_value function in the
stock.location class. There are SQL queries in the stock.py #L121, #L123
lines where nobody check if product belongs to user company or other
relation.
OpenERP v6.0.3 addons rev. 4883
** Affects: openobject-addons
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/873166
Title:
Multi-company - can't count stock location product values
Status in OpenERP Addons (modules):
New
Bug description:
Two company: A, B.
If A and B are not related companies (no child relation), then when you want to select stock location with A (e.g. making stock move) it gives error that you can't read product.template records. But before that you need to have B company stock moves.
Main problem comes from stock _product_value function in the
stock.location class. There are SQL queries in the stock.py #L121,
#L123 lines where nobody check if product belongs to user company or
other relation.
OpenERP v6.0.3 addons rev. 4883
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/873166/+subscriptions
Follow ups
References