File tree 4 files changed +18
-2
lines changed
stock_batch_picking_voucher
4 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 19
19
##############################################################################
20
20
{
21
21
"name" : "Preprinted report in batch pickings" ,
22
- "version" : "18.0.1.0 .0" ,
22
+ "version" : "18.0.1.1 .0" ,
23
23
"category" : "Warehouse Management" ,
24
24
"sequence" : 14 ,
25
25
"summary" : "" ,
35
35
"stock_voucher" ,
36
36
],
37
37
"data" : [
38
+ "report/batch_picking_preprinted_data.xml" ,
38
39
"views/stock_batch_picking_views.xml" ,
39
40
"views/stock_picking_views.xml" ,
40
41
],
Original file line number Diff line number Diff line change @@ -83,7 +83,6 @@ def do_print_and_assign(self):
83
83
84
84
def do_print_batch_vouchers (self ):
85
85
"""This function prints the voucher"""
86
- # self.env.ref('stock_batch_picking_voucher.batch_picking_preprinted').report_action(self)
87
86
return self .env .ref ("stock_batch_picking_voucher.batch_picking_preprinted" ).report_action (self )
88
87
89
88
def do_clean (self ):
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" ?>
2
+ <odoo noupdate =" 1" >
3
+ <record id =" batch_picking_preprinted" model =" ir.actions.report" >
4
+ <field name =" name" >Preprinted Voucher</field >
5
+ <field name =" model" >stock.picking.batch</field >
6
+ <field name =" report_name" >batch_picking_preprinted</field >
7
+ <field name =" report_type" >aeroo</field >
8
+ <field name =" in_format" >oo-odt</field >
9
+ <field name =" report_file" >stock_batch_picking_voucher/report/batch_picking_preprinted.odt</field >
10
+ <field name =" out_format" ref =" report_aeroo.report_mimetypes_pdf_odt" />
11
+ <field name =" tml_source" >file</field >
12
+ <field name =" binding_model_id" ref =" stock_picking_batch.model_stock_picking_batch" />
13
+ <field name =" binding_type" >report</field >
14
+ </record >
15
+
16
+ </odoo >
You can’t perform that action at this time.
0 commit comments