diff --git a/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckbookReception_checkOrCreateItemList.xml b/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckbookReception_checkOrCreateItemList.xml index 2cd78011f8c1f2f4ffb0e40d097d44ddc3bf6b1c..43717a9e2a45cbfa1c781bc8d71e8dfb190583fc 100644 --- a/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckbookReception_checkOrCreateItemList.xml +++ b/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckbookReception_checkOrCreateItemList.xml @@ -81,6 +81,10 @@ if destination_id is None:\n msg = Message(domain=\'ui\', message=\'Sorry, you must define the site\')\n raise ValidationFailed, (msg, )\n \n +# serialize destination vault to only have one operation at a time\n +destination_value = context.getDestinationValue()\n +destination_value.serialize()\n +\n # first check that there is not a particular tag\n checkbook_reception_tag = "CheckbookReception_%s" % destination_id\n if context.portal_activities.countMessageWithTag(checkbook_reception_tag) != 0:\n @@ -158,6 +162,7 @@ if create==1:\n <string>destination_id</string> <string>None</string> <string>msg</string> + <string>destination_value</string> <string>checkbook_reception_tag</string> <string>line_list</string> <string>encountered_check_identifiers_dict</string> diff --git a/bt5/erp5_banking_check/bt/revision b/bt5/erp5_banking_check/bt/revision index 8db9866c8463f9bebbc4a3bdc87d5455578267c9..4f37670799715b48e31ab1be1c419f6ddbb19056 100644 --- a/bt5/erp5_banking_check/bt/revision +++ b/bt5/erp5_banking_check/bt/revision @@ -1 +1 @@ -332 \ No newline at end of file +333 \ No newline at end of file