[FIX-695338] fix assert tag in currency rate.
bzr revid: ysa@tinyerp.com-20111229123413-vba5v6etaf1vrh74
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user