Odoo Help

Welcome!

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.

1

Deferense between product_uos_qty and product_qty in stock_move ?

By
Zouhair
on 8/20/14, 4:24 AM 1,782 views

hi,

which the difference between product_uos_qty and product_qty columns in stock_move table?

and what does it mean 'priority' column in the same table?

thx in advance.

1
klacus
On 8/20/14, 5:47 AM

Hi.

the field defs in stock.py

 

'product_uom': fields.many2one('product.uom', 'Unit of Measure', required=True,states={'done': [('readonly', True)]}), >> unit of measure value id of product_uom table

'product_uos_qty': fields.float('Quantity (UOS)', digits_compute=dp.get_precision('Product UoM'), states={'done': [('readonly', True)]}), >> product movement amount in UOS

'product_uos': fields.many2one('product.uom', 'Product UOS', states={'done': [('readonly', True)]}),

>> unit of sale value id from product_uom table

'priority': fields.selection([('0', 'Not urgent'), ('1', 'Urgent')], 'Priority'), >> may use by scheduler

 

 

1
Quentin THEURET
On 8/20/14, 5:44 AM

product_uos_qty is the quantity of product in the stock move in Unit of Sale.

product_qty is the qunatity of product in the stock move in product default UoM.

 

product_uos_qty is used to display on the invoice the same quantity than the quantity sold in the sale order in case of invoicing on delivery.

product_qty is used to compute the stock level of a product. The stock level is always computed in default product UoM.

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

1 follower(s)

Stats

Asked: 8/20/14, 4:24 AM
Seen: 1782 times
Last updated: 3/16/15, 8:10 AM