[BACKPORT] manual backport of fix for lp:541545 (http://bazaar.launchpad.net/~openerp/openobject-server/5.0/revision/chs@openerp.com-20100503080227-nrn21og1yd4bmy2l)
lp bug: https://launchpad.net/bugs/541545 fixed bzr revid: chs@openerp.com-20100531140512-610lbks7cnwa6m8w
This commit is contained in:
parent
ea3b439b5c
commit
74cf00b2fd
|
@ -74,6 +74,7 @@
|
|||
'test': [
|
||||
'test/base_test.xml',
|
||||
'test/test_context.xml',
|
||||
'bug_lp541545.xml',
|
||||
],
|
||||
'installable': True,
|
||||
'active': True,
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<!-- Test count attribute for assertions -->
|
||||
<data>
|
||||
<assert
|
||||
model="res.currency.rate"
|
||||
search="[('currency_id', '=', ref('INR'))]"
|
||||
count="3"
|
||||
string="Rate entries for Indian rupee">
|
||||
<test expr="True"/>
|
||||
</assert>
|
||||
</data>
|
||||
|
||||
</openerp>
|
Loading…
Reference in New Issue