@@ -13,6 +13,38 @@ msgstr ""
1313"Content-Transfer-Encoding : \n "
1414"Plural-Forms : \n "
1515
16+ #. module: api_log_mail
17+ #: model:mail.template,body_html: api_log_mail.email_template_fastapi_error
18+ msgid ""
19+ "<div>\n"
20+ " <t t-set=\" endpoint_name\" t-value=\" object.collection_ref.name\" ></t>\n"
21+ " <t t-set=\" request_url\" t-value=\" object.request_url\" ></t>\n"
22+ " <t t-set=\" request_method\" t-value=\" object.request_method\" ></t>\n"
23+ " <t t-set=\" headers\" t-value=\" object.request_headers\" ></t>\n"
24+ " <t t-set=\" exception\" t-value=\" object.response_body\" ></t>\n"
25+ " <t t-set=\" exception_stack\" t-value=\" object.stack_trace\" ></t>\n"
26+ "\n"
27+ " <p>Error in FastAPI call</p>\n"
28+ " <p>FastAPI endpoint: <t t-out=\" endpoint_name\" ></t></p>\n"
29+ " <p>Request: [<t t-out=\" request_method\" ></t>] <t t-out=\" request_url\" ></t></p>\n"
30+ " <p>\n"
31+ " Headers:\n"
32+ " <ul>\n"
33+ " <li t-foreach=\" headers.items()\" t-as=\" hd\" >\n"
34+ " <t t-out=\" hd[0]\" ></t>: <t t-out=\" hd[1]\" ></t>\n"
35+ " </li>\n"
36+ " </ul>\n"
37+ " </p>\n"
38+ " <p>\n"
39+ " Exception: <t t-out=\" exception\" ></t>\n"
40+ " </p>\n"
41+ " <p>\n"
42+ " Stack trace: <pre t-out=\" exception_stack\" ></pre>\n"
43+ " </p>\n"
44+ " </div>\n"
45+ " "
46+ msgstr ""
47+
1648#. module: api_log_mail
1749#: model:ir.model.fields,field_description: api_log_mail.field_api_log__message_needaction
1850msgid "Action Needed"
@@ -72,6 +104,11 @@ msgstr ""
72104msgid "Error E-mail Template"
73105msgstr ""
74106
107+ #. module: api_log_mail
108+ #: model:mail.template,name: api_log_mail.email_template_fastapi_error
109+ msgid "FastAPI: Error"
110+ msgstr ""
111+
75112#. module: api_log_mail
76113#: model:ir.model.fields,field_description: api_log_mail.field_api_log__message_follower_ids
77114msgid "Followers"
@@ -177,6 +214,11 @@ msgstr ""
177214msgid "Number of messages with delivery error"
178215msgstr ""
179216
217+ #. module: api_log_mail
218+ #: model:mail.template,subject: api_log_mail.email_template_fastapi_error
219+ msgid "Odoo FastAPI Error"
220+ msgstr ""
221+
180222#. module: api_log_mail
181223#: model:ir.model.fields,field_description: api_log_mail.field_api_log__activity_user_id
182224msgid "Responsible User"
0 commit comments