248
254
reg('payment.order.create').create_payment(
249
255
cr, uid, [self.payment_order_create_id], context=context)
261
('move_line_id.invoice', '=', self.invoice_ids[0]),
262
('communication', '=', 'INV1'),
263
('state', '=', 'normal'),
270
('move_line_id.invoice', '=', self.invoice_ids[1]),
271
('communication', '=', 'STR2'),
272
('state', '=', 'structured'),
250
277
wf_service = netsvc.LocalService('workflow')
252
279
uid, 'payment.order', self.payment_order_id, 'open', cr)