[MIG] stock_picking_deposito: Migration to 16.0
This commit is contained in:
parent
a796e31f22
commit
5cd63e80ac
3 changed files with 3 additions and 4 deletions
|
@ -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({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue