Commit 65a30e82 authored by Jérome Perrin's avatar Jérome Perrin

another fix due to side change in aggregate relation.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10079 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d7976bdf
No related merge requests found
...@@ -72,8 +72,10 @@ ...@@ -72,8 +72,10 @@
"""\n """\n
from Products.DCWorkflow.DCWorkflow import ValidationFailed\n from Products.DCWorkflow.DCWorkflow import ValidationFailed\n
transmission_sheet = sci[\'object\']\n transmission_sheet = sci[\'object\']\n
portal = transmission_sheet.getPortalObject()\n
\n \n
if not transmission_sheet.getAggregateList():\n if not transmission_sheet.getRelatedAggregateList(\n
portal_type=portal.getPortalInvoiceTypeList()):\n
raise ValidationFailed(\'No Invoices selected.\')\n raise ValidationFailed(\'No Invoices selected.\')\n
</string> </value> </string> </value>
</item> </item>
...@@ -83,6 +85,12 @@ if not transmission_sheet.getAggregateList():\n ...@@ -83,6 +85,12 @@ if not transmission_sheet.getAggregateList():\n
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>_dav_writelocks</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>_filepath</string> </key> <key> <string>_filepath</string> </key>
<value> <value>
...@@ -123,6 +131,7 @@ if not transmission_sheet.getAggregateList():\n ...@@ -123,6 +131,7 @@ if not transmission_sheet.getAggregateList():\n
<string>_getitem_</string> <string>_getitem_</string>
<string>transmission_sheet</string> <string>transmission_sheet</string>
<string>_getattr_</string> <string>_getattr_</string>
<string>portal</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -150,4 +159,25 @@ if not transmission_sheet.getAggregateList():\n ...@@ -150,4 +159,25 @@ if not transmission_sheet.getAggregateList():\n
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Persistence</string>
<string>PersistentMapping</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_container</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
5 6
\ No newline at end of file \ 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