[REF] Auction
authorJay (OpenERP) <jvo@tinyerp.com>
Mon, 27 Sep 2010 17:29:05 +0000 (22:59 +0530)
committerJay (OpenERP) <jvo@tinyerp.com>
Mon, 27 Sep 2010 17:29:05 +0000 (22:59 +0530)
bzr revid: jvo@tinyerp.com-20100927172905-4bj6qpuejbcusu70

addons/auction/test/auction.yml
addons/auction/test/auction_report.yml
addons/auction/test/auction_wizard.yml

index 6d07f5f..bbab678 100644 (file)
     name: Vincent van Gogh
  
 - 
-  I modifying a expenses journal record for analytic journal. 
+  I am modifying an expenses journal record for analytic journal. 
 - 
   !record {model: account.journal, id: account.expenses_journal}:
     analytic_journal_id: account.exp
 - 
-  I modifying a sales journal record for analytic journal. 
+  I am modifying a sales journal record for analytic journal. 
 - 
   !record {model: account.journal, id: account.sales_journal}:
     analytic_journal_id: account.cose_journal_sale    
@@ -49,7 +49,7 @@
     name: Mr. Pinakin
 
 -      
-  I'm creating new Buyer "Mr. Patel" with him email "info@myinfobid.com".
+  I'm creating new Buyer "Mr. Patel" with his email "info@myinfobid.com".
 - 
   !record {model: res.partner, id: res_partner_mrpatel0}:
     address:
@@ -62,7 +62,7 @@
     name: Mr. Patel
         
 -      
-  I'm creating new Buyer "Mr. Johnson" with him email "info@mrkjohnson.com".
+  I'm creating new Buyer "Mr. Johnson" with his email "info@mrkjohnson.com".
 - 
   !record {model: res.partner, id: res_partner_mrkjohnson0}:
     address:
@@ -76,7 +76,7 @@
     name: Mr. Mark Johnson
         
 -      
-  I'm creating new Buyer "Mr. Rahi" with him email "info@poalrahi.com".
+  I'm creating new Buyer "Mr. Rahi" with his email "info@poalrahi.com".
 - 
   !record {model: res.partner, id: res_partner_poalrahi0}:
     address:
@@ -90,7 +90,7 @@
         
     
 -
-  I create Account tax with 0.03 amount to give Buyer "3%" Commision.
+  I create an Account tax with 0.03 amount to give Buyer "3%" Commission.
 - 
   !record {model: account.tax, id: account_tax_buyer0}:
     amount: 0.029999999999999999
     type: percent
     type_tax_use: all
 -
-  I create Account tax with 0.04 amount to give seller "4%" commision.
+  I create another Account tax with 0.04 amount to give seller "4%" commission.
 - 
   !record {model: account.tax, id: account_tax_sellercosts0}:
     amount: 0.040000000000000001
                   
 -
   Now I want to associate an object with the auction so for that I create an auction "Antique furniture exhibition" which
-  start from 1 Aug to 31 Aug with Seller Commition 4%, buyer commition 3%.
+  start from 1 Aug to 31 Aug with Seller Commission 4%, buyer commission 3%.
 -
   !record {model: auction.dates, id: auction_dates_antiquefurnitureexhibition0}:
     acc_expense: account.a_pay
     state: draft
     vnd_lim: 5000.0
 -
-  I create a bid for an object "wooden-chair" which is to be auctioned in Antique furniture exhibition bided by Mr.Patel.
+  I create a bid for an object "wooden-chair" which is to be auctioned in Antique furniture exhibition bid by Mr.Patel.
 -
   !record {model: auction.bid, id: auction_bid_bid0}:
     auction_id: auction_dates_antiquefurnitureexhibition0
     price: 3100.0
 
 -
-  I create another bid for an object "wooden-chair" bided by a Mr.poalrahi
+  I create another bid for an object "wooden-chair" bid by a Mr.poalrahi
 -  
   !record {model: auction.bid, id: auction_bid_bid1}:
     auction_id: auction_dates_antiquefurnitureexhibition0
     price: 3200.0
  
 -
-  I create another bid for an object "wooden-chair" bided by a Mr.Johnson
+  I create another bid for an object "wooden-chair" bid by a Mr.Johnson
 -  
   !record {model: auction.bid, id: auction_bid_bid2}:
     auction_id: auction_dates_antiquefurnitureexhibition0
     lot_id: auction.auction_lots_woodenchair0
     price: 4000.0
 -
-  Mr. MarkJohnson bid are selected as Finallist Bid with 4000 Euro
+  Mr. MarkJohnson bid are selected as the Finalist Bid with 4000 Euro
 -
-  I check that buyer price and seller price gets bind with the value
+  I check that buyer price and seller price gets bound with the value
 -
   !python {model: auction.lots}: |
     from tools.translate import _
     number: 2010/003
     objects: 1
 -
-  Then I click on the "Create Invoices" button.
+  I click on the "Create Invoices" button.
 -
   !python {model: auction.lots.make.invoice.buyer}: |
     self.makeInvoices(cr, uid, [ref("auction_lots_make_invoice_buyer_0")], {"active_model": "auction.lots", "active_ids": [ref("auction_lots_woodenchair0")],
       "active_id": ref("auction_lots_woodenchair0"), })
 -
-  I check that a "Buyer Invoice" field gets bind with the value.
+  I check that a "Buyer Invoice" field gets bound with the value.
 -
   !python {model: auction.lots}: |
     from tools.translate import _
     auc_id=self.browse(cr, uid, ref("auction_lots_woodenchair0"))
     assert(auc_id.state == 'sold'), _('State not changed!')
 -
-  Then I click on the Taken Away button.
+  I click on the Taken Away button.
 -
   !python {model: auction.lots}: |
     self.button_taken_away(cr, uid, [ref("auction_lots_woodenchair0")], {"lang":
   !record {model: auction.lots.auction.move, id: auction_lots_auction_move_0}:
     auction_id: auction.auction_date_2
 - 
-  Then I click on the "Move to Auction date" button.
+  I click on the "Move to Auction date" button.
 - 
   !python {model: auction.lots.auction.move}: |
     self.auction_move_set(cr, uid, [ref("auction_lots_auction_move_0")], {"lang":
index 7ae7e53..962c945 100644 (file)
@@ -44,7 +44,7 @@
         file(os.path.join(tools.config['test_report_directory'], 'auction-deposit_seller_report.'+format), 'wb+').write(data)
 
 -
-  In order to test the PDF reports defined on Auction, we will print a Catalog List Report
+  In order to test the PDF reports defined on Auction, we will print a Catalogue List Report
 -
   !python {model: auction.dates}: |
     import netsvc, tools, os
@@ -62,7 +62,7 @@
         file(os.path.join(tools.config['test_report_directory'], 'auction-buyer_form_report.'+format), 'wb+').write(data)
 
 -
-  In order to test the PDF reports defined on Auction, we will print Bids Phones Details Report
+  In order to test the PDF reports defined on Auction, we will print a report of Bids Phones Details
 -
   !python {model: auction.lots}: |
     import netsvc, tools, os
@@ -71,7 +71,7 @@
         file(os.path.join(tools.config['test_report_directory'], 'auction-bids_phones_details_report.'+format), 'wb+').write(data)
 
 -
-  In order to test the PDF reports defined on a Auction, we will print an Auction Total Report
+  In order to test the PDF reports defined on Auction, we will print an Auction Total Report
 - 
   !python {model: auction.lots}: |
     import netsvc, tools, os
@@ -80,7 +80,7 @@
         file(os.path.join(tools.config['test_report_directory'], 'auction-auction_total_report.'+format), 'wb+').write(data)
 
 -
-  In order to test the PDF reports defined on a Auction, we will print an Auction Result Report
+  In order to test the PDF reports defined on Auction, we will print an Auction Result Report
 - 
   !python {model: auction.lots}: |
     import netsvc, tools, os
@@ -89,7 +89,7 @@
         file(os.path.join(tools.config['test_report_directory'], 'auction-auction_result_report.'+format), 'wb+').write(data)
 
 -
-  In order to test the PDF reports defined on a Auction, we will print an Auction Lot Report
+  In order to test the PDF reports defined on Auction, we will print an Auction Lot Report
 - 
   !python {model: auction.lots}: |
     import netsvc, tools, os
@@ -98,7 +98,7 @@
         file(os.path.join(tools.config['test_report_directory'], 'auction-auction_lot_report.'+format), 'wb+').write(data)        
 
 -
-  In order to test the PDF reports defined on a Auction, we will print an Auction Buyer List Report
+  In order to test the PDF reports defined on Auction, we will print an Auction Buyer List Report
 - 
   !python {model: auction.lots}: |
     import netsvc, tools, os
         file(os.path.join(tools.config['test_report_directory'], 'auction-buyer_list_report.'+format), 'wb+').write(data)        
 
 -
-  In order to test the PDF reports defined on a Auction, we will print a Auction Flagey Hussier Report
+  In order to test the PDF reports defined on Auction, we will print an Auction Flagey Hussier Report
 - 
   !python {model: auction.lots}: |
     import netsvc, tools, os
         file(os.path.join(tools.config['test_report_directory'], 'auction-flagey_hussier_report.'+format), 'wb+').write(data)
 
 -
-  In order to test the PDF reports defined on a Auction, we will print an Auction Seller Form Report
+  In order to test the PDF reports defined on Auction, we will print an Auction Seller Form Report
 - 
   !python {model: auction.lots}: |
     import netsvc, tools, os
     if tools.config['test_report_directory']:
         file(os.path.join(tools.config['test_report_directory'], 'auction-seller_form_report.'+format), 'wb+').write(data)
 -
-  In order to test the PDF reports defined on a Auction, we will print Buyer Result Report
+  In order to test the PDF reports defined on Auction, we will a print Buyer Result Report
 - 
   !python {model: auction.lots}: |
     import netsvc, tools, os
     if tools.config['test_report_directory']:
         file(os.path.join(tools.config['test_report_directory'], 'auction-buyer_result_report.'+format), 'wb+').write(data)
 -
-  In order to test the PDF reports defined on a Auction, we will print Catelog Report
+  In order to test the PDF reports defined on Auction, we will print a Catalogue Report
 - 
   !python {model: auction.lots}: |
     import netsvc, tools, os
index f7308f8..bfe4f35 100644 (file)
@@ -81,7 +81,7 @@
       "tz": False, "active_model": "auction.lots", "active_ids": [ref("auction_lots_painting0")],
       "active_id": ref("auction_lots_painting0")})
 -
-  I check that the buyer field gets bind with the value.
+  I check that the buyer field gets bound with the value.
 -
  !python {model: auction.lots}: |
     from tools.translate import _
@@ -89,7 +89,7 @@
     assert(auc_id.ach_uid), _('Buyer not assigned!')
 
 -
-  I create statement lines for an object's payment by using the "Pay objects of the buyer" wizard
+  I create statement lines for the payment of an object using the "Pay objects of the buyer" wizard
 -
   I create a bank statement.
 -
     statement_id3: account_bank_statement_st0
     total: 4000.0
 -
-  Then I click "Pay" button.
+  I click "Pay" button.
 -
   !python {model: auction.pay.buy}: |
     self.pay_and_reconcile(cr, uid, [ref("auction_pay_buy_0")], {"lang": "en_US", "tz":
     number: 2010/002
     objects: 1
 -
-  Then I click on the "Create Invoices" button.
+  I click on the "Create Invoices" button.
 -
   !python {model: auction.lots.make.invoice}: |
     self.makeInvoices(cr, uid, [ref("auction_lots_make_invoice_0")], {"lang": "en_US",
       "active_model": "auction.lots", "active_ids": [ref("auction_lots_painting0")],
       "tz": False, "active_id": ref("auction_lots_painting0"),})
 -
-  I check that a "Seller Invoice" field gets bind with the value.
+  I check that a "Seller Invoice" field gets bound with the value.
 -
   !python {model: auction.lots}: |
     from tools.translate import _
     number: 2010/003
     objects: 1
 -
-  Then I click on the "Create Invoices" button.
+  I click on the "Create Invoices" button.
 -
   !python {model: auction.lots.make.invoice.buyer}: |
     self.makeInvoices(cr, uid, [ref("auction_lots_make_invoice_buyer_0")], {"lang":
       "en_US", "active_model": "auction.lots", "active_ids": [ref("auction_lots_painting0")],
       "tz": False, "active_id": ref("auction_lots_painting0"), })
 -
-  I check that a "Buyer Invoice" field gets bind with the value.
+  I check that a "Buyer Invoice" field gets bound with the value.
 -
   !python {model: auction.lots}: |
     from tools.translate import _
   !record {model: auction.lots.auction.move, id: auction_lots_auction_move_0}:
     auction_id: auction.auction_date_2
 - 
-  Then I click on the "Move to Auction date" button.
+  I click on the "Move to Auction date" button.
 - 
   !python {model: auction.lots.auction.move}: |
     self.auction_move_set(cr, uid, [ref("auction_lots_auction_move_0")], {"lang":