Commit cbb03748 authored by Jérome Perrin's avatar Jérome Perrin

do not force section_category= except for draft

This does not work well with erp5_accounting_alternate_catalog.
It is left for draft transactions, because draft may not have any section set.

For the records, the idea behind is to prevent an unexpected behaviour when a
user have a section_category in his selection and calls a worklist which is
also supposed to display transactions which are not part of the selected
section_category. In such case, section_category= is passed to reset the
selected section_category and display all transactions, the problem is that
alternate catalog is not able to decide wether to display source or destination
section in that case
parent bcc7a8d7
......@@ -18,7 +18,7 @@
<key> <string>actbox_url</string> </key>
<value> <string encoding="cdata"><![CDATA[
accounting_module/view?reset:int=1&local_roles=%(local_roles)s&simulation_state:list=planned&simulation_state:list=confirmed&portal_type=%(portal_type)s&section_category=
accounting_module/view?reset:int=1&local_roles=%(local_roles)s&simulation_state:list=planned&simulation_state:list=confirmed&portal_type=%(portal_type)s
]]></string> </value>
</item>
......
......@@ -18,7 +18,7 @@
<key> <string>actbox_url</string> </key>
<value> <string encoding="cdata"><![CDATA[
accounting_module/view?reset:int=1&local_roles=%(local_roles)s&simulation_state=started&portal_type=%(portal_type)s&section_category=
accounting_module/view?reset:int=1&local_roles=%(local_roles)s&simulation_state=started&portal_type=%(portal_type)s
]]></string> </value>
</item>
......
......@@ -18,7 +18,7 @@
<key> <string>actbox_url</string> </key>
<value> <string encoding="cdata"><![CDATA[
accounting_module/view?reset:int=1&local_roles=%(local_roles)s&simulation_state=stopped&portal_type=%(portal_type)s&section_category=
accounting_module/view?reset:int=1&local_roles=%(local_roles)s&simulation_state=stopped&portal_type=%(portal_type)s
]]></string> </value>
</item>
......
......@@ -18,7 +18,7 @@
<key> <string>actbox_url</string> </key>
<value> <string encoding="cdata"><![CDATA[
accounting_module/view?reset:int=1&local_roles=%(local_roles)s&portal_type=%(portal_type)s&causality_state=diverged&simulation_state:list=planned&simulation_state:list=confirmed&simulation_state:list=started&simulation_state:list=stopped&simulation_state:list=delivered&section_category=
accounting_module/view?reset:int=1&local_roles=%(local_roles)s&portal_type=%(portal_type)s&causality_state=diverged&simulation_state:list=planned&simulation_state:list=confirmed&simulation_state:list=started&simulation_state:list=stopped&simulation_state:list=delivered
]]></string> </value>
</item>
......
......@@ -18,7 +18,7 @@
<key> <string>actbox_url</string> </key>
<value> <string encoding="cdata"><![CDATA[
accounting_module/view?reset:int=1&local_roles=%(local_roles)s&portal_type=%(portal_type)s&causality_state=diverged&simulation_state:list=planned&simulation_state:list=confirmed&simulation_state:list=started&simulation_state:list=stopped&simulation_state:list=delivered&section_category=
accounting_module/view?reset:int=1&local_roles=%(local_roles)s&portal_type=%(portal_type)s&causality_state=diverged&simulation_state:list=planned&simulation_state:list=confirmed&simulation_state:list=started&simulation_state:list=stopped&simulation_state:list=delivered
]]></string> </value>
</item>
......
1524
\ No newline at end of file
1525
\ No newline at end of file
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