[REF] point_of_sale: multi company

Adapt the module to the multicompany changes.

task-1985992
This commit is contained in:
Simon Lejeune
2019-09-03 15:05:04 +00:00
parent bf81b16c09
commit 6df0c3ef3c
@@ -37,6 +37,7 @@ class Warehouse(models.Model):
'default_location_dest_id': self.env.ref('stock.stock_location_customers').id,
'sequence': max_sequence + 1,
'sequence_code': 'POS',
'company_id': self.company_id.id,
}
})
return picking_type_create_values, max_sequence + 2