[IMP] remove extra changes

bzr revid: rma@tinyerp.com-20130904094542-9jvq742bhcrf6frp
This commit is contained in:
Randhir Mayatra (OpenERP)
2013-09-04 15:15:42 +05:30
parent fe150c4115
commit 1de64720e5
4 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -256,7 +256,7 @@
<para style="P16">[[ o.product_id.name or '' ]]</para>
</td>
<td>
<para style="P16">[[ ' ' ]]</para>, <!-- TODO: NO prodlot_id on mrp_repair anymore, Once move_id will be replaced with quant_id everywhere this will fetch lot like o.quant_id.move_id.name -->
<para style="P16">[[ o.prodlot_id.name or ' ' ]]</para>
</td>
<td>
<para style="P16">[[ formatLang(o.guarantee_limit,date = True) ]]</para>
+1
View File
@@ -714,6 +714,7 @@ class pos_order(osv.osv):
'company_id': order.company_id.id,
'move_type': 'direct',
'note': order.note or "",
'invoice_state': 'none',
}, context=context)
self.write(cr, uid, [order.id], {'picking_id': picking_id}, context=context)
location_id = picking_type.default_location_src_id.id
+1
View File
@@ -672,6 +672,7 @@ class purchase_order(osv.osv):
'origin': order.name + ((order.origin and (':' + order.origin)) or ''),
'date': self.date_to_datetime(cr, uid, order.date_order, context),
'partner_id': order.dest_address_id.id or order.partner_id.id,
'invoice_state': '2binvoiced' if order.invoice_method == 'picking' else 'none',
'partner_id': order.dest_address_id.id or order.partner_id.id,
'purchase_id': order.id,
'company_id': order.company_id.id,
@@ -6,6 +6,7 @@
-
!record {model: stock.picking, id: stock_picking_out0}:
partner_id: base.res_partner_address_22
invoice_state: 2binvoiced
move_lines:
- company_id: base.main_company
location_id: stock.stock_location_stock