[FIX] mrp: incorrect help

The help is completely incorrect and misleading.

opw-807178
This commit is contained in:
Nicolas Martinelli
2018-01-31 14:30:26 +01:00
committed by Nicolas Martinelli
parent 00a10fdd00
commit b97b6de12c
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -3109,6 +3109,11 @@ msgstr ""
msgid "Unlock"
msgstr ""
#. module: mrp
#: model:ir.ui.view,arch_db:mrp.mrp_production_form_view
msgid "Unlock the manufacturing order to correct what has been consumed or produced."
msgstr ""
#. module: mrp
#: model:ir.ui.view,arch_db:mrp.mrp_production_form_view
msgid "Unreserve"
+1 -1
View File
@@ -48,7 +48,7 @@
<button name="button_unreserve" type="object" string="Unreserve" attrs="{'invisible': [('unreserve_visible', '=', False)]}"/>
<span class="label label-danger" attrs="{'invisible': ['|',('availability', 'in', ('assigned', 'none')), ('state', 'not in', ('confirmed','progress'))]}">Raw materials not available!</span>
<field name="state" widget="statusbar" statusbar_visible="confirmed,progress,done"/>
<button name="action_toggle_is_locked" attrs="{'invisible': ['|', '|', ('state', '=', 'cancel'), ('id', '=', False), ('is_locked', '=', False)]}" string="Unlock" groups="mrp.group_mrp_manager" type="object" help="If the manufacturing order is unlocked you can add to the initial demand."/>
<button name="action_toggle_is_locked" attrs="{'invisible': ['|', '|', ('state', '=', 'cancel'), ('id', '=', False), ('is_locked', '=', False)]}" string="Unlock" groups="mrp.group_mrp_manager" type="object" help="Unlock the manufacturing order to correct what has been consumed or produced."/>
<button name="action_toggle_is_locked" attrs="{'invisible': [('is_locked', '=', True)]}" string="Lock" class="oe_highlight" groups="mrp.group_mrp_manager" type="object"/>
</header>
<sheet>