2011-05-07 17:57:14 |
Ferdinand |
bug |
|
|
added bug |
2011-05-07 17:57:14 |
Ferdinand |
attachment added |
|
stock.py.20110507a.patch https://bugs.launchpad.net/bugs/779145/+attachment/2118643/+files/stock.py.20110507a.patch |
|
2011-06-03 09:41:34 |
Amit Parik |
openobject-addons: status |
New |
Incomplete |
|
2011-06-06 14:13:59 |
Olivier Dony (Odoo) |
summary |
stock move - price_unit missing for avg price and not "IN" |
[stock] store price_unit for all stock moves, and use it for suggesting return picking values |
|
2011-06-06 14:29:23 |
Olivier Dony (Odoo) |
description |
to be able to calculate the stock value for every point in time for avg price and real time
obviously for accounting purpose real time we must have
account_balance == stock values
and must be able to proove it
if (pick.type != 'in') and (move.product_id.cost_method == 'average'):
if all stock moves have the price_unit field set:
qty * price_unit= move_value
and sum(+/- move_value)
enables to calculated the total stock value per product in every point of time matching the account balance
a little step further will be to calculated the average price per stock_location and lot |
In OpenERP 6.0 stock.move has a price_unit field for storing the unit cost price of
the products, but this field only has a value for incoming pickings on products with
average price (because it is used by the picking wizard in that case).
We should change the stock module to make sure the unit price is always written in
that field, also in the other cases (we must also preserve the current behavior for
incoming pickings, which means we should store the value that was set by the user
in the picking wizard, not always the current average price.).
Finally, we should use this price_unit column to suggest a cost price when doing a
return picking. We should suggest the price_unit value of the stock moves we are
returning, instead of suggesting the current product price, as previously discussed
in bug 613286. The tooltip should also be updated, etc.
======= (original description below) =======
to be able to calculate the stock value for every point in time for avg price and real time
obviously for accounting purpose real time we must have
account_balance == stock values
and must be able to proove it
if (pick.type != 'in') and (move.product_id.cost_method == 'average'):
if all stock moves have the price_unit field set:
qty * price_unit= move_value
and sum(+/- move_value)
enables to calculated the total stock value per product in every point of time matching the account balance
a little step further will be to calculated the average price per stock_location and lot |
|
2011-06-06 14:29:48 |
Olivier Dony (Odoo) |
description |
In OpenERP 6.0 stock.move has a price_unit field for storing the unit cost price of
the products, but this field only has a value for incoming pickings on products with
average price (because it is used by the picking wizard in that case).
We should change the stock module to make sure the unit price is always written in
that field, also in the other cases (we must also preserve the current behavior for
incoming pickings, which means we should store the value that was set by the user
in the picking wizard, not always the current average price.).
Finally, we should use this price_unit column to suggest a cost price when doing a
return picking. We should suggest the price_unit value of the stock moves we are
returning, instead of suggesting the current product price, as previously discussed
in bug 613286. The tooltip should also be updated, etc.
======= (original description below) =======
to be able to calculate the stock value for every point in time for avg price and real time
obviously for accounting purpose real time we must have
account_balance == stock values
and must be able to proove it
if (pick.type != 'in') and (move.product_id.cost_method == 'average'):
if all stock moves have the price_unit field set:
qty * price_unit= move_value
and sum(+/- move_value)
enables to calculated the total stock value per product in every point of time matching the account balance
a little step further will be to calculated the average price per stock_location and lot |
In OpenERP 6.0 stock.move has a price_unit field for storing the unit cost price of the products, but this field only has a value for incoming pickings on products with average price (because it is used by the picking wizard in that case).
We should change the stock module to make sure the unit price is always written in that field, also in the other cases (we must also preserve the current behavior for
incoming pickings, which means we should store the value that was set by the user in the picking wizard, not always the current average price.).
Finally, we should use this price_unit column to suggest a cost price when doing a return picking. We should suggest the price_unit value of the stock moves we are
returning, instead of suggesting the current product price, as previously discussed in bug 613286. The tooltip should also be updated, etc.
======= (original description below) =======
to be able to calculate the stock value for every point in time for avg price and real time
obviously for accounting purpose real time we must have
account_balance == stock values
and must be able to proove it
if (pick.type != 'in') and (move.product_id.cost_method == 'average'):
if all stock moves have the price_unit field set:
qty * price_unit= move_value
and sum(+/- move_value)
enables to calculated the total stock value per product in every point of time matching the account balance
a little step further will be to calculated the average price per stock_location and lot |
|
2011-06-06 14:30:55 |
Olivier Dony (Odoo) |
openobject-addons: importance |
Undecided |
Low |
|
2011-06-06 14:30:55 |
Olivier Dony (Odoo) |
openobject-addons: status |
Incomplete |
Confirmed |
|
2011-06-06 14:30:55 |
Olivier Dony (Odoo) |
openobject-addons: milestone |
|
6.1 |
|
2011-06-06 14:30:55 |
Olivier Dony (Odoo) |
openobject-addons: assignee |
|
OpenERP R&D Addons Team 2 (openerp-dev-addons2) |
|
2011-06-17 04:48:01 |
Rohan Nayani(Open ERP) |
openobject-addons: status |
Confirmed |
In Progress |
|
2011-06-21 09:28:20 |
Launchpad Janitor |
branch linked |
|
lp:~openerp-dev/openobject-addons/trunk-bug-779145-ron |
|
2011-06-21 09:36:07 |
Rohan Nayani(Open ERP) |
openobject-addons: status |
In Progress |
Fix Committed |
|
2011-06-21 11:20:52 |
Ferdinand |
openobject-addons: status |
Fix Committed |
New |
|
2011-06-27 11:17:36 |
Rohan Nayani(Open ERP) |
openobject-addons: status |
New |
Fix Committed |
|
2011-09-27 15:37:13 |
Fabien (Open ERP) |
openobject-addons: importance |
Low |
Wishlist |
|
2011-09-27 15:47:23 |
Launchpad Janitor |
branch linked |
|
lp:openobject-addons |
|
2011-09-28 13:08:22 |
Dmitri |
bug |
|
|
added subscriber Dmitri |
2011-11-28 22:22:44 |
Mihai Satmarean |
bug |
|
|
added subscriber Mihai Satmarean |