{"en_US": "<form string=\"Server Action\">\n                    <header>\n                        <button name=\"create_action\" string=\"Create Contextual Action\" type=\"object\" class=\"btn-primary\" invisible=\"binding_model_id\" help=\"Display an option in the 'More' top-menu in order to run this action.\"/>\n                        <button name=\"unlink_action\" string=\"Remove Contextual Action\" type=\"object\" invisible=\"not binding_model_id\" help=\"Remove 'More' top-menu contextual action related to this action\"/>\n                        <button name=\"run\" string=\"Run\" type=\"object\" class=\"btn-primary\" invisible=\"model_name != 'ir.actions.server' or state != 'code'\" help=\"Run this action manually.\"/>\n                    </header>\n                    <sheet>\n                        <h1 class=\"oe_title\">\n                            <field name=\"name\" placeholder=\"e.g. Mass archive contacts\"/>\n                        </h1>\n                        <div class=\"d-flex flex-column\">\n                            <label for=\"state\"/>\n                            <field name=\"state\" widget=\"selection_badge\" options=\"{'size': 'sm'}\"/>\n                        </div>\n                        <group string=\"Technical Settings\" groups=\"base.group_no_one\">\n                            <group>\n                                <field name=\"model_id\" options=\"{'no_create': True, 'no_open': True}\"/>\n                                <field name=\"groups_id\" widget=\"many2many_tags\"/>\n                            </group>\n                        </group>\n                        <separator string=\"Action Details\" groups=\"base.group_no_one\"/>\n                        <div class=\"d-flex flex-row flex-wrap gap-2\" invisible=\"state != 'object_write'\">\n                            <field name=\"evaluation_type\" class=\"oe_inline\"/>\n                            <field name=\"update_path\" widget=\"DynamicModelFieldSelectorChar\" class=\"oe_inline\" options=\"{'model': 'model_name'}\" required=\"state == 'object_write'\"/>\n                            <field name=\"update_field_id\" invisible=\"True\"/>  <!-- The field is store=True and readonly=False, in this view we want to save the value from compute/onchange -->\n                            <field name=\"update_related_model_id\" invisible=\"True\"/> <!-- This field is required for 'resource_ref' to compute possible m2m and m2o values -->\n                            <span invisible=\"evaluation_type != 'value' or update_field_type not in ['one2many', 'many2many']\">by</span>\n                            <field name=\"update_m2m_operation\" class=\"oe_inline\" invisible=\"evaluation_type != 'value' or update_field_type not in ['one2many', 'many2many']\" required=\"update_field_type in ['one2many', 'many2many']\"/>\n                            <span invisible=\"evaluation_type != 'value' or update_field_type in ['one2many', 'many2many']\">to</span>\n                            <field name=\"value\" class=\"oe_inline\" placeholder=\"Set a value...\" invisible=\"update_field_id == False or value_field_to_show != 'value' or evaluation_type != 'value'\" string=\"Custom Value\"/>\n                            <field name=\"resource_ref\" class=\"oe_inline\" placeholder=\"Choose a value...\" string=\"Custom Value\" options=\"{'model_field': 'update_related_model_id', 'no_create': True, 'no_open': True}\" invisible=\" update_field_id == False or value_field_to_show != 'resource_ref' or evaluation_type == 'equation' or update_m2m_operation == 'clear'\"/>\n                            <field name=\"selection_value\" class=\"oe_inline\" placeholder=\"Choose a value...\" options=\"{'no_create': True, 'no_open': True}\" invisible=\" update_field_id == False or value_field_to_show != 'selection_value' or evaluation_type == 'equation'\"/>\n                            <field name=\"update_boolean_value\" class=\"oe_inline\" invisible=\"evaluation_type != 'value' or value_field_to_show != 'update_boolean_value'\" required=\"value_field_to_show == 'update_boolean_value'\"/>\n                            <span invisible=\"update_field_id != False or evaluation_type == 'equation'\" class=\"text-muted\">Set a value...</span>\n                            <span invisible=\"evaluation_type != 'equation'\">\n                                to this Python expression:\n                            </span>\n                            <div class=\"w-100 d-flex flex-row gap-3\" invisible=\"evaluation_type != 'equation'\">\n                                <field name=\"value\" class=\"w-50\" widget=\"code\" options=\"{'mode': 'python'}\" string=\"Expression\"/>\n                                <div class=\"w-50 opacity-75\">\n                                    <span colspan=\"2\" class=\"text-muted\"> Available variables: </span>\n                                        <ul colspan=\"2\" class=\"text-muted\">\n                                            <li><code>env</code>: environment on which the action is triggered</li>\n                                            <li><code>model</code>: model of the record on which the action is triggered; is a void recordset</li>\n                                            <li><code>record</code>: record on which the action is triggered</li>\n                                            <li><code>records</code>: recordset of all records on which the action is triggered in multi mode</li>\n                                            <li><code>time</code>, <code>datetime</code>, <code>dateutil</code>, <code>timezone</code>: useful Python libraries</li>\n                                            <li><code>float_compare()</code>: utility function to compare floats based on a specific precision</li>\n                                        </ul>\n                                </div>\n                            </div>\n                        </div>\n                        <group name=\"action_wrapper\">\n                            <group name=\"action_content\">\n                                <field name=\"model_id\" options=\"{'no_create': True, 'no_open': True}\" groups=\"!base.group_no_one\" invisible=\"context.get('default_model_id')\" domain=\"[('id', 'in', available_model_ids)]\"/>\n\n                                <field name=\"crud_model_id\" options=\"{'no_create': True, 'no_open': True}\" invisible=\"state != 'object_create'\" required=\"state == 'object_create'\"/>\n                                <field name=\"value\" widget=\"char\" string=\"Name\" invisible=\"state != 'object_create'\" help=\"The name of the record to create\" placeholder=\"e.g. Follow-up\"/>\n                                <field name=\"link_field_id\" domain=\"[('model_id', '=', model_id), ('relation', '=', crud_model_name),                                     ('ttype', 'in', ['many2one', 'one2many', 'many2many'])]\" placeholder=\"Select a field to link the record to\" options=\"{'no_create': True, 'no_open': True}\" invisible=\"state != 'object_create'\" context=\"{'default_model_id': model_id, 'default_relation': crud_model_name}\"/>\n                                    <field name=\"webhook_url\" string=\"URL\" invisible=\"state != 'webhook'\" placeholder=\"e.g. https://maker.ifttt.com/use/...\"/>\n                                    <field name=\"webhook_field_ids\" string=\"Fields\" invisible=\"state != 'webhook'\" widget=\"many2many_tags\" context=\"{'hide_model': 1}\" domain=\"[('model_id', '=', model_id)]\" placeholder=\"Select fields to include in the request...\"/>\n                                </group>\n                                <group invisible=\"state != 'webhook'\">\n                                    <label for=\"webhook_sample_payload\"/>\n                                    <field name=\"webhook_sample_payload\" string=\"Sample Payload\" nolabel=\"1\" colspan=\"2\" readonly=\"1\" widget=\"code\" options=\"{'mode': 'javascript'}\"/>\n                                </group>\n                        </group>\n                        <field name=\"child_ids\" domain=\"[('model_id', '=', model_id)]\" invisible=\"state != 'multi'\"/>\n                        <p class=\"oe_grey\" invisible=\"state != 'multi'\">\n                            If several child actions return an action, only the last one will be executed.\n                            This may happen when having server actions executing code that returns an action, or server actions returning a client action.\n                        </p>\n                        <notebook invisible=\"state != 'code'\">\n                            <page string=\"Code\">\n                                <field name=\"code\" invisible=\"state != 'code'\" widget=\"code\" options=\"{'mode': 'python'}\" placeholder=\"Enter Python code here. Help about Python expression is available in the help tab of this document.\"/>\n                            </page>\n                            <page string=\"Help\">\n                                <p>The following variables can be used:</p>\n                                <ul>\n                                    <li><code>env</code>: environment on which the action is triggered</li>\n                                    <li><code>model</code>: model of the record on which the action is triggered; is a void recordset</li>\n                                    <li><code>record</code>: record on which the action is triggered; may be be void</li>\n                                    <li><code>records</code>: recordset of all records on which the action is triggered in multi mode; may be void</li>\n                                    <li><code>time</code>, <code>datetime</code>, <code>dateutil</code>, <code>timezone</code>: useful Python libraries</li>\n                                    <li><code>float_compare()</code>: utility function to compare floats based on a specific precision</li>\n                                    <li><code>log(message, level='info')</code>: logging function to record debug information in <code>ir.logging</code> table</li>\n                                    <li><code>_logger.info(message)</code>: logger to emit messages in server logs</li>\n                                    <li><code>UserError</code>: exception class for raising user-facing warning messages</li>\n                                    <li><code>Command</code>: x2many commands namespace</li>\n                                    <li>To return an action, assign: <code>action = {...}</code></li>\n                                    <li>To notify progress for CRON call and re-trigger a call if there is remaining tasks, use <code>env['ir.cron']._notify_progress(done=task_done_count, remaining=task_remaining_count)</code></li>\n                                </ul>\n                                <div>\n                                    <p>Example of Python code:</p>\n<pre style=\"white-space: pre-wrap\">partner_name = record.name + '_code'\nenv['res.partner'].create({'name': partner_name})\n    </pre>\n                                </div>\n                            </page>\n                        </notebook>\n                    </sheet>\n                </form>", "es_ES": "<form string=\"Acción de servidor\">\n                    <header>\n                        <button name=\"create_action\" string=\"Crear acción contextual\" type=\"object\" class=\"btn-primary\" invisible=\"binding_model_id\" help=\"Mostrar una opción en el menú superior &quot;Más&quot; para ejecutar esta acción.\"/>\n                        <button name=\"unlink_action\" string=\"Eliminar la acción contextual\" type=\"object\" invisible=\"not binding_model_id\" help=\"Eliminar la acción contextual del menú superior &quot;Más&quot; relacionada con esta acción\"/>\n                        <button name=\"run\" string=\"Ejecutar\" type=\"object\" class=\"btn-primary\" invisible=\"model_name != 'ir.actions.server' or state != 'code'\" help=\"Ejecute esta acción manualmente.\"/>\n                    </header>\n                    <sheet>\n                        <h1 class=\"oe_title\">\n                            <field name=\"name\" placeholder=\"p. ej. archivar contactos en masa\"/>\n                        </h1>\n                        <div class=\"d-flex flex-column\">\n                            <label for=\"state\"/>\n                            <field name=\"state\" widget=\"selection_badge\" options=\"{'size': 'sm'}\"/>\n                        </div>\n                        <group string=\"Ajustes técnicos\" groups=\"base.group_no_one\">\n                            <group>\n                                <field name=\"model_id\" options=\"{'no_create': True, 'no_open': True}\"/>\n                                <field name=\"groups_id\" widget=\"many2many_tags\"/>\n                            </group>\n                        </group>\n                        <separator string=\"Detalles de la acción\" groups=\"base.group_no_one\"/>\n                        <div class=\"d-flex flex-row flex-wrap gap-2\" invisible=\"state != 'object_write'\">\n                            <field name=\"evaluation_type\" class=\"oe_inline\"/>\n                            <field name=\"update_path\" widget=\"DynamicModelFieldSelectorChar\" class=\"oe_inline\" options=\"{'model': 'model_name'}\" required=\"state == 'object_write'\"/>\n                            <field name=\"update_field_id\" invisible=\"True\"/>  <!-- The field is store=True and readonly=False, in this view we want to save the value from compute/onchange -->\n                            <field name=\"update_related_model_id\" invisible=\"True\"/> <!-- This field is required for 'resource_ref' to compute possible m2m and m2o values -->\n                            <span invisible=\"evaluation_type != 'value' or update_field_type not in ['one2many', 'many2many']\">por</span>\n                            <field name=\"update_m2m_operation\" class=\"oe_inline\" invisible=\"evaluation_type != 'value' or update_field_type not in ['one2many', 'many2many']\" required=\"update_field_type in ['one2many', 'many2many']\"/>\n                            <span invisible=\"evaluation_type != 'value' or update_field_type in ['one2many', 'many2many']\">a</span>\n                            <field name=\"value\" class=\"oe_inline\" placeholder=\"Establecer un valor...\" invisible=\"update_field_id == False or value_field_to_show != 'value' or evaluation_type != 'value'\" string=\"Valor personalizado\"/>\n                            <field name=\"resource_ref\" class=\"oe_inline\" placeholder=\"Elija un valor...\" string=\"Valor personalizado\" options=\"{'model_field': 'update_related_model_id', 'no_create': True, 'no_open': True}\" invisible=\" update_field_id == False or value_field_to_show != 'resource_ref' or evaluation_type == 'equation' or update_m2m_operation == 'clear'\"/>\n                            <field name=\"selection_value\" class=\"oe_inline\" placeholder=\"Elija un valor...\" options=\"{'no_create': True, 'no_open': True}\" invisible=\" update_field_id == False or value_field_to_show != 'selection_value' or evaluation_type == 'equation'\"/>\n                            <field name=\"update_boolean_value\" class=\"oe_inline\" invisible=\"evaluation_type != 'value' or value_field_to_show != 'update_boolean_value'\" required=\"value_field_to_show == 'update_boolean_value'\"/>\n                            <span invisible=\"update_field_id != False or evaluation_type == 'equation'\" class=\"text-muted\">Indicar un valor...</span>\n                            <span invisible=\"evaluation_type != 'equation'\">\n                                para esta expresión Python:\n                            </span>\n                            <div class=\"w-100 d-flex flex-row gap-3\" invisible=\"evaluation_type != 'equation'\">\n                                <field name=\"value\" class=\"w-50\" widget=\"code\" options=\"{'mode': 'python'}\" string=\"Expresión\"/>\n                                <div class=\"w-50 opacity-75\">\n                                    <span colspan=\"2\" class=\"text-muted\"> Variables disponibles: </span>\n                                        <ul colspan=\"2\" class=\"text-muted\">\n                                            <li><code>env</code>: entorno en el que se activa la acción.</li>\n                                            <li><code>model</code>: modelo del registro en el cual se activa la acción. Es un conjunto de registros vacío.</li>\n                                            <li><code>record</code>: registro en el que se activa la acción</li>\n                                            <li><code>records</code>: conjunto de todos los registros en lo cuales la acción fue activada en modo múltiple</li>\n                                            <li><code>time</code>, <code>datetime</code>, <code>dateutil</code>, <code>timezone</code>: bibliotecas útiles de Python</li>\n                                            <li><code>float_compare()</code>: función de utilidad para comparar flotas basada en una precisión específica.</li>\n                                        </ul>\n                                </div>\n                            </div>\n                        </div>\n                        <group name=\"action_wrapper\">\n                            <group name=\"action_content\">\n                                <field name=\"model_id\" options=\"{'no_create': True, 'no_open': True}\" groups=\"!base.group_no_one\" invisible=\"context.get('default_model_id')\" domain=\"[('id', 'in', available_model_ids)]\"/>\n\n                                <field name=\"crud_model_id\" options=\"{'no_create': True, 'no_open': True}\" invisible=\"state != 'object_create'\" required=\"state == 'object_create'\"/>\n                                <field name=\"value\" widget=\"char\" string=\"Nombre\" invisible=\"state != 'object_create'\" help=\"El nombre del registro a crear\" placeholder=\"p. ej., seguimiento\"/>\n                                <field name=\"link_field_id\" domain=\"[('model_id', '=', model_id), ('relation', '=', crud_model_name),                                     ('ttype', 'in', ['many2one', 'one2many', 'many2many'])]\" placeholder=\"Seleccione un campo al cual vincular el registro\" options=\"{'no_create': True, 'no_open': True}\" invisible=\"state != 'object_create'\" context=\"{'default_model_id': model_id, 'default_relation': crud_model_name}\"/>\n                                    <field name=\"webhook_url\" string=\"URL\" invisible=\"state != 'webhook'\" placeholder=\"p. ej., https://maker.ifttt.com/use/...\"/>\n                                    <field name=\"webhook_field_ids\" string=\"Campos\" invisible=\"state != 'webhook'\" widget=\"many2many_tags\" context=\"{'hide_model': 1}\" domain=\"[('model_id', '=', model_id)]\" placeholder=\"Campos seleccionados para incluir en la solicitud...\"/>\n                                </group>\n                                <group invisible=\"state != 'webhook'\">\n                                    <label for=\"webhook_sample_payload\"/>\n                                    <field name=\"webhook_sample_payload\" string=\"Carga efectiva de ejemplo\" nolabel=\"1\" colspan=\"2\" readonly=\"1\" widget=\"code\" options=\"{'mode': 'javascript'}\"/>\n                                </group>\n                        </group>\n                        <field name=\"child_ids\" domain=\"[('model_id', '=', model_id)]\" invisible=\"state != 'multi'\"/>\n                        <p class=\"oe_grey\" invisible=\"state != 'multi'\">\n                            Si varias acciones hijas devuelven a su vez una acción, sólo se ejecutará la última.\nEsto puede ocurrir cuando se tengan acciones de servidor ejecutando código que devuelve una acción, o varias acciones de servidor devolviendo una acción de cliente.\n                        </p>\n                        <notebook invisible=\"state != 'code'\">\n                            <page string=\"Código\">\n                                <field name=\"code\" invisible=\"state != 'code'\" widget=\"code\" options=\"{'mode': 'python'}\" placeholder=\"Introduzca código Python aquí. Ayuda disponible sobre expresiones Python en la pestaña de ayuda de este documento.\"/>\n                            </page>\n                            <page string=\"Ayuda\">\n                                <p>Puede usar las siguientes variables:</p>\n                                <ul>\n                                    <li><code>env</code>: entorno en el que se activa la acción.</li>\n                                    <li><code>model</code>: modelo del registro en el cual se activa la acción. Es un conjunto de registros vacío.</li>\n                                    <li><code>record</code>: registro en el que se activa la acción; puede estar vacío</li>\n                                    <li><code>records</code>: conjunto de todos los registros en lo cuales la acción fue activada en modo múltiple; puede ser vacío</li>\n                                    <li><code>time</code>, <code>datetime</code>, <code>dateutil</code>, <code>timezone</code>: bibliotecas útiles de Python</li>\n                                    <li><code>float_compare()</code>: función de utilidad para comparar flotas basada en una precisión específica.</li>\n                                    <li><code>log(message, level='info')</code>: función de registro para registrar información de depuración en la tabla <code>ir.logging</code></li>\n                                    <li><code>_logger.info(message)</code>: registrador para emitir mensajes en los registros del servidor</li>\n                                    <li><code>UserError</code>: clase de excepción para generar mensajes de advertencia dirigidos al usuario</li>\n                                    <li><code>Command</code>: espacios de nombres de comandos x2many</li>\n                                    <li>Para devolver una acción, asigne: <code>action = {...}</code></li>\n                                    <li>Para notificar el progreso para la llamada del CRON y vuelva a activar la llamada si hay tareas faltantes, use <code>env['ir.cron']._notify_progress(done=task_done_count, remaining=task_remaining_count)</code></li>\n                                </ul>\n                                <div>\n                                    <p>Ejemplo de código Python:</p>\n<pre style=\"white-space: pre-wrap\">partner_name = record.name + '_code'\nenv['res.partner'].create({'name': partner_name})\n    </pre>\n                                </div>\n                            </page>\n                        </notebook>\n                    </sheet>\n                </form>", "pt_PT": "<form string=\"Ação de Servidor\">\n                    <header>\n                        <button name=\"create_action\" string=\"Criar Ação Contextual\" type=\"object\" class=\"btn-primary\" invisible=\"binding_model_id\" help=\"Exibir uma opção no menu superior &quot;Mais&quot; a fim de executar esta ação.\"/>\n                        <button name=\"unlink_action\" string=\"Remover Ação Contextual\" type=\"object\" invisible=\"not binding_model_id\" help=\"Remover ação contextual do menu superior 'Mais' relacionada a esta ação\"/>\n                        <button name=\"run\" string=\"Executar\" type=\"object\" class=\"btn-primary\" invisible=\"model_name != 'ir.actions.server' or state != 'code'\" help=\"Execute esta ação manualmente.\"/>\n                    </header>\n                    <sheet>\n                        <h1 class=\"oe_title\">\n                            <field name=\"name\" placeholder=\"e.g. Mass archive contacts\"/>\n                        </h1>\n                        <div class=\"d-flex flex-column\">\n                            <label for=\"state\"/>\n                            <field name=\"state\" widget=\"selection_badge\" options=\"{'size': 'sm'}\"/>\n                        </div>\n                        <group string=\"Configurações técnicas\" groups=\"base.group_no_one\">\n                            <group>\n                                <field name=\"model_id\" options=\"{'no_create': True, 'no_open': True}\"/>\n                                <field name=\"groups_id\" widget=\"many2many_tags\"/>\n                            </group>\n                        </group>\n                        <separator string=\"Detalhe da Acção\" groups=\"base.group_no_one\"/>\n                        <div class=\"d-flex flex-row flex-wrap gap-2\" invisible=\"state != 'object_write'\">\n                            <field name=\"evaluation_type\" class=\"oe_inline\"/>\n                            <field name=\"update_path\" widget=\"DynamicModelFieldSelectorChar\" class=\"oe_inline\" options=\"{'model': 'model_name'}\" required=\"state == 'object_write'\"/>\n                            <field name=\"update_field_id\" invisible=\"True\"/>  <!-- The field is store=True and readonly=False, in this view we want to save the value from compute/onchange -->\n                            <field name=\"update_related_model_id\" invisible=\"True\"/> <!-- This field is required for 'resource_ref' to compute possible m2m and m2o values -->\n                            <span invisible=\"evaluation_type != 'value' or update_field_type not in ['one2many', 'many2many']\">por</span>\n                            <field name=\"update_m2m_operation\" class=\"oe_inline\" invisible=\"evaluation_type != 'value' or update_field_type not in ['one2many', 'many2many']\" required=\"update_field_type in ['one2many', 'many2many']\"/>\n                            <span invisible=\"evaluation_type != 'value' or update_field_type in ['one2many', 'many2many']\">para</span>\n                            <field name=\"value\" class=\"oe_inline\" placeholder=\"Set a value...\" invisible=\"update_field_id == False or value_field_to_show != 'value' or evaluation_type != 'value'\" string=\"Valor personalizado\"/>\n                            <field name=\"resource_ref\" class=\"oe_inline\" placeholder=\"Choose a value...\" string=\"Valor personalizado\" options=\"{'model_field': 'update_related_model_id', 'no_create': True, 'no_open': True}\" invisible=\" update_field_id == False or value_field_to_show != 'resource_ref' or evaluation_type == 'equation' or update_m2m_operation == 'clear'\"/>\n                            <field name=\"selection_value\" class=\"oe_inline\" placeholder=\"Choose a value...\" options=\"{'no_create': True, 'no_open': True}\" invisible=\" update_field_id == False or value_field_to_show != 'selection_value' or evaluation_type == 'equation'\"/>\n                            <field name=\"update_boolean_value\" class=\"oe_inline\" invisible=\"evaluation_type != 'value' or value_field_to_show != 'update_boolean_value'\" required=\"value_field_to_show == 'update_boolean_value'\"/>\n                            <span invisible=\"update_field_id != False or evaluation_type == 'equation'\" class=\"text-muted\">Set a value...</span>\n                            <span invisible=\"evaluation_type != 'equation'\">\n                                to this Python expression:\n                            </span>\n                            <div class=\"w-100 d-flex flex-row gap-3\" invisible=\"evaluation_type != 'equation'\">\n                                <field name=\"value\" class=\"w-50\" widget=\"code\" options=\"{'mode': 'python'}\" string=\"Expressão\"/>\n                                <div class=\"w-50 opacity-75\">\n                                    <span colspan=\"2\" class=\"text-muted\"> Available variables: </span>\n                                        <ul colspan=\"2\" class=\"text-muted\">\n                                            <li><code>env</code> : ambiente no qual a ação é acionada</li>\n                                            <li><code>model</code> : modelo do registo no qual a ação é acionada; é um conjunto de registos vazio</li>\n                                            <li><code>record</code>: record on which the action is triggered</li>\n                                            <li><code>records</code>: recordset of all records on which the action is triggered in multi mode</li>\n                                            <li><code>time</code>, <code>datetime</code>, <code>dateutil</code>, <code>timezone</code>: bibliotecas Python úteis</li>\n                                            <li><code>float_compare()</code> : função utilitária para comparar floats com base numa precisão específica</li>\n                                        </ul>\n                                </div>\n                            </div>\n                        </div>\n                        <group name=\"action_wrapper\">\n                            <group name=\"action_content\">\n                                <field name=\"model_id\" options=\"{'no_create': True, 'no_open': True}\" groups=\"!base.group_no_one\" invisible=\"context.get('default_model_id')\" domain=\"[('id', 'in', available_model_ids)]\"/>\n\n                                <field name=\"crud_model_id\" options=\"{'no_create': True, 'no_open': True}\" invisible=\"state != 'object_create'\" required=\"state == 'object_create'\"/>\n                                <field name=\"value\" widget=\"char\" string=\"Nome\" invisible=\"state != 'object_create'\" help=\"The name of the record to create\" placeholder=\"e.g. Follow-up\"/>\n                                <field name=\"link_field_id\" domain=\"[('model_id', '=', model_id), ('relation', '=', crud_model_name),                                     ('ttype', 'in', ['many2one', 'one2many', 'many2many'])]\" placeholder=\"Select a field to link the record to\" options=\"{'no_create': True, 'no_open': True}\" invisible=\"state != 'object_create'\" context=\"{'default_model_id': model_id, 'default_relation': crud_model_name}\"/>\n                                    <field name=\"webhook_url\" string=\"URL\" invisible=\"state != 'webhook'\" placeholder=\"e.g. https://maker.ifttt.com/use/...\"/>\n                                    <field name=\"webhook_field_ids\" string=\"Campos\" invisible=\"state != 'webhook'\" widget=\"many2many_tags\" context=\"{'hide_model': 1}\" domain=\"[('model_id', '=', model_id)]\" placeholder=\"Select fields to include in the request...\"/>\n                                </group>\n                                <group invisible=\"state != 'webhook'\">\n                                    <label for=\"webhook_sample_payload\"/>\n                                    <field name=\"webhook_sample_payload\" string=\"Sample Payload\" nolabel=\"1\" colspan=\"2\" readonly=\"1\" widget=\"code\" options=\"{'mode': 'javascript'}\"/>\n                                </group>\n                        </group>\n                        <field name=\"child_ids\" domain=\"[('model_id', '=', model_id)]\" invisible=\"state != 'multi'\"/>\n                        <p class=\"oe_grey\" invisible=\"state != 'multi'\">\n                            If several child actions return an action, only the last one will be executed.\n                            This may happen when having server actions executing code that returns an action, or server actions returning a client action.\n                        </p>\n                        <notebook invisible=\"state != 'code'\">\n                            <page string=\"Código\">\n                                <field name=\"code\" invisible=\"state != 'code'\" widget=\"code\" options=\"{'mode': 'python'}\" placeholder=\"Introduza aqui código Python. O tab de ajuda deste documento disponibiliza documentação informação sobre expressões Python.\"/>\n                            </page>\n                            <page string=\"Ajuda\">\n                                <p>The following variables can be used:</p>\n                                <ul>\n                                    <li><code>env</code> : ambiente no qual a ação é acionada</li>\n                                    <li><code>model</code> : modelo do registo no qual a ação é acionada; é um conjunto de registos vazio</li>\n                                    <li><code>record</code>: registro no qual a ação é acionada; pode ser nulo</li>\n                                    <li><code>records</code>: conjunto de registos de todos os registos nos quais a ação é acionada em modo múltiplo; pode ser nulo</li>\n                                    <li><code>time</code>, <code>datetime</code>, <code>dateutil</code>, <code>timezone</code>: bibliotecas Python úteis</li>\n                                    <li><code>float_compare()</code> : função utilitária para comparar floats com base numa precisão específica</li>\n                                    <li><code>log(message, level='info')</code> : função de registo para registar informações de depuração na tabela <code>ir.logging</code></li>\n                                    <li><code>_logger.info(message)</code> : logger para emitir mensagens em logs do servidor</li>\n                                    <li><code>UserError</code> : classe de exceção para gerar mensagens de aviso para o utilizador</li>\n                                    <li><code>Command</code> : namespace de comandos x2many</li>\n                                    <li>Para retornar uma ação, atribua: <code>action = {...}</code></li>\n                                    <li>To notify progress for CRON call and re-trigger a call if there is remaining tasks, use <code>env['ir.cron']._notify_progress(done=task_done_count, remaining=task_remaining_count)</code></li>\n                                </ul>\n                                <div>\n                                    <p>Example of Python code:</p>\n<pre style=\"white-space: pre-wrap\">partner_name = record.name + '_code'\nenv['res.partner'].create({'name': partner_name})\n    </pre>\n                                </div>\n                            </page>\n                        </notebook>\n                    </sheet>\n                </form>"}