diff --git a/inventory.py b/inventory.py index 81191a7a45..1817fd533f 100644 --- a/inventory.py +++ b/inventory.py @@ -149,8 +149,8 @@ class Inventory(Workflow, ModelSQL, ModelView): new_inventories.append(new_inventory) return new_inventories - @classmethod - def complete_lines(self, inventories): + @staticmethod + def complete_lines(inventories): ''' Complete or update the inventories '''