diff --git a/product_warranty/models/product_supplierinfo.py b/product_warranty/models/product_supplierinfo.py index 937eb284..fcc7b0fc 100644 --- a/product_warranty/models/product_supplierinfo.py +++ b/product_warranty/models/product_supplierinfo.py @@ -21,7 +21,7 @@ # along with this program. If not, see . # ########################################################################## -from openerp import api, fields, models +from openerp import api, fields, models, _ class ProductSupplierInfo(models.Model): @@ -30,9 +30,9 @@ class ProductSupplierInfo(models.Model): @api.model def get_warranty_return_partner(self): - result = [('company', 'Company'), - ('supplier', 'Supplier'), - ('other', 'Other'), + result = [('company', _('Company')), + ('supplier', _('Supplier')), + ('other', _('Other')), ] return result