I would like to calculate product qty using a product.product funciton _product_available to calculate the qty between two date 
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
- Müşteri İlişkileri Yönetimi
- e-Commerce
- Muhasebe
- Envanter
- PoS
- Project
- MRP
Bu soru işaretlendi
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 ?
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 ?
--
Rachid
Sent by Odoo S.A. using Odoo access your messages
--
I mean can we know the qty of product come from a location to a location in a specific date or hours
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Ol| İlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
|---|---|---|---|---|
|  | 1 Ağu 19  | 3138 | ||
|  | 3 Ağu 24  | 2603 | ||
|  | 0 Oca 22  | 2835 | ||
|  | 0 Ağu 21  | 2611 | ||
| 
            
                How to update product Quantity?
            
            
                    Çözüldü
            
         |  | 1 Mar 16  | 6854 | 
