We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f20d970 commit 898d917Copy full SHA for 898d917
stock_request_bom/views/stock_request_order_views.xml
@@ -8,8 +8,12 @@
8
<field name="inherit_id" ref="stock_request.stock_request_order_form" />
9
<field name="arch" type="xml">
10
<xpath expr="//field[@name='picking_policy']" position="after">
11
- <field name="product_bom_id" />
12
- <field name="quantity_bom" invisible="not product_bom_id" />
+ <field name="product_bom_id" readonly="state != 'draft'" />
+ <field
13
+ name="quantity_bom"
14
+ invisible="not product_bom_id"
15
+ readonly="state != 'draft'"
16
+ />
17
</xpath>
18
</field>
19
</record>
0 commit comments