purchase.order.form.inheritpurchase.orderparent.state != 'purchase'product_type == 'consu'
On purchase.order.line.form.inheritpurchase.order.linepurchase.order.list.inheritpurchase.order1date_planned and (date_planned < effective_date or date_planned < datetime.datetime.combine(datetime.date.today(), datetime.time(0,0,0)).to_utc().strftime('%Y-%m-%d %H:%M:%S') and receipt_status!='full' and effective_date <= date_planned)