[IMP]:improved view in new style
bzr revid: apa@tinyerp.com-20120621122521-nzmpz0npgmd7yci6
This commit is contained in:
parent
7dc14e5038
commit
ca78cda005
|
@ -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),
|
||||
|
|
|
@ -177,11 +177,15 @@
|
|||
</field>
|
||||
</page>
|
||||
<page string="Extra Info">
|
||||
<group col="2">
|
||||
<field name="picking_id"/>
|
||||
<field name="invoice_id"/>
|
||||
<field name="company_id" groups="base.group_multi_company" widget="selection"/>
|
||||
<field name="location_dest_id" attrs="{'readonly':[('deliver_bool','=', False)], 'required':[('deliver_bool','=', True)]}"/>
|
||||
<group col="4">
|
||||
<group col="2">
|
||||
<field name="picking_id"/>
|
||||
<field name="invoice_id"/>
|
||||
<field name="company_id" groups="base.group_multi_company" widget="selection"/>
|
||||
</group>
|
||||
<group col="2">
|
||||
<field name="location_dest_id" attrs="{'readonly':[('deliver_bool','=', False)], 'required':[('deliver_bool','=', True)]}"/>
|
||||
</group>
|
||||
</group>
|
||||
</page>
|
||||
<page string="Notes">
|
||||
|
|
Loading…
Reference in New Issue