[FIX] product_expiry: quant expiry search filter
Before this commit, the "Expiration Alerts" search filter for quant return a traceback because it tries to render hours/minutes/seconds but there aren't supported. This fix just removes them. closes odoo/odoo#39416 Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
<xpath expr="//filter[@name='reserved']" position="after">
|
||||
<separator/>
|
||||
<filter string="Expiration Alerts" name="expiration_alerts"
|
||||
domain="[('removal_date', '<=', context_today().strftime('%Y-%m-%d %H:%M:%S'))]"/>
|
||||
domain="[('removal_date', '<=', context_today().strftime('%Y-%m-%d'))]"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user