mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[FIX] stock_mts_mto_rule: add mts_rule_id and mto_rule_id on stock rule form view
This commit is contained in:
committed by
Pierrick Brun
parent
6fcd102477
commit
e745997f2d
@@ -17,4 +17,20 @@
|
|||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
<record id="view_stock_rule_form_view_mto_mto" model="ir.ui.view">
|
||||||
|
<field name="name">stock.rule.form.mts.mto</field>
|
||||||
|
<field name="model">stock.rule</field>
|
||||||
|
<field name="inherit_id" ref="stock.view_stock_rule_form" />
|
||||||
|
<field name="arch" type="xml">
|
||||||
|
<field name="action" position="after">
|
||||||
|
<field name="mts_rule_id"
|
||||||
|
groups="stock.group_adv_location"
|
||||||
|
attrs="{'invisible': [('action', '!=', 'split_procurement')]}"/>
|
||||||
|
<field name="mto_rule_id"
|
||||||
|
groups="stock.group_adv_location"
|
||||||
|
attrs="{'invisible': [('action', '!=', 'split_procurement')]}"/>
|
||||||
|
</field>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
Reference in New Issue
Block a user