Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Quantity available after future stock moves

on 4/17/13, 1:44 PM 1,694 views

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 ?



| 2 1 4
Buenos Aires, Argentina

Python developer, big fan of sailing

On 4/17/13, 2:44 PM

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

on 4/17/13, 6:11 PM

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

iMaugis, Julius
on 4/18/13, 10:31 AM

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

on 4/18/13, 10:43 AM

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

iMaugis, Julius
on 4/18/13, 11:27 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)


Asked: 4/17/13, 1:44 PM
Seen: 1694 times
Last updated: 3/16/15, 8:10 AM