From bb7e45031bfd2c3dbdca59e7a05e39b2e42834e7 Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Tue, 23 Jan 2018 14:30:11 +0000 Subject: [PATCH] [erp5_hal_json_style] Send the form update action --- .../portal_skins/erp5_hal_json_style/ERP5Document_getHateoas.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bt5/erp5_hal_json_style/SkinTemplateItem/portal_skins/erp5_hal_json_style/ERP5Document_getHateoas.py b/bt5/erp5_hal_json_style/SkinTemplateItem/portal_skins/erp5_hal_json_style/ERP5Document_getHateoas.py index 2873992f1f..0ec78e85f1 100644 --- a/bt5/erp5_hal_json_style/SkinTemplateItem/portal_skins/erp5_hal_json_style/ERP5Document_getHateoas.py +++ b/bt5/erp5_hal_json_style/SkinTemplateItem/portal_skins/erp5_hal_json_style/ERP5Document_getHateoas.py @@ -1050,6 +1050,7 @@ def renderFormDefinition(form, response_dict): response_dict["title"] = Base_translateString(form.getTitle()) response_dict["pt"] = form.pt response_dict["action"] = form.action + response_dict["update_action"] = form.update_action mime_type = 'application/hal+json' -- 2.30.9