diff --git a/press/press/doctype/usage_record/usage_record.py b/press/press/doctype/usage_record/usage_record.py index 128cfedee2..10aedfc8d1 100644 --- a/press/press/doctype/usage_record/usage_record.py +++ b/press/press/doctype/usage_record/usage_record.py @@ -87,7 +87,6 @@ def validate_duplicate_usage_record(self): "plan": self.plan, "docstatus": 1, "subscription": self.subscription, - "invoice": self.invoice, }, pluck="name", )