Fix unit test when pay invoice in different currency

bzr revid: ced-c25385926f730e745a9937fab7ad2721b260ee55
This commit is contained in:
ced
2007-08-23 14:07:01 +00:00
parent 5a73f7ab59
commit eb2d8e08b9
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -102,9 +102,9 @@
<value eval="ref('account.cash')" />
<value eval="ref('account.period_' + str(int(time.strftime('%m'))))" />
<value eval="ref('account.bank_journal')" />
<value eval="False" />
<value eval="ref('account.cash')" />
<value eval="ref('account.period_' + str(int(time.strftime('%m'))))" />
<value eval="False" />
<value eval="ref('account.bank_journal')" />
</function>
<assert model="purchase.order" id="test_purchase_1" string="Test purchase's invoice is now paid" severity="error">
+2 -2
View File
@@ -71,9 +71,9 @@
<value eval="ref('account.cash')" />
<value eval="ref('account.period_' + str(int(time.strftime('%m'))))" />
<value eval="ref('account.bank_journal')" />
<value eval="False" />
<value eval="ref('account.cash')" />
<value eval="ref('account.period_' + str(int(time.strftime('%m'))))" />
<value eval="False" />
<value eval="ref('account.bank_journal')" />
</function>
<assert model="sale.order" id="test_order_1" string="Test order 1's invoice is now paid" severity="fatal">