[MIG] stock_picking_deposito: Migration to 16.0

This commit is contained in:
santi 2024-08-28 18:14:13 +00:00
parent a796e31f22
commit 5cd63e80ac
3 changed files with 3 additions and 4 deletions

View file

@ -55,7 +55,6 @@ class ResPartner(models.Model):
}).id
return super().create(vals)
@api.multi
def write(self, vals):
if ( vals.get('deposit_sale_accept', False) == True ) and not self.deposit_sale_location_id:
vals['deposit_sale_location_id'] = self.env['stock.location'].create({