Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
How can i add draft po product quantity to product Incomming and daft sales order product quantity to product outgoing in odoo-7?
In opeerp-7 quantity wise product has four measurements "on hand" "incoming" "outgoing" "forcasted". The quatity of product which are there in sales confirmation (not delivered) add to "outgoing". The quatity of product which are there in purchase confirmation (not received) add to "incoming". These quatities added to incoming or outgoing after confirm the orders. I need the case like when i create draft sales order for p1 quantity=10, that quantity should add to outgoing. similarly in purcahse order, when i create draft purchase order for p1 quantity=10, that quantity should add to incoming. Does it possible in openerp?
I have try like this.
_product_outgoing_qty = _get_product_available_func(('confirmed','waiting','assigned','draft'), ('out',))
_product_incoming_qty = _get_product_available_func(('confirmed','waiting','assigned','draft'), ('in',))
Please observe the above code. I have added "draft state" to above two functions. But it's not helping me.
About This Community
This platform 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 12/8/14, 4:25 AM|
|Seen: 664 times|
|Last updated: 3/16/15, 8:10 AM|