Odoo 도움말


2 응답
klacus Hungary
14. 8. 20. 오전 5:47


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



Quentin THEURET France
14. 8. 20. 오전 5:44

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.

Keep Informed
1 팔로워
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