Permalink
Browse files

[IMP] mrp: miscalenous tab no more in debug mode

  • Loading branch information...
amoyaux committed Oct 22, 2018
1 parent ad323c4 commit fc120dc062e9565505678120ced867c39229e354
Showing with 7 additions and 7 deletions.
  1. +7 −7 addons/mrp/views/mrp_production_views.xml
@@ -149,17 +149,17 @@
Use the Produce button or process the work orders to create some finished products.
</p>
</page>
<page string="Miscellaneous" groups="stock.group_stock_multi_locations, base.group_no_one">
<page string="Miscellaneous">
<group>
<group groups="stock.group_stock_multi_locations">
<field name="picking_type_id" domain="[('code', '=', 'mrp_operation')]" attrs="{'readonly': [('has_moves', '=', True)]}"/>
<field name="location_src_id" domain="[('usage','=','internal')]" attrs="{'readonly': [('has_moves', '=', True)]}"/>
<field name="location_dest_id" domain="[('usage','=','internal')]" attrs="{'readonly': [('has_moves', '=', True)]}"/>
</group>
<group>
<field name="availability" groups="base.group_no_one"/>
<field name="picking_type_id" domain="[('code', '=', 'mrp_operation')]" attrs="{'readonly': [('state', '!=', 'draft')]}"/>
<field name="location_src_id" domain="[('usage','=','internal')]" attrs="{'readonly': [('state', '!=', 'draft')]}"/>
<field name="location_dest_id" domain="[('usage','=','internal')]" attrs="{'readonly': [('state', '!=', 'draft')]}"/>
</group>
</group>
<group>
<field name="reservation_state"/>
</group>
</page>
</notebook>
</sheet>

0 comments on commit fc120dc

Please sign in to comment.