@@ -14,6 +14,46 @@ msgstr ""
1414"Content-Transfer-Encoding : \n "
1515"Plural-Forms : nplurals=2; plural=n != 1;\n "
1616
17+ #. module: api_log_mail
18+ #: model:mail.template,body_html: api_log_mail.email_template_fastapi_error
19+ msgid ""
20+ "<div>\n"
21+ " <t t-set=\" endpoint_name\" t-"
22+ "value=\" object.collection_ref.name\" ></t>\n"
23+ " <t t-set=\" request_url\" t-value=\" object.request_url\" ></"
24+ "t>\n"
25+ " <t t-set=\" request_method\" t-"
26+ "value=\" object.request_method\" ></t>\n"
27+ " <t t-set=\" headers\" t-value=\" object.request_headers\" ></"
28+ "t>\n"
29+ " <t t-set=\" exception\" t-value=\" object.response_body\" ></"
30+ "t>\n"
31+ " <t t-set=\" exception_stack\" t-"
32+ "value=\" object.stack_trace\" ></t>\n"
33+ "\n"
34+ " <p>Error in FastAPI call</p>\n"
35+ " <p>FastAPI endpoint: <t t-out=\" endpoint_name\" ></t></p>\n"
36+ " <p>Request: [<t t-out=\" request_method\" ></t>] <t t-"
37+ "out=\" request_url\" ></t></p>\n"
38+ " <p>\n"
39+ " Headers:\n"
40+ " <ul>\n"
41+ " <li t-foreach=\" headers.items()\" t-as=\" hd\" >\n"
42+ " <t t-out=\" hd[0]\" ></t>: <t t-out=\" hd[1]\" ></"
43+ "t>\n"
44+ " </li>\n"
45+ " </ul>\n"
46+ " </p>\n"
47+ " <p>\n"
48+ " Exception: <t t-out=\" exception\" ></t>\n"
49+ " </p>\n"
50+ " <p>\n"
51+ " Stack trace: <pre t-out=\" exception_stack\" ></pre>\n"
52+ " </p>\n"
53+ " </div>\n"
54+ " "
55+ msgstr ""
56+
1757#. module: api_log_mail
1858#: model:ir.model.fields,field_description: api_log_mail.field_api_log__message_needaction
1959msgid "Action Needed"
@@ -73,6 +113,11 @@ msgstr ""
73113msgid "Error E-mail Template"
74114msgstr ""
75115
116+ #. module: api_log_mail
117+ #: model:mail.template,name: api_log_mail.email_template_fastapi_error
118+ msgid "FastAPI: Error"
119+ msgstr ""
120+
76121#. module: api_log_mail
77122#: model:ir.model.fields,field_description: api_log_mail.field_api_log__message_follower_ids
78123msgid "Followers"
@@ -178,6 +223,11 @@ msgstr ""
178223msgid "Number of messages with delivery error"
179224msgstr ""
180225
226+ #. module: api_log_mail
227+ #: model:mail.template,subject: api_log_mail.email_template_fastapi_error
228+ msgid "Odoo FastAPI Error"
229+ msgstr ""
230+
181231#. module: api_log_mail
182232#: model:ir.model.fields,field_description: api_log_mail.field_api_log__activity_user_id
183233msgid "Responsible User"
0 commit comments