diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_edit.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_edit.xml index 9dae4d4f465e1a26231eea265cb830ee54b7c90e..caf66afaedf81ec9bebfddd4912b6d0849e56ccc 100644 --- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_edit.xml +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_edit.xml @@ -121,10 +121,11 @@ def editListBox(listbox_field, listbox):\n for key, value in cleaned_v.items():\n if value == \'\':\n cleaned_v[key] = None\n - if listbox_edit is None:\n - context.restrictedTraverse(url).edit(edit_order=edit_order, **cleaned_v)\n - else:\n - listbox_edit(url, edit_order, cleaned_v)\n + if cleaned_v:\n + if listbox_edit is None:\n + context.restrictedTraverse(url).edit(edit_order=edit_order, **cleaned_v)\n + else:\n + listbox_edit(url, edit_order, cleaned_v)\n \n def editMatrixBox(matrixbox_field, matrixbox):\n """ Function called to edit a Matrix box\n diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision index c45cc20223e4db4d8cfa5a77c951fc4bd1ef698d..0183df9f8164ddf09c4e2ff5bcf038ebb9f84969 100644 --- a/product/ERP5/bootstrap/erp5_core/bt/revision +++ b/product/ERP5/bootstrap/erp5_core/bt/revision @@ -1 +1 @@ -41052 \ No newline at end of file +41053 \ No newline at end of file