[IMP] account_voucher:improved strings
authormtr <mtr@mtr>
Fri, 5 Aug 2011 08:58:29 +0000 (14:28 +0530)
committermtr <mtr@mtr>
Fri, 5 Aug 2011 08:58:29 +0000 (14:28 +0530)
bzr revid: mtr@mtr-20110805085829-m6qhtwu26fky7y9h

addons/account_voucher/test/case1_usd_usd.yml
addons/account_voucher/test/case2_usd_eur.yml
addons/account_voucher/test/case3_eur_eur.yml
addons/account_voucher/test/case4_cad_chf.yml

index 123a446..dc7654a 100755 (executable)
@@ -1,5 +1,8 @@
 -
-  I create a currency rate for USD for january of 1.333333
+  In order to check the Account_voucher module with multi-currency in OpenERP, 
+  I create 2 Invoices in USD and make 2 Payments in USD based on the currency rating on that particular date
+-
+  I create currency USD in OpenERP for January of 1.333333 Rate
 -
   !python {model: res.currency.rate}: |
     from datetime import datetime
@@ -8,7 +11,7 @@
     ids = self.search(cr, uid, [('currency_id','=',curr_id), ('name', '=', date)])
     self.write(cr, uid, ids, {'rate': 1.333333})
 -
-  I create a currency rate for USD for february of 1.250000
+  I create currency USD in OpenERP for February of 1.250000 Rate
 -
   !record {model: res.currency.rate, id: feb_usd}:
     currency_id: base.USD
@@ -16,7 +19,7 @@
     rate: 1.250000
 
 -
-  I create a currency rate for USD for march of 1.111111
+  I create currency USD in OpenERP for March of 1.111111 Rate
 -
   !record {model: res.currency.rate, id: mar_usd}:
     currency_id: base.USD
@@ -24,7 +27,7 @@
     rate: 1.111111
 
 -
-  I create a currency rate for USD for april of 1.052632
+  I create currency USD in OpenERP for April of 1.052632 Rate
 -
   !record {model: res.currency.rate, id: apr_usd}:
     currency_id: base.USD
index e6d24fb..ded9509 100644 (file)
@@ -1,5 +1,8 @@
 -
-  I create a currency rate for USD for january of 1.333333
+  In order to check the Account_voucher module with multi-currency in OpenERP, 
+  I create 2 Invoices in USD and make 2 Payments one in USD and another in EUR, based on the currency rating on that particular date
+-
+  I create currency USD in OpenERP for January of 1.333333 Rate
 -
   !python {model: res.currency.rate}: |
     from datetime import datetime
     ids = self.search(cr, uid, [('currency_id', '=', curr_id), ('name', '=', date)])
     self.write(cr, uid, ids, {'rate': 1.333333})
 -
-  I create a currency rate for USD for february of 1.250000
+  I create currency USD in OpenERP for February of 1.250000 Rate
 -
   !record {model: res.currency.rate, id: febr_usd}:
     currency_id: base.USD
     name: !eval "'%s-02-01' %(datetime.now().year)"
     rate: 1.250000
 -
-  I create a currency rate for USD for march of 1.111111
+  I create currency USD in OpenERP for March of 1.111111 Rate
 -
   !record {model: res.currency.rate, id: marc_usd}:
     currency_id: base.USD
     name: !eval "'%s-03-01' %(datetime.now().year)"
     rate: 1.111111
 -
-  I create a currency rate for USD for april of 1.052632
+  I create currency USD in OpenERP for April of 1.052632 Rate
 -
   !record {model: res.currency.rate, id: apri_usd}:
     currency_id: base.USD
index 904abb7..b35daf4 100644 (file)
@@ -1,26 +1,29 @@
 -
-  I create a currency rate for EUR for january of 1.000000
+  In order to check the Account_voucher module with multi-currency in OpenERP, 
+  I create 2 Invoices in EUR and make 2 Payments in EUR based on the currency rating on that particular date.
+-
+  I create currency EUR in OpenERP for January of 1.000000 Rate
 -
   !record {model: res.currency.rate, id: jan_eur}:
     currency_id: base.EUR
     name: !eval "'%s-01-01' %(datetime.now().year)"
     rate: 1.000000
 -
-  I create a currency rate for EUR for february of 1.000000
+  I create currency EUR in OpenERP for February of 1.000000 Rate
 -
   !record {model: res.currency.rate, id: feb_eur}:
     currency_id: base.EUR
     name: !eval "'%s-02-01' %(datetime.now().year)"
     rate: 1.000000
 -
-  I create a currency rate for EUR for march of 1.000000
+  I create currency EUR in OpenERP for March of 1.000000 Rate
 -
   !record {model: res.currency.rate, id: mar_eur}:
     currency_id: base.EUR
     name: !eval "'%s-03-01' %(datetime.now().year)"
     rate: 1.000000
 -
-  I create a currency rate for EUR for april of 1.000000
+  I create currency EUR in OpenERP for April of 1.000000 Rate
 -
   !record {model: res.currency.rate, id: apr_eur}:
     currency_id: base.EUR
index 56795fa..b6ed790 100644 (file)
@@ -1,28 +1,31 @@
 -
-  I create a currency rate for CAD for january of 1.338800
+  In order to check the Account_voucher module with multi-currency in OpenERP,
+  I create an invoice in CAD and make its Payment in CHF based on the currency rating on that particular date.
+-
+  I create currency CAD in OpenERP for January of 1.338800 Rate
 -
   !record {model: res.currency.rate, id: jan_cad}:
     currency_id: base.CAD
     name: !eval "'%s-01-01' %(datetime.now().year)"
     rate: 1.338800
 -
-  I create a currency rate for CAD for march of 2.000000
+  I create currency CAD in OpenERP for March of 2.000000 Rate
 -
   !record {model: res.currency.rate, id: mar_cad}:
     currency_id: base.CAD
     name: !eval "'%s-03-01' %(datetime.now().year)"
     rate: 2.000000
 -
-  I create a currency rate for CHF for january of 1.308600
+  I create currency CHF in OpenERP for January of 1.308600 Rate
 -
   !record {model: res.currency.rate, id: jan_chf}:
     currency_id: base.CHF
     name: !eval "'%s-01-01' %(datetime.now().year)"
     rate: 1.308600
 -
-  I create a currency rate for CHF for march of 1.250000
+  I create currency CHF in OpenERP for March of 1.250000 Rate
 -
-  !record {model: res.currency.rate, id: jan_chf}:
+  !record {model: res.currency.rate, id: mar_chf}:
     currency_id: base.CHF
     name: !eval "'%s-03-01' %(datetime.now().year)"
     rate: 1.250000