Skip to content

Commit

Permalink
[REVERT] point_of_sale: change back to a write() to change company cu…
Browse files Browse the repository at this point in the history
…rrency

This test being run during install, thih does not provoque any problems
as no CoA are already installed.

This partially revert commit b116214
  • Loading branch information
KangOl committed Apr 6, 2018
1 parent 2591297 commit 00ef138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/point_of_sale/tests/test_frontend.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def test_01_pos_basic_order(self):
# euro's. this will cause issues as the sales journal is in
# USD, because of this all products would have a different
# price
cr.execute("UPDATE res_company SET currency_id = %s WHERE id = %s", [env.ref('base.USD').id, main_company.id])
main_company.currency_id = env.ref('base.USD')

test_sale_journal = journal_obj.create({'name': 'Sales Journal - Test',
'code': 'TSJ',
Expand Down

0 comments on commit 00ef138

Please sign in to comment.