stock_usability: improve display of reservations

mrp_usability: disable change in view to fix a bug
This commit is contained in:
Alexis de Lattre
2022-10-29 21:45:02 +02:00
parent 70957e8404
commit 5c14e3199e
3 changed files with 9 additions and 2 deletions

View File

@@ -13,10 +13,11 @@
<field name="model">mrp.production</field>
<field name="inherit_id" ref="mrp.mrp_production_form_view"/>
<field name="arch" type="xml">
<!--
<label for="product_qty" position="before">
<field name="location_src_id" groups="stock.group_stock_multi_locations" options="{'no_create': True}" attrs="{'readonly': [('state', '!=', 'draft')]}" position="move"/>
<field name="location_dest_id" groups="stock.group_stock_multi_locations" options="{'no_create': True}" attrs="{'readonly': [('state', '!=', 'draft')]}" position="move"/>
</label>
</label> -->
<xpath expr="//page[@name='miscellaneous']/group/group/field[@name='date_deadline']" position="after">
<field name="date_start"/>
<field name="date_finished"/>