openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #26956
[Bug 1262598] [NEW] [7.0] code anomaly in stock_move.check_assign
Public bug reported:
Hello,
it seems there is a code anomaly in the method stock_move.check_assign.
In this method, to set the product_uos_qty the method onchange_quantity
is called with ids. The code anomaly is the use of ids instead of
[move.id]. We compute product_uos_qty one by one, so it is better to set
the id of the current move as parameter to avoid multiple warning
message of non-concerning move.
This mistake make the override of onchange_quantity difficult, because
the link between the move and the product is impossible to find in case
of many move line with same product.
Thank for your help.
Laetitia
** Affects: openobject-addons
Importance: Undecided
Status: New
--
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/1262598
Title:
[7.0] code anomaly in stock_move.check_assign
Status in OpenERP Addons (modules):
New
Bug description:
Hello,
it seems there is a code anomaly in the method
stock_move.check_assign.
In this method, to set the product_uos_qty the method
onchange_quantity is called with ids. The code anomaly is the use of
ids instead of [move.id]. We compute product_uos_qty one by one, so it
is better to set the id of the current move as parameter to avoid
multiple warning message of non-concerning move.
This mistake make the override of onchange_quantity difficult, because
the link between the move and the product is impossible to find in
case of many move line with same product.
Thank for your help.
Laetitia
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1262598/+subscriptions
Follow ups
References