Commit 984f5b69 authored by Romain Courteaud's avatar Romain Courteaud

slapos_accounting: only check Invoice amount

parent b6da5df1
...@@ -21,6 +21,7 @@ from Products.ZSQLCatalog.SQLCatalog import SimpleQuery, ComplexQuery ...@@ -21,6 +21,7 @@ from Products.ZSQLCatalog.SQLCatalog import SimpleQuery, ComplexQuery
portal = context.getPortalObject() portal = context.getPortalObject()
params = dict() params = dict()
params['portal_type'] = portal_type
if at_date: if at_date:
params['at_date'] = at_date params['at_date'] = at_date
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>resource_uid=None, section_uid=None, group_by_node=True, at_date=None, include_planned=True, ledger_uid=None, **kw</string> </value> <value> <string>resource_uid=None, section_uid=None, group_by_node=True, at_date=None, include_planned=False, ledger_uid=None, portal_type=\'Sale Invoice Transaction Line\', **kw</string> </value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
......
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