[IMP] account_followup: use the new signal_xxx methods instead of trg_validate.
bzr revid: vmt@openerp.com-20130128120147-oj7pvl2015x4764v
This commit is contained in:
@@ -44,8 +44,7 @@ class TestAccountFollowup(TransactionCase):
|
||||
'quantity': 5,
|
||||
'price_unit':200
|
||||
})]})
|
||||
wf_service = netsvc.LocalService("workflow")
|
||||
wf_service.trg_validate(uid, 'account.invoice', self.invoice_id, 'invoice_open', cr)
|
||||
self.registry('account.invoice').signal_invoice_open(cr, uid, [self.invoice_id])
|
||||
|
||||
self.voucher = self.registry("account.voucher")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user