[IMP]account_payment: some improvement in teg line
authorMayur Maheshwari (OpenERP) <mma@tinyerp.com>
Thu, 17 Nov 2011 11:27:10 +0000 (16:57 +0530)
committerMayur Maheshwari (OpenERP) <mma@tinyerp.com>
Thu, 17 Nov 2011 11:27:10 +0000 (16:57 +0530)
bzr revid: mma@tinyerp.com-20111117112710-egyuyxor9imofi40

addons/account_payment/test/process/draft2cancel_payment_order.yml
addons/account_payment/test/process/draft2done_payment_order.yml
addons/account_payment/test/process/draft2valid_bank_statement.yml

index 4c9bbdb..9b544ab 100644 (file)
@@ -10,7 +10,7 @@
   !assert {model: payment.order, id: account_payment.payment_order_1}:
     - state == 'open'
 -
-  In order to no payment line so I perform action to change the state of payment order to "cancel"
+  In order to not payment line so I perform action to change the state of payment order to "cancel"
 -
   !python {model: payment.order}: |
     self.set_to_draft(cr, uid, [ref("account_payment.payment_order_1")])
index ec4cbe3..f0b0426 100644 (file)
@@ -1,11 +1,11 @@
 
 -
-  In order to test the process of supplier invoice I enter the amount for a total of invoice
+  In order to test the process of supplier invoice, I enter the amount for a total of invoice
 -
   !python {model: account.invoice}: |
      self.write(cr, uid, [ref('account.demo_invoice_0')], {'check_total': 14})
 -
-  In order to test account move line of journal I check that there is no move attached to the invoice at draft
+  In order to test account move line of journal, I check that there is no move attached to the invoice at draft
 -
   !python {model: account.invoice}: |
     invoice = self.browse(cr, uid, ref("account.demo_invoice_0"))
@@ -29,9 +29,7 @@
     duedate: !eval time.strftime('%Y-%m-%d')
 
 -
-  I perform a action to search the entries for create a order
--
-  Performing an osv_memory action search_entries on module payment.order.create
+  I perform a action to search the entries for create a payment line
 -
   !python {model: payment.order.create}: |
     self.search_entries(cr, uid, [ref("payment_order_create_0")], {"lang": "en_US",
@@ -39,7 +37,7 @@
       "tz": False, "active_id": ref("account_payment.payment_order_1"), })
 
 -
-  In order to make entries in payment line I create a entries
+  In order to make entries in payment line, I create a entries
 -
   !python {model: payment.order.create}: |
     invoice = self.pool.get('account.invoice').browse(cr, uid, ref("account.demo_invoice_0"))
index dc2470c..710a63a 100644 (file)
@@ -12,7 +12,7 @@
     period_id: account.period_10
 
 -
-   In order to make entries in bank statement line I import payment order lines
+   In order to make entries in bank statement line, I import payment order lines
 -
   !python {model: account.payment.populate.statement}: |
     payment = self.pool.get('payment.order').browse(cr, uid, ref("account_payment.payment_order_1"))