diff --git a/inventory.py b/inventory.py index 5ce221f722..5b8e6e622f 100644 --- a/inventory.py +++ b/inventory.py @@ -296,6 +296,7 @@ class InventoryLine(ModelSQL, ModelView): 'uom': line.uom.id, 'company': line.inventory.company.id, 'state': 'done', + 'effective_date': line.inventory.date, }, context=context) self.write(cursor, user, line.id, {'move': move_id}, context=context)