Skip to content

Commit

Permalink
[imp] product.packaging dims back to float
Browse files Browse the repository at this point in the history
  • Loading branch information
dnplkndll committed Jan 13, 2022
1 parent 4e7d813 commit 8524585
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions addons/delivery/models/product_packaging.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ def _get_default_length_uom(self):
def _get_default_weight_uom(self):
return self.env['product.template']._get_weight_uom_name_from_ir_config_parameter()

height = fields.Integer('Height')
width = fields.Integer('Width')
packaging_length = fields.Integer('Length')
height = fields.Float('Height')
width = fields.Float('Width')
packaging_length = fields.Float('Length')
max_weight = fields.Float('Max Weight', help='Maximum weight shippable in this packaging')
shipper_package_code = fields.Char('Package Code')
package_carrier_type = fields.Selection([('none', 'No carrier integration')], string='Carrier', default='none')
Expand Down

0 comments on commit 8524585

Please sign in to comment.