[FIX] purchase: correct fifo test

Oversight of previous forward-port.
This commit is contained in:
Christophe Simonis
2017-01-02 15:07:14 +01:00
parent 81f59cee2c
commit c08a590bb1
+2 -2
View File
@@ -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
-