mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
Fix read of wrong dictionnary
This commit is contained in:
committed by
Guewen Baconnier
parent
6e50fc1826
commit
40d630ca86
@@ -16,5 +16,5 @@ class ProcurementRule(models.Model):
|
||||
vals['orderpoint_ids'] = [(4, values['orderpoint_id'].id)]
|
||||
elif 'orderpoint_ids' in values:
|
||||
vals['orderpoint_ids'] = [(4, o.id)
|
||||
for o in vals['orderpoint_ids']]
|
||||
for o in values['orderpoint_ids']]
|
||||
return vals
|
||||
|
||||
Reference in New Issue
Block a user