From ac658522dfcefe7935d446f1aa329e34082e6dfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=8C=BA?= <39181819@qq.com> Date: Fri, 26 Jul 2019 00:52:34 +0000 Subject: [PATCH] [IMP] Stock: "Manual Replenishment" translatable. closes odoo/odoo#35200 Signed-off-by: Simon Lejeune (sle) --- addons/stock/wizard/product_replenish.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/stock/wizard/product_replenish.py b/addons/stock/wizard/product_replenish.py index a2ac3d0f209..8d6c1df2b41 100644 --- a/addons/stock/wizard/product_replenish.py +++ b/addons/stock/wizard/product_replenish.py @@ -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 )