[FIX]picking_wave: add two button for printing picking report as there exist two different report
bzr revid: csn@openerp.com-20130729154038-qj2f387k7dlzf9wm
This commit is contained in:
parent
5cd172d276
commit
fce33ee4c4
|
@ -40,7 +40,7 @@ class stock_picking_wave(osv.osv):
|
|||
}
|
||||
return {
|
||||
'type': 'ir.actions.report.xml',
|
||||
'report_name': 'stock.picking.list',
|
||||
'report_name': context.get('report', 'stock.picking.list'),
|
||||
'datas': datas,
|
||||
'nodestroy' : True
|
||||
}
|
||||
|
|
|
@ -9,7 +9,8 @@
|
|||
<div class="oe_right oe_button_box">
|
||||
<button name="confirm_picking" string="Confirm all pickings" type="object"/>
|
||||
<button name="cancel_picking" string="Cancel all pickings" type="object"/>
|
||||
<button name="print_picking" string="Print all pickings" type="object"/>
|
||||
<button name="print_picking" string="Print all internal pickings" type="object" context="{'report':'stock.picking.list.internal'}"/>
|
||||
<button name="print_picking" string="Print all in/out pickings" type="object" context="{'report':'stock.picking.list'}"/>
|
||||
</div>
|
||||
<group>
|
||||
<group>
|
||||
|
|
Loading…
Reference in New Issue