[FIX] purchase: pickings stat button visibility
When you create a purchase order for a product of service type, the picking stat button is displayed but there's no linked pickings. When clicking on the stat button, all pickings were displayed, which is wrong. Issue:#9181 Task:#1817421
This commit is contained in:
@@ -158,7 +158,7 @@
|
||||
<button type="object"
|
||||
name="action_view_picking"
|
||||
class="oe_stat_button"
|
||||
icon="fa-truck">
|
||||
icon="fa-truck" attrs="{'invisible':[('picking_count','=', 0)]}">
|
||||
<field name="picking_count" widget="statinfo" string="Shipment" help="Incoming Shipments"/>
|
||||
</button>
|
||||
<button type="object" name="action_view_invoice"
|
||||
|
||||
Reference in New Issue
Block a user