From ca78cda0050a683e2e53806c96c94b8758255d23 Mon Sep 17 00:00:00 2001 From: "Amit Patel (OpenERP)" Date: Thu, 21 Jun 2012 17:55:21 +0530 Subject: [PATCH] [IMP]:improved view in new style bzr revid: apa@tinyerp.com-20120621122521-nzmpz0npgmd7yci6 --- addons/mrp_repair/mrp_repair.py | 2 +- addons/mrp_repair/mrp_repair_view.xml | 14 +++++++++----- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/addons/mrp_repair/mrp_repair.py b/addons/mrp_repair/mrp_repair.py index 2c3caaf7f24..c960c8c617f 100644 --- a/addons/mrp_repair/mrp_repair.py +++ b/addons/mrp_repair/mrp_repair.py @@ -644,7 +644,7 @@ class mrp_repair_line(osv.osv, ProductChangeMixin): 'price_unit': fields.float('Unit Price', required=True, digits_compute= dp.get_precision('Sale Price')), 'price_subtotal': fields.function(_amount_line, string='Subtotal',digits_compute= dp.get_precision('Sale Price')), 'tax_id': fields.many2many('account.tax', 'repair_operation_line_tax', 'repair_operation_line_id', 'tax_id', 'Taxes'), - 'product_uom_qty': fields.float('Quantity (Unit of Measure)', digits=(16,2), required=True), + 'product_uom_qty': fields.float('Quantity', digits=(16,2), required=True), 'product_uom': fields.many2one('product.uom', 'Product Unit of Measure', required=True), 'prodlot_id': fields.many2one('stock.production.lot', 'Lot Number',domain="[('product_id','=',product_id)]"), 'invoice_line_id': fields.many2one('account.invoice.line', 'Invoice Line', readonly=True), diff --git a/addons/mrp_repair/mrp_repair_view.xml b/addons/mrp_repair/mrp_repair_view.xml index 9243240ef91..8c99ab3c63c 100644 --- a/addons/mrp_repair/mrp_repair_view.xml +++ b/addons/mrp_repair/mrp_repair_view.xml @@ -177,11 +177,15 @@ - - - - - + + + + + + + + +