Odoo Hilfe

0

0
1 Answer
1
Avatar

Niyas Raphy

--Niyas Raphy--
22559
| 7 7 11
Calicut, Indien
--Niyas Raphy--

Odoo Techno Functionalist

Feel free to connect :  niyasraphyk@gmail.com

Twitter:https://twitter.com/niyasraphy
LinkedIn: https://www.linkedin.com/in/niyasraphy/
FB:https://www.facebook.com/niyasraphy123

Happy to help :)

Niyas Raphy
06.05.19, 13:43

Hi,

In the context pass the date, rather than passing the warehouse if not necessary.

product.with_context({'to_date': date_val}).qty_available


If you check this menu and wizard, Inventory -> Reporting -> Inventory report, choose  At a specific date and click the button.



By checking the code of the button Retrieve Inventory Quantities you can see the sample.

Thanks

2 Comments
Usman Farzand
06.05.19, 14:04

warehouse also necessary .....

Niyas Raphy
06.05.19, 19:19

Then pass both values simultaneously in the context

Fragen Sie
Writer
Keep Informed
1 Verfolger
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