Skip to content

Commit

Permalink
[FIX] odoo: Change product_package_type dimensions to float
Browse files Browse the repository at this point in the history
Port from: Kencove#4
  • Loading branch information
BernatPForgeFlow committed Jun 14, 2024
1 parent e37c393 commit 21ef986
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions addons/stock/models/stock_package_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ def _get_default_weight_uom(self):

name = fields.Char('Package Type', required=True)
sequence = fields.Integer('Sequence', default=1, help="The first in the sequence is the default one.")
height = fields.Integer('Height', help="Packaging Height")
width = fields.Integer('Width', help="Packaging Width")
packaging_length = fields.Integer('Length', help="Packaging Length")
height = fields.Float('Height', help="Packaging Height")
width = fields.Float('Width', help="Packaging Width")
packaging_length = fields.Float('Length', help="Packaging Length")
base_weight = fields.Float(string='Weight', help='Weight of the package type')
max_weight = fields.Float('Max Weight', help='Maximum weight shippable in this packaging')
barcode = fields.Char('Barcode', copy=False)
Expand Down

0 comments on commit 21ef986

Please sign in to comment.