Commit c3bcb6c4 authored by Vincent Pelletier's avatar Vincent Pelletier

erp5_payroll_l10n_fr: Catalog does not support positional parameters.

parent cec2bbfb
......@@ -22,7 +22,7 @@ else:
from_date = DateTime(effective_date.year(), effective_date.month(), 1)
# We report leave periods which are not over yet ...
result = portal.portal_catalog(SimpleQuery(expiration_date=None), portal_type='Leave Request Period')
result = portal.portal_catalog(query=SimpleQuery(expiration_date=None), portal_type='Leave Request Period')
leave_period_list = [period.getObject() for period in result]
# ... And leave periods which ended during last period
......
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