Odoo Help


how to calculate product qty betwen two dates ?

on 6/30/15, 7:13 AM 760 views

I would like to calculate product qty using a product.product funciton _product_available to calculate the qty between two date

On 6/30/15, 1:00 PM

Hi, I think you can try after code: 

start_date = datetime.datetime.strptime(date_start, '%Y-%m-%d')

end_date = datetime.datetime.strptime(date_end, '%Y-%m-%d')

ctx = { 'to_date': end_date , 'from_date': start_date }

qty= self.pool.get('product.product').browse(cr, uid, product_id, ctx).qty_available

how to specify location_from and location_dest of movement ?

on 9/11/15, 7:53 AM

vvhat is the mean?

On Friday, September 11, 2015, Rachid <m3asmi-hotmail.com@mail.odoo.com> wrote:

how to specify location_from and location_dest of movement ?

Sent by Odoo S.A. using Odoo access your messages

Name : Vũ Minh Quân
Phone : 090 2077220
Skype : quanvm00

on 9/11/15, 7:55 AM

I mean can we know the qty of product come from a location to a location in a specific date or hours

on 9/12/15, 6:08 AM

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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 6/30/15, 7:13 AM
Seen: 760 times
Last updated: 9/12/15, 8:25 AM