[IMP]account_voucher: Improve comments of yml
authorMayur Maheshwari (OpenERP) <mma@tinyerp.com>
Wed, 11 Apr 2012 06:39:15 +0000 (12:09 +0530)
committerMayur Maheshwari (OpenERP) <mma@tinyerp.com>
Wed, 11 Apr 2012 06:39:15 +0000 (12:09 +0530)
bzr revid: mma@tinyerp.com-20120411063915-3dl2tq60pfd3vwvo

addons/account_voucher/test/case_eur_usd.yml

index 9cef936..3c4f2df 100644 (file)
@@ -2,7 +2,7 @@
 
 -
   In order to check the payment with multi-currency in OpenERP, 
-  I create a Invoice in EUR and make Payment in USD based on the currency rating.
+  I create an invoice in EUR and make payment in USD based on the currency rating.
 -
   I create currency USD in OpenERP for May of 1.400000 Rate
 -
@@ -11,7 +11,7 @@
     name: !eval "'%s-05-01' %(datetime.now().year)"
     rate: 1.400000
 -
-  I create a asset account with currency USD
+  I create a bank account with USD as currency
 -
   !record {model: account.account, id: account_eur_usd_id}:
     currency_id: base.USD
@@ -34,7 +34,7 @@
     company_id: base.main_company
     view_id: account.account_journal_bank_view
 -
-  I create a invoice 
+  I create an invoice 
 -
   !record {model: account.invoice, id: account_invoice_eur_usd}:
     account_id: account.a_recv
     journal_id: account.sales_journal
     partner_id: base.res_partner_seagate
 -
-  I perform action to validate this invoice
+  I Validate invoice by clicking on Validate button
 -
   !workflow {model: account.invoice, action: invoice_open, ref: account_invoice_eur_usd}
 -
-  I check invoice move is correct
+  I check that invoice move is correct
 -
   !python {model: account.invoice}: |
     invoice = self.browse(cr, uid, ref("account_invoice_eur_usd"))
@@ -67,7 +67,7 @@
     for move_line in invoice.move_id.line_id:
         assert move_line.state == 'valid', "Move line state is not valid"
 -
-  I set the context that will be used for the encoding of all the vouchers of this file
+  I set the type receipt for this voucher
 -
   !context
     'type': 'receipt'