[MIG] mrp_progress_button: Migration to 14.0

This commit is contained in:
Bernat Puig Font
2021-10-18 16:10:32 +02:00
parent 86cdf5b244
commit 4dedf3a41b
4 changed files with 24 additions and 11 deletions

View File

@@ -5,10 +5,10 @@
<field name="model">mrp.production</field>
<field name="inherit_id" ref="mrp.mrp_production_form_view" />
<field name="arch" type="xml">
<button name="action_assign" position="after">
<button name="action_assign" position="before">
<button
name="action_progress"
attrs="{'invisible': ['|', ('state', '!=', 'confirmed'), ('routing_id', '!=', False)]}"
attrs="{'invisible': [('state', '!=', 'confirmed')]}"
type="object"
string="Mark As Started"
class="oe_highlight"