[IMP] Stock: "Manual Replenishment" translatable.

closes odoo/odoo#35200

Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
This commit is contained in:
王挺
2019-07-26 00:58:47 +00:00
parent 72c36aaf90
commit ac658522df
+3 -3
View File
@@ -2,7 +2,7 @@
# Part of Odoo. See LICENSE file for full copyright and licensing details.
import datetime
from odoo import api, fields, models
from odoo import api, fields, models, _
from odoo.exceptions import UserError
from odoo.tools.misc import clean_context
@@ -58,8 +58,8 @@ class ProductReplenish(models.TransientModel):
self.quantity,
uom_reference,
self.warehouse_id.lot_stock_id, # Location
"Manual Replenishment", # Name
"Manual Replenishment", # Origin
_("Manual Replenishment"), # Name
_("Manual Replenishment"), # Origin
self.warehouse_id.company_id,
self._prepare_run_values() # Values
)