231
234
wf_service.trg_validate(uid, 'procurement.order', new_proc_id, 'button_check', cr)
232
235
# if original po line is confirmed, we action_confirm new line
233
236
if obj.order_line_id_kit_selection.state == 'confirmed':
234
238
new_po_ids = pol_obj.search(cr, uid, [('procurement_id', '=', new_proc_id)], context=context)
235
239
pol_obj.action_confirm(cr, uid, new_po_ids, context=context)