mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[FIX] Lint
This commit is contained in:
@@ -13,8 +13,6 @@ class SaleOrder(models.Model):
|
|||||||
for order in self:
|
for order in self:
|
||||||
agreement_ids = self.env['agreement'].\
|
agreement_ids = self.env['agreement'].\
|
||||||
search([('sale_id', '=', order.id)])
|
search([('sale_id', '=', order.id)])
|
||||||
service_location_id = order.partner_id.service_location_id
|
|
||||||
agreement_ids.write({
|
agreement_ids.write({
|
||||||
'fsm_location_id': order.partner_id.service_location_id,
|
'fsm_location_id': order.partner_id.service_location_id})
|
||||||
})
|
|
||||||
return res
|
return res
|
||||||
|
|||||||
Reference in New Issue
Block a user