bemade_packing_wizard: bug fix on package creation
This commit is contained in:
parent
fb7b0cb3b6
commit
c8dc89cf29
2 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
'name': 'Packing wizard',
|
'name': 'Packing wizard',
|
||||||
'version': '15.0.1.0.0',
|
'version': '15.0.1.0.1',
|
||||||
'category': 'Extra Tools',
|
'category': 'Extra Tools',
|
||||||
'summary': 'Allow automated packing type creation',
|
'summary': 'Allow automated packing type creation',
|
||||||
'description': """
|
'description': """
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@ class ChooseDeliveryPackage(models.TransientModel):
|
||||||
# if no package type found, create one
|
# if no package type found, create one
|
||||||
if not delivery_package_type:
|
if not delivery_package_type:
|
||||||
delivery_package_type = delivery_package_type.create({
|
delivery_package_type = delivery_package_type.create({
|
||||||
'name': f'Box {vals["width"]}x{vals["height"]}x{vals["length"]}',
|
'name': f'Box {self.width}x{self.height}x{self.length}',
|
||||||
'width': self.width,
|
'width': self.width,
|
||||||
'height': self.height,
|
'height': self.height,
|
||||||
'packaging_length': self.length,
|
'packaging_length': self.length,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue