[IMP] pre-commit: first run on whole repo

This commit is contained in:
Kevin Khao
2021-11-26 18:54:38 +03:00
parent a04b8980e1
commit 167aefee13
289 changed files with 6020 additions and 4170 deletions

View File

@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# Product No Translation module for Odoo
@@ -20,7 +19,7 @@
#
##############################################################################
from odoo import models, fields
from odoo import fields, models
class ProductTemplate(models.Model):
@@ -31,6 +30,7 @@ class ProductTemplate(models.Model):
description = fields.Text(translate=False)
name = fields.Char(translate=False)
class ProductAttribute(models.Model):
_inherit = "product.attribute"
@@ -44,12 +44,12 @@ class ProductAttributeValue(models.Model):
class UomCategory(models.Model):
_inherit = 'uom.category'
_inherit = "uom.category"
name = fields.Char(translate=False)
class UomUom(models.Model):
_inherit = 'uom.uom'
_inherit = "uom.uom"
name = fields.Char(translate=False)