2 In order to test the PDF reports defined on Auction, we will print an Auction Artist Report
4 !python {model: auction.lots}: |
5 import netsvc, tools, os
6 (data, format) = netsvc.LocalService('report.auction.artists').create(cr, uid, [ref('auction.auction_deposit_1_lot_1'),ref('auction.auction_deposit_1_lot_2')], {}, {})
7 if tools.config['test_report_directory']:
8 file(os.path.join(tools.config['test_report_directory'], 'auction-auction_artist_report.'+format), 'wb+').write(data)
11 In order to test the PDF reports defined on Auction, we will print an Auction Bid Report
13 !python {model: auction.bid}: |
14 import netsvc, tools, os
15 (data, format) = netsvc.LocalService('report.auction.bids').create(cr, uid, [ref('auction.auction_date_1_bid_3'),ref('auction.auction_date_1_bid_4')], {}, {})
16 if tools.config['test_report_directory']:
17 file(os.path.join(tools.config['test_report_directory'], 'auction-auction_bid_report.'+format), 'wb+').write(data)
20 In order to test the PDF reports defined on Auction, we will print a Lots List Report
22 !python {model: auction.lots}: |
23 import netsvc, tools, os
24 (data, format) = netsvc.LocalService('report.lots.list').create(cr, uid, [ref('auction.auction_deposit_3_lot_1'),ref('auction.auction_deposit_3_lot_2')], {}, {})
25 if tools.config['test_report_directory']:
26 file(os.path.join(tools.config['test_report_directory'], 'auction-lots_list_report.'+format), 'wb+').write(data)
29 In order to test the PDF reports defined on Auction, we will print a Lots Inventory Report
31 !python {model: auction.lots}: |
32 import netsvc, tools, os
33 (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')], {}, {})
34 if tools.config['test_report_directory']:
35 file(os.path.join(tools.config['test_report_directory'], 'auction-lots_inventory_report.'+format), 'wb+').write(data)
38 In order to test the PDF reports defined on Auction, we will print a Deposit Seller Report
40 !python {model: auction.lots}: |
41 import netsvc, tools, os
42 (data, format) = netsvc.LocalService('report.deposit.seller').create(cr, uid, [ref('auction.auction_deposit_5_lot_1'),ref('auction.auction_deposit_5_lot_2')], {}, {})
43 if tools.config['test_report_directory']:
44 file(os.path.join(tools.config['test_report_directory'], 'auction-deposit_seller_report.'+format), 'wb+').write(data)
47 In order to test the PDF reports defined on Auction, we will print a Catalogue List Report
49 !python {model: auction.dates}: |
50 import netsvc, tools, os
51 (data, format) = netsvc.LocalService('report.auction.cat_flagy').create(cr, uid, [ref('auction.auction_date_1'),ref('auction.auction_date_2')], {}, {})
52 if tools.config['test_report_directory']:
53 file(os.path.join(tools.config['test_report_directory'], 'auction-catalog_list_report.'+format), 'wb+').write(data)
56 In order to test the PDF reports defined on Auction, we will print a Buyer Form Report
58 !python {model: auction.lots}: |
59 import netsvc, tools, os
60 (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')], {}, {})
61 if tools.config['test_report_directory']:
62 file(os.path.join(tools.config['test_report_directory'], 'auction-buyer_form_report.'+format), 'wb+').write(data)
65 In order to test the PDF reports defined on Auction, we will print a report of Bids Phones Details
67 !python {model: auction.lots}: |
68 import netsvc, tools, os
69 (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')], {}, {})
70 if tools.config['test_report_directory']:
71 file(os.path.join(tools.config['test_report_directory'], 'auction-bids_phones_details_report.'+format), 'wb+').write(data)
74 In order to test the PDF reports defined on Auction, we will print an Auction Total Report
76 !python {model: auction.lots}: |
77 import netsvc, tools, os
78 (data, format) = netsvc.LocalService('report.auction.total.rml').create(cr, uid, [ref('auction.auction_deposit_8_lot_1'),ref('auction.auction_deposit_8_lot_2')], {}, {})
79 if tools.config['test_report_directory']:
80 file(os.path.join(tools.config['test_report_directory'], 'auction-auction_total_report.'+format), 'wb+').write(data)
83 In order to test the PDF reports defined on Auction, we will print an Auction Result Report
85 !python {model: auction.lots}: |
86 import netsvc, tools, os
87 (data, format) = netsvc.LocalService('report.auction.result').create(cr, uid, [ref('auction.auction_deposit_9_lot_1'),ref('auction.auction_deposit_9_lot_2')], {}, {})
88 if tools.config['test_report_directory']:
89 file(os.path.join(tools.config['test_report_directory'], 'auction-auction_result_report.'+format), 'wb+').write(data)
92 In order to test the PDF reports defined on Auction, we will print an Auction Lot Report
94 !python {model: auction.lots}: |
95 import netsvc, tools, os
96 (data, format) = netsvc.LocalService('report.bids.lots').create(cr, uid, [ref('auction.auction_deposit_10_lot_1'),ref('auction.auction_deposit_10_lot_2')], {}, {})
97 if tools.config['test_report_directory']:
98 file(os.path.join(tools.config['test_report_directory'], 'auction-auction_lot_report.'+format), 'wb+').write(data)
101 In order to test the PDF reports defined on Auction, we will print an Auction Buyer List Report
103 !python {model: auction.lots}: |
104 import netsvc, tools, os
105 (data, format) = netsvc.LocalService('report.buyer.list').create(cr, uid, [ref('auction.auction_deposit_10_lot_1'),ref('auction.auction_deposit_10_lot_2')], {}, {})
106 if tools.config['test_report_directory']:
107 file(os.path.join(tools.config['test_report_directory'], 'auction-buyer_list_report.'+format), 'wb+').write(data)
110 In order to test the PDF reports defined on Auction, we will print an Auction Flagey Hussier Report
112 !python {model: auction.lots}: |
113 import netsvc, tools, os
114 (data, format) = netsvc.LocalService('report.flagey.huissier').create(cr, uid, [ref('auction.auction_deposit_3_lot_1'),ref('auction.auction_deposit_10_lot_2')], {}, {})
115 if tools.config['test_report_directory']:
116 file(os.path.join(tools.config['test_report_directory'], 'auction-flagey_hussier_report.'+format), 'wb+').write(data)
119 In order to test the PDF reports defined on Auction, we will print an Auction Seller Form Report
121 !python {model: auction.lots}: |
122 import netsvc, tools, os
123 (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')], {}, {})
124 if tools.config['test_report_directory']:
125 file(os.path.join(tools.config['test_report_directory'], 'auction-seller_form_report.'+format), 'wb+').write(data)
127 In order to test the PDF reports defined on Auction, we will a print Buyer Result Report
129 !python {model: auction.lots}: |
130 import netsvc, tools, os
131 (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')], {}, {})
132 if tools.config['test_report_directory']:
133 file(os.path.join(tools.config['test_report_directory'], 'auction-buyer_result_report.'+format), 'wb+').write(data)
135 In order to test the PDF reports defined on Auction, we will print a Catalogue Report
137 !python {model: auction.lots}: |
138 import netsvc, tools, os
139 (data, format) = netsvc.LocalService('report.auction.catelog').create(cr, uid, [ref('auction.auction_deposit_3_lot_1'),ref('auction.auction_deposit_10_lot_2')], {}, {})
140 if tools.config['test_report_directory']:
141 file(os.path.join(tools.config['test_report_directory'], 'auction-catelog_report.'+format), 'wb+').write(data)