diff options
| -rw-r--r-- | addons/purchase_stock/views/purchase_views.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/purchase_stock/views/purchase_views.xml b/addons/purchase_stock/views/purchase_views.xml index 4a62bf3d8c9..6f850b62b4b 100644 --- a/addons/purchase_stock/views/purchase_views.xml +++ b/addons/purchase_stock/views/purchase_views.xml @@ -10,7 +10,7 @@ <button name="action_view_picking" string="Receive Products" class="oe_highlight" type="object" attrs="{'invisible': ['|', '|' , ('is_shipped', '=', True), ('state','not in', ('purchase','done')), ('picking_count', '=', 0)]}"/> </xpath> <xpath expr="//header/button[@name='confirm_reminder_mail']" position="attributes"> - <attribute name="attrs">{'invisible': ['|', '|', ('state', 'not in', ('purchase', 'done')), ('mail_reminder_confirmed', '=', True), ('effective_date', '!=', False)]}</attribute> + <attribute name="attrs">{'invisible': ['|', '|', '|', ('state', 'not in', ('purchase', 'done')), ('mail_reminder_confirmed', '=', True), ('date_planned', '=', False), ('effective_date', '!=', False)]}</attribute> </xpath> <xpath expr="//div[hasclass('oe_button_box')]" position="inside"> <button type="object" |
