diff options
| author | Christophe Simonis <chs@odoo.com> | 2017-01-02 15:07:14 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2017-01-02 15:07:14 +0100 |
| commit | c08a590bb1b8177e505bfca64d14765e58ea0ef4 (patch) | |
| tree | 54fab5503d8e75aee66ec943dbd473f4d158521a /addons | |
| parent | 81f59cee2cea76fe40cef9913382c0259bf38512 (diff) | |
[FIX] purchase: correct fifo test
Oversight of previous forward-port.
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/purchase/test/fifo_price.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/purchase/test/fifo_price.yml b/addons/purchase/test/fifo_price.yml index 0ea720b4e38..29a6fea4e08 100644 --- a/addons/purchase/test/fifo_price.yml +++ b/addons/purchase/test/fifo_price.yml @@ -2,8 +2,8 @@ Set the company currency as EURO for the sake of repeatibility - !python {model: res.company}: | - company = self.browse(cr, uid, ref('base.main_company')) - company.currency_id = company.env['res.currency'].browse(ref('base.EUR')) + company = self.env.ref('base.main_company') + company.currency_id = self.env.ref('base.EUR') - Set a product as using fifo price - |
