diff options
| author | Jagdish Panchal (Open ERP) <jap@tinyerp.com> | 2012-04-25 16:59:50 +0530 |
|---|---|---|
| committer | Jagdish Panchal (Open ERP) <jap@tinyerp.com> | 2012-04-25 16:59:50 +0530 |
| commit | e54af9838e2d80c8becc462b99b8e190d2ae0f4b (patch) | |
| tree | 1b920bd970d23f3984f7ac71beeaf06576a9c4a0 /addons/procurement | |
| parent | 427ea2633477faf240deebfddb6b4cda0a4ad021 (diff) | |
[IMP] Product,procurement: rename UOM to Unit of Measure everywhere
bzr revid: jap@tinyerp.com-20120425112950-vkru89laterdbx5m
Diffstat (limited to 'addons/procurement')
| -rw-r--r-- | addons/procurement/procurement.py | 6 | ||||
| -rw-r--r-- | addons/procurement/procurement_view.xml | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/addons/procurement/procurement.py b/addons/procurement/procurement.py index 164314c4573..013cf63b433 100644 --- a/addons/procurement/procurement.py +++ b/addons/procurement/procurement.py @@ -91,8 +91,8 @@ class procurement_order(osv.osv): 'date_planned': fields.datetime('Scheduled date', required=True, select=True), 'date_close': fields.datetime('Date Closed'), 'product_id': fields.many2one('product.product', 'Product', required=True, states={'draft':[('readonly',False)]}, readonly=True), - 'product_qty': fields.float('Quantity', digits_compute=dp.get_precision('Product UoM'), required=True, states={'draft':[('readonly',False)]}, readonly=True), - 'product_uom': fields.many2one('product.uom', 'Product UoM', required=True, states={'draft':[('readonly',False)]}, readonly=True), + 'product_qty': fields.float('Quantity', digits_compute=dp.get_precision('Product Unit of Measure'), required=True, states={'draft':[('readonly',False)]}, readonly=True), + 'product_uom': fields.many2one('product.uom', 'Product Unit of Measure', required=True, states={'draft':[('readonly',False)]}, readonly=True), 'product_uos_qty': fields.float('UoS Quantity', states={'draft':[('readonly',False)]}, readonly=True), 'product_uos': fields.many2one('product.uom', 'Product UoS', states={'draft':[('readonly',False)]}, readonly=True), 'move_id': fields.many2one('stock.move', 'Reservation', ondelete='set null'), @@ -510,7 +510,7 @@ class stock_warehouse_orderpoint(osv.osv): 'warehouse_id': fields.many2one('stock.warehouse', 'Warehouse', required=True, ondelete="cascade"), 'location_id': fields.many2one('stock.location', 'Location', required=True, ondelete="cascade"), 'product_id': fields.many2one('product.product', 'Product', required=True, ondelete='cascade', domain=[('type','=','product')]), - 'product_uom': fields.many2one('product.uom', 'Product UOM', required=True), + 'product_uom': fields.many2one('product.uom', 'Product Unit of Measure', required=True), 'product_min_qty': fields.float('Min Quantity', required=True, help="When the virtual stock goes below the Min Quantity specified for this field, OpenERP generates "\ "a procurement to bring the virtual stock to the Max Quantity."), diff --git a/addons/procurement/procurement_view.xml b/addons/procurement/procurement_view.xml index 6ce26ecb98c..64b094e3260 100644 --- a/addons/procurement/procurement_view.xml +++ b/addons/procurement/procurement_view.xml @@ -16,7 +16,7 @@ <field name="origin"/> <field name="product_id"/> <field name="product_qty"/> - <field name="product_uom" string="UOM"/> + <field name="product_uom" string="Unit of Measure"/> <field name="procure_method"/> <field name="state"/> <field name="message"/> @@ -35,7 +35,7 @@ <field name="origin"/> <field name="product_id"/> <field name="product_qty"/> - <field name="product_uom" string="UOM"/> + <field name="product_uom" string="Unit of Measure"/> <field name="state" invisible = "1"/> <field name="message"/> </tree> |
