diff --git a/addons/purchase/test/fifo_price.yml b/addons/purchase/test/fifo_price.yml index 7be91bd1e3a..c0658c71eec 100644 --- a/addons/purchase/test/fifo_price.yml +++ b/addons/purchase/test/fifo_price.yml @@ -1,9 +1,3 @@ -- - Set the company currency as EURO for the sake of repeatibility -- - !python {model: res.company}: | - company = self.env.ref('base.main_company') - self.env.cr.execute("UPDATE res_company SET currency_id = %s WHERE id = %s", [self.env.ref("base.EUR").id, company.id]) - Set a product as using fifo price - @@ -369,4 +363,4 @@ original_out_move._fifo_vacuum() outgoing_shipment_fifo_icecream_neg2._fifo_vacuum() assert original_out_move.product_id.stock_value == 12000.0, 'Stock Value should be 12000' - assert original_out_move.product_id.qty_available == 150.0, 'Qty available should be 150' \ No newline at end of file + assert original_out_move.product_id.qty_available == 150.0, 'Qty available should be 150' diff --git a/addons/stock_dropshipping/test/lifo_price.yml b/addons/stock_dropshipping/test/lifo_price.yml index 9c3c5f4154e..bf5459a0495 100644 --- a/addons/stock_dropshipping/test/lifo_price.yml +++ b/addons/stock_dropshipping/test/lifo_price.yml @@ -1,9 +1,3 @@ -- - Set the company currency as EURO for the sake of repeatibility -- - !python {model: res.company, id: base.main_company}: | - self.env.cr.execute("UPDATE res_company SET currency_id = %s WHERE id = %s", [self.env.ref("base.EUR").id, self.id]) - - Set product category removal strategy as LIFO -