[IMP] pre-commit: first run on whole repo
This commit is contained in:
@@ -1,23 +1,24 @@
|
||||
# Copyright 2019 David BEAL @ Akretion
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
|
||||
from odoo import models, fields
|
||||
from odoo import fields, models
|
||||
|
||||
from odoo.addons import decimal_precision as dp
|
||||
|
||||
|
||||
class ProductTemplate(models.Model):
|
||||
_inherit = 'product.template'
|
||||
_inherit = "product.template"
|
||||
|
||||
volume = fields.Float(digits=dp.get_precision('Volume'))
|
||||
volume = fields.Float(digits=dp.get_precision("Volume"))
|
||||
|
||||
|
||||
class ProductProduct(models.Model):
|
||||
_inherit = 'product.product'
|
||||
_inherit = "product.product"
|
||||
|
||||
volume = fields.Float(digits=dp.get_precision('Volume'))
|
||||
volume = fields.Float(digits=dp.get_precision("Volume"))
|
||||
|
||||
|
||||
class StockPicking(models.Model):
|
||||
_inherit = 'stock.picking'
|
||||
_inherit = "stock.picking"
|
||||
|
||||
volume = fields.Float(digits=dp.get_precision('Volume'))
|
||||
volume = fields.Float(digits=dp.get_precision("Volume"))
|
||||
|
||||
Reference in New Issue
Block a user