Commit 02eac1e8 authored by Nicolas Wavrant's avatar Nicolas Wavrant

erp5_payroll_l10n_fr: do not select draft paysheets for DSN neither

parent be63ae43
......@@ -12,6 +12,7 @@ catalog_kw = {'query': ComplexQuery(Query(start_date=">=%s" % from_date.strftime
Query(destination_trade_uid=Query(destination_trade_uid=destination_trade.getUid())),
Query(simulation_state='!=cancelled'),
Query(simulation_state='!=deleted'),
Query(simulation_state='!=draft'),
logical_operator="AND")}
paysheet_list = portal.accounting_module.searchFolder(portal_type="Pay Sheet Transaction", **catalog_kw)
......
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