mirror of
https://github.com/OCA/stock-logistics-reporting.git
synced 2025-02-16 17:13:21 +02:00
Merge pull request #2 from lepistone/7.0-replace-print-actions-mdh
[FIX] replace both Print buttons with the new action
This commit is contained in:
@@ -6,7 +6,10 @@
|
||||
<field name="model">stock.picking.out</field>
|
||||
<field name="inherit_id" ref="delivery.view_delivery_order_inherit_stock"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="/form/header//button[@string='Print Delivery Order']" position="attributes">
|
||||
<xpath expr="/form/header//button[@string='Print Delivery Order' and @states='confirmed,assigned']" position="attributes">
|
||||
<attribute name="name">%(stock.report_picking_list_out)d</attribute>
|
||||
</xpath>
|
||||
<xpath expr="/form/header//button[@string='Print Delivery Order' and @states='done']" position="attributes">
|
||||
<attribute name="name">%(stock.report_picking_list_out)d</attribute>
|
||||
</xpath>
|
||||
</field>
|
||||
|
||||
Reference in New Issue
Block a user