Filter draft purchase request using state
Using empty purchase line is confusing with the domain added for request quotation. Closes #13700
This commit is contained in:
@@ -45,7 +45,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
id="act_purchase_request_form_domain_draft">
|
||||
<field name="name">Draft</field>
|
||||
<field name="sequence" eval="10"/>
|
||||
<field name="domain" eval="[('purchase_line', '=', None)]"
|
||||
<field name="domain" eval="[('state', '=', 'draft')]"
|
||||
pyson="1"/>
|
||||
<field name="count" eval="True"/>
|
||||
<field name="act_window" ref="act_purchase_request_form"/>
|
||||
|
||||
Reference in New Issue
Block a user