[FIX] stock: missing decorator

This commit is contained in:
Raphael Collet
2018-08-21 11:03:44 +02:00
parent 384f6a6254
commit 0218c4d506
@@ -126,6 +126,7 @@ class StockPackageLevel(models.Model):
'package_level_id': package_level.id,
})
@api.model
def create(self, vals):
result = super(StockPackageLevel, self).create(vals)
if vals.get('location_dest_id'):