跳至内容
菜单
此问题已终结
1 回复
7099 查看

On a product, with the more button you can access the view of future stock moves. Related to my last question ( https://accounts.openerp.com/forum/Help-1/question/12031/ ), is it possible to easily add a field which would compute the quantity on hand left after future stock moves ?

形象
丢弃
最佳答案

Yes it is possible and easy to do. Actually I already did that for a client. I am checking with the client if sharing the module with the community is possible.

形象
丢弃

This is the module I created, you can find it on github https://github.com/morrillo/sale_order_stock.git

编写者

Thank you ! I give it a try and will give you feedback.

keep in mind the module is for openERP 6.1, have not tried it in OpenERP 7.0

编写者

Ok i tried it in v7, it works like a charm after modifying the xpath expression in the view (i put <xpath expr="//field[@name='order_line']/tree//field[@name='price_unit']" position="before"> to make it work)

But what i need is the same info for each "Future Stock Moves" of a product. That way a seller can give to his customer the earlier date for a delivery by knowing precisely his virtual stock day by day. I'm gonna try to adapt your module for this purpose.

For a screenshot of the view => http://tof.canardpc.com/view/f3c4196f-4cff-4f46-89af-34dcfd0f7e56.jpg

相关帖文 回复 查看 活动
1
3月 15
10335
2
7月 17
6213
1
3月 15
4303
0
3月 15
6038
1
3月 22
8258