mirror of
https://github.com/bringout/oca-ocb-mrp.git
synced 2026-04-27 15:51:59 +02:00
19.0 vanilla
This commit is contained in:
parent
accf5918df
commit
6e65e8c877
688 changed files with 225434 additions and 199401 deletions
|
|
@ -10,11 +10,12 @@
|
|||
<attribute name="groups">stock.group_stock_manager</attribute>
|
||||
</field>
|
||||
<field name="picking_ids" position="after">
|
||||
<field name="target_model" invisible="1"/>
|
||||
<field name="target_model" invisible="1" readonly="state == 'done'"/>
|
||||
<field name="mrp_production_ids"
|
||||
widget="many2many_tags" options="{'no_create_edit': True}"
|
||||
attrs="{'invisible': [('target_model', '!=', 'manufacturing')]}"
|
||||
domain="[('company_id', '=', company_id), ('move_finished_ids.stock_valuation_layer_ids', '!=', False)]"/>
|
||||
invisible="target_model != 'manufacturing'"
|
||||
readonly="state == 'done'"
|
||||
domain="[('company_id', '=', company_id), ('move_finished_ids.is_in', '!=', False)]"/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue