[FIX] purchase: fix test to use 'purchase.config.settings' instead of the defunct 'purchase.config.wizard'
bzr revid: rco@openerp.com-20120404084258-kdnfri1jn2ba9edn
This commit is contained in:
parent
c1c34800a0
commit
c643a705a9
|
@ -21,7 +21,6 @@
|
|||
-
|
||||
I set the default invoicing control method "Based on Purchase Order Lines".
|
||||
-
|
||||
!python {model: purchase.config.wizard}: |
|
||||
new_id = self.create(cr ,uid, {'default_method': 'manual'})
|
||||
!python {model: purchase.config.settings}: |
|
||||
new_id = self.create(cr, uid, {'default_invoice_method': 'manual'})
|
||||
self.execute(cr, uid, [new_id])
|
||||
|
||||
|
|
Loading…
Reference in New Issue