<data>
<!--
- Process
+ Process Node from where the Procurement flow starts
-->
<record id="process_process_procurementprocess0" model="process.process">
<field name="model_id" ref="procurement.model_procurement_order"/>
<field eval="1" name="active"/>
</record>
-
- <!--
- Process Node
- -->
-
</data>
</openerp>
</group>
<group colspan="2" col="2" name="store">
<separator string="Storage Localisation" colspan="2"/>
- <field name="loc_rack"/>
- <field name="loc_row"/>
- <field name="loc_case"/>
+ <field name="loc_rack" attrs="{'readonly':[('type','=','service')]}" />
+ <field name="loc_row" attrs="{'readonly':[('type','=','service')]}"/>
+ <field name="loc_case" attrs="{'readonly':[('type','=','service')]}"/>
</group>
<group colspan="2" col="2" name="misc" groups="base.group_extended">
<group name="store" position="after">
<group col="2" colspan="2" name="store" groups="base.group_extended">
<separator string="Counter-Part Locations Properties" colspan="2"/>
- <field name="property_stock_procurement" domain="[('usage','=','procurement')]"/>
- <field name="property_stock_production" domain="[('usage','=','production')]"/>
- <field name="property_stock_inventory" domain="[('usage','=','inventory')]"/>
+ <field name="property_stock_procurement" attrs="{'readonly':[('type','=','service')]}" domain="[('usage','=','procurement')]"/>
+ <field name="property_stock_production" attrs="{'readonly':[('type','=','service')]}" domain="[('usage','=','production')]"/>
+ <field name="property_stock_inventory" attrs="{'readonly':[('type','=','service')]}" domain="[('usage','=','inventory')]"/>
</group>
</group>
</field>