Commit f52ca085 authored by Nicolas Wavrant's avatar Nicolas Wavrant

DeliveryType: fixup! Typo (fix for a2dbbde0)

parent e014b873
...@@ -48,7 +48,7 @@ class DeliveryType(ERP5TypeInformation): ...@@ -48,7 +48,7 @@ class DeliveryType(ERP5TypeInformation):
"Creates a new delivery with a default ledger found on the portal type" "Creates a new delivery with a default ledger found on the portal type"
has_ledger_parameter = False has_ledger_parameter = False
for k in kw: for k in kw:
if k.startswith('ledger_'): if k.startswith('ledger'):
has_ledger_parameter = True has_ledger_parameter = True
if not has_ledger_parameter: if not has_ledger_parameter:
ledger = self.getDefaultLedger() ledger = self.getDefaultLedger()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment