[FIX] auction : YML Test for report corrected
bzr revid: ach@tinyerp.com-20100927142755-9vzoq5vo06sqhfjq
This commit is contained in:
parent
0b3dab94db
commit
1c4209717c
|
@ -1,5 +1,5 @@
|
|||
-
|
||||
In order to test the PDF reports defined on auction, we will print a auction artist
|
||||
In order to test the PDF reports defined on Auction, we will print an Auction Artist Report
|
||||
-
|
||||
!python {model: auction.lots}: |
|
||||
import netsvc, tools, os
|
||||
|
@ -8,7 +8,7 @@
|
|||
file(os.path.join(tools.config['test_report_directory'], 'auction-auction_artist_report.'+format), 'wb+').write(data)
|
||||
|
||||
-
|
||||
In order to test the PDF reports defined on auction, we will print a auction Bid
|
||||
In order to test the PDF reports defined on Auction, we will print an Auction Bid Report
|
||||
-
|
||||
!python {model: auction.bid}: |
|
||||
import netsvc, tools, os
|
||||
|
@ -17,61 +17,61 @@
|
|||
file(os.path.join(tools.config['test_report_directory'], 'auction-auction_bid_report.'+format), 'wb+').write(data)
|
||||
|
||||
-
|
||||
In order to test the PDF reports defined on auction, we will print a lots list Report
|
||||
In order to test the PDF reports defined on Auction, we will print a Lots List Report
|
||||
-
|
||||
!python {model: auction.lots}: |
|
||||
import netsvc, tools, os
|
||||
(data, format) = netsvc.LocalService('report.lots.list').create(cr, uid, [ref('auction.auction_deposit_3_lot_1'),ref('auction.auction_deposit_3_lot_2')], {}, {})
|
||||
if tools.config['test_report_directory']:
|
||||
file(os.path.join(tools.config['test_report_directory'], 'auction-auction_lots_list_report.'+format), 'wb+').write(data)
|
||||
file(os.path.join(tools.config['test_report_directory'], 'auction-lots_list_report.'+format), 'wb+').write(data)
|
||||
|
||||
-
|
||||
In order to test the PDF reports defined on auction, we will print a lots inventory Report
|
||||
In order to test the PDF reports defined on Auction, we will print a Lots Inventory Report
|
||||
-
|
||||
!python {model: auction.lots}: |
|
||||
import netsvc, tools, os
|
||||
(data, format) = netsvc.LocalService('report.lots.list.inventory').create(cr, uid, [ref('auction.auction_deposit_4_lot_1'),ref('auction.auction_deposit_4_lot_2')], {}, {})
|
||||
if tools.config['test_report_directory']:
|
||||
file(os.path.join(tools.config['test_report_directory'], 'auction-auction_lots_inventory_report.'+format), 'wb+').write(data)
|
||||
file(os.path.join(tools.config['test_report_directory'], 'auction-lots_inventory_report.'+format), 'wb+').write(data)
|
||||
|
||||
-
|
||||
In order to test the PDF reports defined on auction, we will print a deposit seller Report
|
||||
In order to test the PDF reports defined on Auction, we will print a Deposit Seller Report
|
||||
-
|
||||
!python {model: auction.lots}: |
|
||||
import netsvc, tools, os
|
||||
(data, format) = netsvc.LocalService('report.deposit.seller').create(cr, uid, [ref('auction.auction_deposit_5_lot_1'),ref('auction.auction_deposit_5_lot_2')], {}, {})
|
||||
if tools.config['test_report_directory']:
|
||||
file(os.path.join(tools.config['test_report_directory'], 'auction-auction_deposit_seller_report.'+format), 'wb+').write(data)
|
||||
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
|
||||
In order to test the PDF reports defined on Auction, we will print a Catalog List Report
|
||||
-
|
||||
!python {model: auction.dates}: |
|
||||
import netsvc, tools, os
|
||||
(data, format) = netsvc.LocalService('report.auction.cat_flagy').create(cr, uid, [ref('auction.auction_date_1'),ref('auction.auction_date_2')], {}, {})
|
||||
if tools.config['test_report_directory']:
|
||||
file(os.path.join(tools.config['test_report_directory'], 'auction-auction_catalog_list.'+format), 'wb+').write(data)
|
||||
file(os.path.join(tools.config['test_report_directory'], 'auction-catalog_list_report.'+format), 'wb+').write(data)
|
||||
|
||||
-
|
||||
In order to test the PDF reports defined on auction, we will print buyer form report
|
||||
In order to test the PDF reports defined on Auction, we will print a Buyer Form Report
|
||||
-
|
||||
!python {model: auction.lots}: |
|
||||
import netsvc, tools, os
|
||||
(data, format) = netsvc.LocalService('report.buyer_form_report').create(cr, uid, [ref('auction.auction_deposit_6_lot_1'),ref('auction.auction_deposit_6_lot_2')], {}, {})
|
||||
if tools.config['test_report_directory']:
|
||||
file(os.path.join(tools.config['test_report_directory'], 'auction-auction_buyer_form.'+format), 'wb+').write(data)
|
||||
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 report
|
||||
In order to test the PDF reports defined on Auction, we will print Bids Phones Details Report
|
||||
-
|
||||
!python {model: auction.lots}: |
|
||||
import netsvc, tools, os
|
||||
(data, format) = netsvc.LocalService('report.bids.phones.details').create(cr, uid, [ref('auction.auction_deposit_7_lot_1'),ref('auction.auction_deposit_7_lot_2')], {}, {})
|
||||
if tools.config['test_report_directory']:
|
||||
file(os.path.join(tools.config['test_report_directory'], 'auction-auction_bids_phones_details.'+format), 'wb+').write(data)
|
||||
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 a Auction Total
|
||||
In order to test the PDF reports defined on a 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 a Auction Result
|
||||
In order to test the PDF reports defined on a 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 a Auction Lot
|
||||
In order to test the PDF reports defined on a Auction, we will print an Auction Lot Report
|
||||
-
|
||||
!python {model: auction.lots}: |
|
||||
import netsvc, tools, os
|
||||
|
@ -98,28 +98,44 @@
|
|||
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 a Auction Buyer list report
|
||||
In order to test the PDF reports defined on a Auction, we will print an Auction Buyer List Report
|
||||
-
|
||||
!python {model: auction.lots}: |
|
||||
import netsvc, tools, os
|
||||
(data, format) = netsvc.LocalService('report.buyer.list').create(cr, uid, [ref('auction.auction_deposit_10_lot_1'),ref('auction.auction_deposit_10_lot_2')], {}, {})
|
||||
if tools.config['test_report_directory']:
|
||||
file(os.path.join(tools.config['test_report_directory'], 'auction-auction_buyer_list_report.'+format), 'wb+').write(data)
|
||||
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 a Auction, we will print a Auction Flagey Hussier Report
|
||||
-
|
||||
!python {model: auction.lots}: |
|
||||
import netsvc, tools, os
|
||||
(data, format) = netsvc.LocalService('report.flagey.huissier').create(cr, uid, [ref('auction.auction_deposit_3_lot_1'),ref('auction.auction_deposit_10_lot_2')], {}, {})
|
||||
if tools.config['test_report_directory']:
|
||||
file(os.path.join(tools.config['test_report_directory'], 'auction-auction_flagey_hussier_report.'+format), 'wb+').write(data)
|
||||
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 Auction Seller Form report
|
||||
In order to test the PDF reports defined on a Auction, we will print an Auction Seller Form Report
|
||||
-
|
||||
!python {model: auction.lots}: |
|
||||
import netsvc, tools, os
|
||||
(data, format) = netsvc.LocalService('report.seller_form_report').create(cr, uid, [ref('auction.auction_deposit_3_lot_1'),ref('auction.auction_deposit_10_lot_2')], {}, {})
|
||||
if tools.config['test_report_directory']:
|
||||
file(os.path.join(tools.config['test_report_directory'], 'auction-auction_seller_form_report.'+format), 'wb+').write(data)
|
||||
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
|
||||
-
|
||||
!python {model: auction.lots}: |
|
||||
import netsvc, tools, os
|
||||
(data, format) = netsvc.LocalService('report.auction.buyer.result').create(cr, uid, [ref('auction.auction_deposit_3_lot_1'),ref('auction.auction_deposit_10_lot_2')], {}, {})
|
||||
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
|
||||
-
|
||||
!python {model: auction.lots}: |
|
||||
import netsvc, tools, os
|
||||
(data, format) = netsvc.LocalService('report.auction.catelog').create(cr, uid, [ref('auction.auction_deposit_3_lot_1'),ref('auction.auction_deposit_10_lot_2')], {}, {})
|
||||
if tools.config['test_report_directory']:
|
||||
file(os.path.join(tools.config['test_report_directory'], 'auction-catelog_report.'+format), 'wb+').write(data)
|
Loading…
Reference in New Issue