[IMP] code optimize
bzr revid: rma@tinyerp.com-20130904095228-66c98cs8xe9qhkm4
This commit is contained in:
@@ -525,6 +525,7 @@ class mrp_repair(osv.osv):
|
||||
'move_type': 'one',
|
||||
'partner_id': repair.address_id and repair.address_id.id or False,
|
||||
'note': repair.internal_notes,
|
||||
'invoice_state': 'none',
|
||||
'picking_type_id': self.pool.get('ir.model.data').get_object(cr, uid, 'stock', 'picking_type_out', context=context).id
|
||||
})
|
||||
move_id = move_obj.create(cr, uid, {
|
||||
|
||||
@@ -256,7 +256,7 @@
|
||||
<para style="P16">[[ o.product_id.name or '' ]]</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="P16">[[ o.prodlot_id.name or ' ' ]]</para>
|
||||
<para style="P16">[[ o.prodlot_id.name or ' ' ]]</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="P16">[[ formatLang(o.guarantee_limit,date = True) ]]</para>
|
||||
|
||||
Reference in New Issue
Block a user