2018-01-16 06:58:15 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-01-16 11:34:37 +01:00
|
|
|
<flectra>
|
2018-01-16 06:58:15 +01:00
|
|
|
<data>
|
|
|
|
<!-- Procurements -->
|
|
|
|
<record id="view_procurement_rule_form_stock_inherit_mrp" model="ir.ui.view">
|
|
|
|
<field name="name">procurement.rule.form.stock.inherit.mrp</field>
|
|
|
|
<field name="model">procurement.rule</field>
|
|
|
|
<field name="inherit_id" ref="stock.view_procurement_rule_form"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<field name="location_src_id" position="attributes">
|
|
|
|
<attribute name="attrs">{'required': [('action', '=', 'move')], 'invisible': [('action', 'not in', ['move', 'manufacture'])]}</attribute>
|
|
|
|
</field>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
</data>
|
2018-01-16 11:34:37 +01:00
|
|
|
</flectra>
|