diff options
| author | Raphael Collet <rco@openerp.com> | 2012-04-04 10:42:58 +0200 |
|---|---|---|
| committer | Raphael Collet <rco@openerp.com> | 2012-04-04 10:42:58 +0200 |
| commit | c643a705a9c2e4bb41e6cfe57e0890be671c170c (patch) | |
| tree | 194241f3bd931d5cd7e4053e10ea940cb80a4624 | |
| parent | c1c34800a0661e1063d398d403be812bbb026739 (diff) | |
[FIX] purchase: fix test to use 'purchase.config.settings' instead of the defunct 'purchase.config.wizard'
bzr revid: rco@openerp.com-20120404084258-kdnfri1jn2ba9edn
| -rw-r--r-- | addons/purchase/test/process/invoice_on_poline.yml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/addons/purchase/test/process/invoice_on_poline.yml b/addons/purchase/test/process/invoice_on_poline.yml index c2ad07aab95..1072a28f107 100644 --- a/addons/purchase/test/process/invoice_on_poline.yml +++ b/addons/purchase/test/process/invoice_on_poline.yml @@ -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]) - |
