[MIG] purchase_collective: Migration to 16.0

This commit is contained in:
Luis 2024-01-11 10:42:00 +01:00
parent 27386c71cc
commit 9434c90457
9 changed files with 7 additions and 16 deletions

View file

@ -15,7 +15,6 @@ class SaleOrder(models.Model):
)
is_cp = fields.Boolean(string="Is part of a Collective Purchase")
@api.multi
def action_confirm(self):
for order in self:
order.warehouse_id = order.partner_id.node_id.wh_id