[FIX] stock: update picking validation error
The forms are always in edit mode, so no need to refer to the "edit mode" anymore. Also the 'done quantities' no longer exists from the user pov, there's only a 'quantity' field. closes odoo/odoo#140094 Signed-off-by: William Henrotin (whe) <whe@odoo.com>
This commit is contained in:
@@ -10039,7 +10039,7 @@ msgstr ""
|
||||
#, python-format
|
||||
msgid ""
|
||||
"You cannot validate a transfer if no quantities are reserved. To force the "
|
||||
"transfer, switch in edit mode and encode the done quantities."
|
||||
"transfer, encode quantities."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock
|
||||
|
||||
@@ -1190,7 +1190,7 @@ class Picking(models.Model):
|
||||
"""
|
||||
return _(
|
||||
'You cannot validate a transfer if no quantities are reserved. '
|
||||
'To force the transfer, switch in edit mode and encode the done quantities.'
|
||||
'To force the transfer, encode quantities.'
|
||||
)
|
||||
|
||||
def _action_generate_backorder_wizard(self, show_transfers=False):
|
||||
|
||||
Reference in New Issue
Block a user