[FIX-695338] fix assert tag in currency rate.

bzr revid: ysa@tinyerp.com-20111229123413-vba5v6etaf1vrh74
This commit is contained in:
Yogesh Sakhreliya
2011-12-29 18:04:13 +05:30
parent bc524902eb
commit 6112db95dd
+3 -3
View File
@@ -6,15 +6,15 @@
<!-- model="res.currency"-->
<!-- id="INR"-->
<!-- string="Indian rupee rate in 2009">-->
<!-- date specified in data element's context -->
<!-- date specified in data element's context -->
<!-- <test expr="str(rate)">65.8287</test>-->
<!-- </assert> -->
<assert
<assert
model="res.currency"
id="INR"
string="Indian rupee rate in 2002"
context="{'date': '2010-06-01'}">
<test expr="str(rate)">59.9739</test>
<test expr="rate_ids and str(rate_ids[0].rate)">59.9739</test>
</assert>
</data>
</openerp>