[FIX] delivery: fix test
Once again, related to commit 0e881fcd3a
opw-1837132
This commit is contained in:
committed by
Nicolas Martinelli
parent
37a901c061
commit
9e5c1f68a5
@@ -31,7 +31,9 @@ class TestDeliveryCost(common.TransactionCase):
|
||||
self.free_delivery = self.env.ref('delivery.free_delivery_carrier')
|
||||
# as the tests hereunder assume all the prices in USD, we must ensure
|
||||
# that the company actually uses USD
|
||||
self.env.user.company_id.write({'currency_id': self.env.ref('base.USD').id})
|
||||
self.env.cr.execute(
|
||||
"UPDATE res_company SET currency_id = %s WHERE id = %s",
|
||||
[self.env.ref('base.USD').id, self.env.user.company_id.id])
|
||||
|
||||
def test_00_delivery_cost(self):
|
||||
# In order to test Carrier Cost
|
||||
|
||||
Reference in New Issue
Block a user