[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:
clesgow
2023-10-27 21:36:44 +00:00
parent 25b4836cf4
commit bd187c35c2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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):