Commit f6d96c46 authored by Nicolas Wavrant's avatar Nicolas Wavrant

erp5_payroll_l10n_fr: reflects change in entreprise/employer from paysheets...

erp5_payroll_l10n_fr: reflects change in entreprise/employer from paysheets into the dialog aggregating paysheets for DSN social reports
parent 8d82d382
...@@ -5,11 +5,11 @@ from Products.ZSQLCatalog.SQLCatalog import ComplexQuery, Query ...@@ -5,11 +5,11 @@ from Products.ZSQLCatalog.SQLCatalog import ComplexQuery, Query
portal = context.getPortalObject() portal = context.getPortalObject()
destination_section = portal.restrictedTraverse(destination_section_category) destination_trade = portal.restrictedTraverse(destination_trade_category)
catalog_kw = {'query': ComplexQuery(Query(start_date=">=%s" % from_date.strftime("%Y/%m/%d")), catalog_kw = {'query': ComplexQuery(Query(start_date=">=%s" % from_date.strftime("%Y/%m/%d")),
Query(stop_date="<=%s" % to_date.strftime("%Y/%m/%d")), Query(stop_date="<=%s" % to_date.strftime("%Y/%m/%d")),
Query(destination_section_uid=Query(destination_section_uid=destination_section.getUid())), Query(destination_trade_uid=Query(destination_trade_uid=destination_trade.getUid())),
Query(simulation_state='!=cancelled'), Query(simulation_state='!=cancelled'),
operator="AND")} operator="AND")}
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>destination_section_category=None, from_date=None, to_date=None, **kw</string> </value> <value> <string>destination_trade_category=None, from_date=None, to_date=None, **kw</string> </value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
......
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
<key> <string>left</string> </key> <key> <string>left</string> </key>
<value> <value>
<list> <list>
<string>your_destination_section_category</string> <string>your_destination_trade_category</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>your_destination_section_category</string> </value> <value> <string>your_destination_trade_category</string> </value>
</item> </item>
<item> <item>
<key> <string>message_values</string> </key> <key> <string>message_values</string> </key>
...@@ -112,7 +112,7 @@ ...@@ -112,7 +112,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Establishment</string> </value> <value> <string>Employer</string> </value>
</item> </item>
</dictionary> </dictionary>
</value> </value>
......
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