login_custom.xml 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <data>
  4. <!-- 1. Configuración de Tailwind (Inyectar en el Head) - Solo para tema M22 -->
  5. <template id="m22_tailwind_config" inherit_id="web.layout" name="M22 Tailwind Config">
  6. <xpath expr="//head" position="inside">
  7. <t t-if="request.website and request.website.sudo().theme_id and request.website.sudo().theme_id.name == 'theme_m22tc'">
  8. <!-- Google Fonts (Inter) -->
  9. <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&amp;display=swap" rel="stylesheet"/>
  10. <!-- Tailwind CSS CDN -->
  11. <script src="https://cdn.tailwindcss.com"></script>
  12. <!-- Tailwind Config Script -->
  13. <script>
  14. tailwind.config = {
  15. darkMode: "class",
  16. theme: {
  17. extend: {
  18. colors: {
  19. primary: {
  20. DEFAULT: '#FF6B00',
  21. '400': '#FFA756'
  22. },
  23. secondary: '#E1467C',
  24. "background-dark": "#0A051D",
  25. },
  26. fontFamily: {
  27. sans: ["Inter", "sans-serif"],
  28. },
  29. borderRadius: {
  30. DEFAULT: "1rem",
  31. lg: "1.25rem",
  32. },
  33. },
  34. },
  35. };
  36. </script>
  37. <!-- Custom Styles -->
  38. <style>
  39. .focus-gradient-border:focus {
  40. outline: none;
  41. box-shadow: 0 0 0 2px #0A051D, 0 0 0 4px #FF6B00;
  42. }
  43. .focus-gradient-border-alt:focus {
  44. outline: none;
  45. border-color: transparent;
  46. background-image: linear-gradient(#0A051D, #0A051D), linear-gradient(to right, #FFA756, #E1467C);
  47. background-origin: border-box;
  48. background-clip: padding-box, border-box;
  49. }
  50. body.m22-login-page {
  51. background-color: #0A051D !important;
  52. background-image:
  53. radial-gradient(ellipse 80% 50% at 10% 10%, rgba(255, 107, 0, 0.15), transparent),
  54. radial-gradient(ellipse 80% 50% at 90% 90%, rgba(225, 70, 124, 0.15), transparent);
  55. min-height: 100vh;
  56. }
  57. </style>
  58. </t>
  59. </xpath>
  60. </template>
  61. <!-- 2. Personalizar el Layout del Login (Estructura General) - Solo para tema M22 -->
  62. <template id="m22_login_layout_override" inherit_id="website.login_layout" name="M22 Login Layout Override" priority="50">
  63. <!-- Configurar clase del body pasando la variable al layout - Solo para M22 -->
  64. <xpath expr="//div[hasclass('oe_website_login_container')]" position="before">
  65. <t t-if="request.website and request.website.sudo().theme_id and request.website.sudo().theme_id.name == 'theme_m22tc'">
  66. <t t-set="body_classname" t-value="'m22-login-page font-sans text-gray-300 antialiased'"/>
  67. </t>
  68. </xpath>
  69. <!-- Reemplazar el contenedor de Website - Solo para M22 -->
  70. <xpath expr="//div[hasclass('oe_website_login_container')]" position="replace">
  71. <t t-if="request.website and request.website.sudo().theme_id and request.website.sudo().theme_id.name == 'theme_m22tc'">
  72. <div class="min-h-screen w-full flex items-center justify-center p-6">
  73. <main class="w-full max-w-md">
  74. <!-- Aquí se inyectará el contenido del formulario (template 'web.login') -->
  75. <t t-out="0"/>
  76. </main>
  77. </div>
  78. </t>
  79. <t t-else="">
  80. <!-- Contenedor original para otros temas -->
  81. <div class="container oe_website_login_container">
  82. <t t-out="0"/>
  83. </div>
  84. </t>
  85. </xpath>
  86. </template>
  87. <!-- 3. Personalizar el Formulario de Login (Card y Inputs) - Solo para tema M22 -->
  88. <template id="m22_login_form_override" inherit_id="web.login" name="M22 Login Form Override" priority="100">
  89. <xpath expr="//t[@t-call='web.login_layout']" position="replace">
  90. <t t-if="request.website and request.website.sudo().theme_id and request.website.sudo().theme_id.name == 'theme_m22tc'">
  91. <t t-call="web.login_layout">
  92. <!-- Glassmorphism Card -->
  93. <div class="bg-gray-900/40 backdrop-blur-lg p-8 md:p-12 rounded-xl shadow-2xl border border-white/10">
  94. <!-- Header &amp; Logo -->
  95. <div class="text-center mb-10">
  96. <!-- Logo del Sitio Web -->
  97. <div class="flex items-center justify-center mb-6">
  98. <img t-att-src="request.website.image_url(request.website, 'logo')"
  99. alt="Logo"
  100. style="max-height: 80px; max-width: 100%; width: auto;"
  101. class="object-contain"/>
  102. </div>
  103. <h1 class="text-3xl font-bold text-white">Iniciar Sesión</h1>
  104. <p class="text-gray-400 mt-2">Accede a tu cuenta de cliente</p>
  105. </div>
  106. <!-- Login Form -->
  107. <form class="space-y-6" role="form" t-attf-action="/web/login" method="post" onsubmit="this.action = '/web/login' + location.hash">
  108. <input type="hidden" name="csrf_token" t-att-value="request.csrf_token()"/>
  109. <input type="hidden" name="redirect" t-att-value="redirect"/>
  110. <!-- Email Input -->
  111. <div>
  112. <label class="block text-sm font-medium text-gray-300 mb-2" for="login">Correo Electrónico</label>
  113. <input class="w-full bg-gray-800/50 border border-gray-700 text-white placeholder-gray-500 px-4 py-3 rounded-md focus:outline-none focus:border-orange-500 transition-all duration-300"
  114. id="login" name="login" t-att-value="login"
  115. placeholder="tu@email.com" required="required" type="text" autofocus="autofocus" autocapitalize="off"/>
  116. </div>
  117. <!-- Password Input -->
  118. <div>
  119. <div class="flex items-center justify-between mb-2">
  120. <label class="block text-sm font-medium text-gray-300" for="password">Contraseña</label>
  121. <a t-if="reset_password_enabled" class="text-sm font-medium text-orange-500 hover:text-orange-400 transition-colors" t-attf-href="/web/reset_password?{{ keep_query() }}">¿Olvidaste tu contraseña?</a>
  122. </div>
  123. <input class="w-full bg-gray-800/50 border border-gray-700 text-white placeholder-gray-500 px-4 py-3 rounded-md focus:outline-none focus:border-orange-500 transition-all duration-300"
  124. id="password" name="password"
  125. placeholder="••••••••" required="required" type="password" autocomplete="current-password" t-att-autofocus="'autofocus' if login else None"/>
  126. </div>
  127. <!-- Error Messages -->
  128. <p class="text-sm text-red-500 mt-2 text-center" t-if="error" role="alert">
  129. <t t-esc="error"/>
  130. </p>
  131. <p class="text-sm text-green-500 mt-2 text-center" t-if="message" role="status">
  132. <t t-esc="message"/>
  133. </p>
  134. <!-- Submit Button -->
  135. <div>
  136. <button style="background: linear-gradient(90deg, #FF6B00, #E1467C) !important; border: 0 !important; outline: 0 !important; box-shadow: none !important;" class="w-full text-white font-bold py-3 px-4 rounded-md hover:opacity-90 transition-all transform hover:scale-105 focus:outline-none border-0" type="submit">
  137. Iniciar Sesión
  138. </button>
  139. </div>
  140. </form>
  141. <!-- Footer (Signup) - Condicional como Odoo nativo -->
  142. <div class="text-center mt-8" t-if="signup_enabled">
  143. <p class="text-sm text-gray-400">
  144. ¿No tienes una cuenta? <a class="font-medium text-orange-500 hover:text-orange-400 transition-colors" t-attf-href="/web/signup?{{ keep_query() }}">Crear una cuenta</a>
  145. </p>
  146. </div>
  147. </div>
  148. </t>
  149. </t>
  150. <t t-else="">
  151. <!-- Formulario original para otros temas -->
  152. <t t-call="web.login_layout">
  153. <form class="oe_login_form" role="form" t-attf-action="/web/login" method="post" onsubmit="this.action = '/web/login' + location.hash">
  154. <input type="hidden" name="csrf_token" t-att-value="request.csrf_token()"/>
  155. <div class="mb-3 field-login">
  156. <label for="login">Email</label>
  157. <input type="text" placeholder="Email" name="login" t-att-value="login" id="login" required="required" autofocus="autofocus" autocapitalize="off" class="form-control"/>
  158. </div>
  159. <div class="mb-3 field-password">
  160. <label for="password">Password</label>
  161. <input type="password" placeholder="Password" name="password" id="password" required="required" autocomplete="current-password" t-att-autofocus="'autofocus' if login else None" class="form-control"/>
  162. </div>
  163. <p class="alert alert-danger" t-if="error" role="alert">
  164. <t t-esc="error"/>
  165. </p>
  166. <p class="alert alert-success" t-if="message" role="status">
  167. <t t-esc="message"/>
  168. </p>
  169. <input type="hidden" name="redirect" t-att-value="redirect"/>
  170. <div class="clearfix oe_login_buttons text-center mb-1 pt-3 d-grid">
  171. <button type="submit" class="btn btn-primary">Log in</button>
  172. <div class="o_login_auth"/>
  173. </div>
  174. </form>
  175. </t>
  176. </t>
  177. </xpath>
  178. </template>
  179. <!-- 4. Personalizar el Formulario de Registro - Solo para tema M22 -->
  180. <template id="m22_signup_form_override" inherit_id="auth_signup.signup" name="M22 Signup Form Override" priority="100">
  181. <xpath expr="//t[@t-call='web.login_layout']" position="replace">
  182. <t t-if="request.website and request.website.sudo().theme_id and request.website.sudo().theme_id.name == 'theme_m22tc'">
  183. <t t-call="web.login_layout">
  184. <!-- Glassmorphism Card -->
  185. <div class="bg-gray-900/40 backdrop-blur-lg p-8 md:p-12 rounded-xl shadow-2xl border border-white/10">
  186. <!-- Header &amp; Logo -->
  187. <div class="text-center mb-10">
  188. <div class="flex items-center justify-center mb-6">
  189. <img t-att-src="request.website.image_url(request.website, 'logo')"
  190. alt="Logo"
  191. style="max-height: 80px; max-width: 100%; width: auto;"
  192. class="object-contain"/>
  193. </div>
  194. <h1 class="text-3xl font-bold text-white">Crear Cuenta</h1>
  195. <p class="text-gray-400 mt-2">Regístrate para acceder</p>
  196. </div>
  197. <!-- Signup Form -->
  198. <form class="oe_signup_form space-y-5" role="form" method="post" t-if="not message">
  199. <input type="hidden" name="csrf_token" t-att-value="request.csrf_token()"/>
  200. <input type="hidden" name="redirect" t-att-value="redirect"/>
  201. <input type="hidden" name="token" t-att-value="token"/>
  202. <!-- Name Input (solo si no hay token) -->
  203. <div t-if="not (token and not invalid_token)">
  204. <label class="block text-sm font-medium text-gray-300 mb-2" for="name">Tu Nombre</label>
  205. <input class="w-full bg-gray-800/50 border border-gray-700 text-white placeholder-gray-500 px-4 py-3 rounded-md focus:outline-none focus:border-orange-500 transition-all duration-300"
  206. id="name" name="name" t-att-value="name"
  207. placeholder="Ej. Juan Pérez" required="required" type="text"
  208. t-att-readonly="'readonly' if (token and not invalid_token) else None"
  209. t-att-autofocus="'autofocus' if login and not (token and not invalid_token) else None"/>
  210. </div>
  211. <!-- Email Input (solo si no hay token) -->
  212. <div t-if="not (token and not invalid_token)">
  213. <label class="block text-sm font-medium text-gray-300 mb-2" for="login">Correo Electrónico</label>
  214. <input class="w-full bg-gray-800/50 border border-gray-700 text-white placeholder-gray-500 px-4 py-3 rounded-md focus:outline-none focus:border-orange-500 transition-all duration-300"
  215. id="login" name="login" t-att-value="login"
  216. placeholder="tu@email.com" required="required" type="text"
  217. autofocus="autofocus" autocapitalize="off"
  218. t-att-readonly="'readonly' if (token and not invalid_token) else None"/>
  219. </div>
  220. <!-- Password Input -->
  221. <div>
  222. <label class="block text-sm font-medium text-gray-300 mb-2" for="password">Contraseña</label>
  223. <input class="w-full bg-gray-800/50 border border-gray-700 text-white placeholder-gray-500 px-4 py-3 rounded-md focus:outline-none focus:border-orange-500 transition-all duration-300"
  224. id="password" name="password"
  225. placeholder="••••••••" required="required" type="password"
  226. t-att-autofocus="'autofocus' if (token and not invalid_token) else None"/>
  227. </div>
  228. <!-- Confirm Password Input -->
  229. <div>
  230. <label class="block text-sm font-medium text-gray-300 mb-2" for="confirm_password">Confirmar Contraseña</label>
  231. <input class="w-full bg-gray-800/50 border border-gray-700 text-white placeholder-gray-500 px-4 py-3 rounded-md focus:outline-none focus:border-orange-500 transition-all duration-300"
  232. id="confirm_password" name="confirm_password"
  233. placeholder="••••••••" required="required" type="password"/>
  234. </div>
  235. <!-- Error Messages -->
  236. <p class="text-sm text-red-500 mt-2 text-center" t-if="error" role="alert">
  237. <t t-esc="error"/>
  238. </p>
  239. <!-- Submit Button -->
  240. <div class="pt-2">
  241. <button style="background: linear-gradient(90deg, #FF6B00, #E1467C) !important; border: 0 !important; outline: 0 !important; box-shadow: none !important;" class="w-full text-white font-bold py-3 px-4 rounded-md hover:opacity-90 transition-all transform hover:scale-105 focus:outline-none border-0" type="submit">
  242. Registrarse
  243. </button>
  244. </div>
  245. </form>
  246. <!-- Footer -->
  247. <div class="text-center mt-8">
  248. <p class="text-sm text-gray-400">
  249. ¿Ya tienes una cuenta? <a class="font-medium text-orange-500 hover:text-orange-400 transition-colors" t-attf-href="/web/login?{{ keep_query() }}">Iniciar Sesión</a>
  250. </p>
  251. </div>
  252. </div>
  253. </t>
  254. </t>
  255. <t t-else="">
  256. <!-- Formulario original para otros temas -->
  257. <t t-call="web.login_layout">
  258. <form class="oe_signup_form" role="form" method="post" t-if="not message">
  259. <input type="hidden" name="csrf_token" t-att-value="request.csrf_token()"/>
  260. <t t-call="auth_signup.fields">
  261. <t t-set="only_passwords" t-value="bool(token and not invalid_token)"/>
  262. </t>
  263. <p class="alert alert-danger" t-if="error" role="alert">
  264. <t t-esc="error"/>
  265. </p>
  266. <input type="hidden" name="redirect" t-att-value="redirect"/>
  267. <input type="hidden" name="token" t-att-value="token"/>
  268. <div class="text-center oe_login_buttons d-grid pt-3">
  269. <button type="submit" class="btn btn-primary"> Sign up</button>
  270. <a t-attf-href="/web/login?{{ keep_query() }}" class="btn btn-link btn-sm" role="button">Already have an account?</a>
  271. <div class="o_login_auth"/>
  272. </div>
  273. </form>
  274. </t>
  275. </t>
  276. </xpath>
  277. </template>
  278. <!-- 5. Personalizar el Formulario de Reset Password - Solo para tema M22 -->
  279. <template id="m22_reset_password_override" inherit_id="auth_signup.reset_password" name="M22 Reset Password Override" priority="100">
  280. <xpath expr="//t[@t-call='web.login_layout']" position="replace">
  281. <t t-if="request.website and request.website.sudo().theme_id and request.website.sudo().theme_id.name == 'theme_m22tc'">
  282. <t t-call="web.login_layout">
  283. <!-- Glassmorphism Card -->
  284. <div class="bg-gray-900/40 backdrop-blur-lg p-8 md:p-12 rounded-xl shadow-2xl border border-white/10">
  285. <!-- Header &amp; Logo -->
  286. <div class="text-center mb-10">
  287. <div class="flex items-center justify-center mb-6">
  288. <img t-att-src="request.website.image_url(request.website, 'logo')"
  289. alt="Logo"
  290. style="max-height: 80px; max-width: 100%; width: auto;"
  291. class="object-contain"/>
  292. </div>
  293. <h1 class="text-3xl font-bold text-white">Restablecer Contraseña</h1>
  294. <p class="text-gray-400 mt-2" t-if="not token">Ingresa tu email para recibir instrucciones</p>
  295. <p class="text-gray-400 mt-2" t-if="token and not invalid_token">Ingresa tu nueva contraseña</p>
  296. </div>
  297. <!-- Success Message -->
  298. <div t-if="message" class="text-center">
  299. <p class="text-sm text-green-500 bg-green-500/10 border border-green-500/20 rounded-md p-4 mb-6" role="status">
  300. <t t-esc="message"/>
  301. </p>
  302. <a href="/web/login" class="font-medium text-orange-500 hover:text-orange-400 transition-colors">Volver al Login</a>
  303. </div>
  304. <!-- Reset Password Form -->
  305. <form class="oe_reset_password_form space-y-5" role="form" method="post" t-if="not message">
  306. <input type="hidden" name="csrf_token" t-att-value="request.csrf_token()"/>
  307. <input type="hidden" name="redirect" t-att-value="redirect"/>
  308. <input type="hidden" name="token" t-att-value="token"/>
  309. <!-- Mode: Request Reset (no token) -->
  310. <t t-if="not token">
  311. <div>
  312. <label class="block text-sm font-medium text-gray-300 mb-2" for="login">Correo Electrónico</label>
  313. <input class="w-full bg-gray-800/50 border border-gray-700 text-white placeholder-gray-500 px-4 py-3 rounded-md focus:outline-none focus:border-orange-500 transition-all duration-300"
  314. id="login" name="login" t-att-value="login"
  315. placeholder="tu@email.com" required="required" type="text"
  316. autofocus="autofocus" autocapitalize="off"/>
  317. </div>
  318. </t>
  319. <!-- Mode: Set New Password (with token) -->
  320. <t t-if="token and not invalid_token">
  321. <!-- Email (readonly) -->
  322. <div>
  323. <label class="block text-sm font-medium text-gray-300 mb-2" for="login">Correo Electrónico</label>
  324. <input class="w-full bg-gray-800/50 border border-gray-700 text-white placeholder-gray-500 px-4 py-3 rounded-md focus:outline-none focus:border-orange-500 transition-all duration-300 opacity-60"
  325. id="login" name="login" t-att-value="login"
  326. type="text" readonly="readonly" autocapitalize="off"/>
  327. </div>
  328. <!-- Name (readonly) -->
  329. <div>
  330. <label class="block text-sm font-medium text-gray-300 mb-2" for="name">Tu Nombre</label>
  331. <input class="w-full bg-gray-800/50 border border-gray-700 text-white placeholder-gray-500 px-4 py-3 rounded-md focus:outline-none focus:border-orange-500 transition-all duration-300 opacity-60"
  332. id="name" name="name" t-att-value="name"
  333. type="text" readonly="readonly"/>
  334. </div>
  335. <!-- New Password -->
  336. <div>
  337. <label class="block text-sm font-medium text-gray-300 mb-2" for="password">Nueva Contraseña</label>
  338. <input class="w-full bg-gray-800/50 border border-gray-700 text-white placeholder-gray-500 px-4 py-3 rounded-md focus:outline-none focus:border-orange-500 transition-all duration-300"
  339. id="password" name="password"
  340. placeholder="••••••••" required="required" type="password" autofocus="autofocus"/>
  341. </div>
  342. <!-- Confirm Password -->
  343. <div>
  344. <label class="block text-sm font-medium text-gray-300 mb-2" for="confirm_password">Confirmar Contraseña</label>
  345. <input class="w-full bg-gray-800/50 border border-gray-700 text-white placeholder-gray-500 px-4 py-3 rounded-md focus:outline-none focus:border-orange-500 transition-all duration-300"
  346. id="confirm_password" name="confirm_password"
  347. placeholder="••••••••" required="required" type="password"/>
  348. </div>
  349. </t>
  350. <!-- Invalid Token Message -->
  351. <div t-if="invalid_token" class="text-center">
  352. <p class="text-sm text-red-500 bg-red-500/10 border border-red-500/20 rounded-md p-4">
  353. El enlace ha expirado o es inválido. Por favor solicita uno nuevo.
  354. </p>
  355. </div>
  356. <!-- Error Messages -->
  357. <p class="text-sm text-red-500 mt-2 text-center" t-if="error" role="alert">
  358. <t t-esc="error"/>
  359. </p>
  360. <!-- Submit Button -->
  361. <div class="pt-2" t-if="not invalid_token">
  362. <button style="background: linear-gradient(90deg, #FF6B00, #E1467C) !important; border: 0 !important; outline: 0 !important; box-shadow: none !important;" class="w-full text-white font-bold py-3 px-4 rounded-md hover:opacity-90 transition-all transform hover:scale-105 focus:outline-none border-0" type="submit">
  363. <t t-if="not token">Enviar Instrucciones</t>
  364. <t t-if="token and not invalid_token">Cambiar Contraseña</t>
  365. </button>
  366. </div>
  367. </form>
  368. <!-- Footer -->
  369. <div class="text-center mt-8">
  370. <p class="text-sm text-gray-400">
  371. <a class="font-medium text-orange-500 hover:text-orange-400 transition-colors" t-attf-href="/web/login?{{ keep_query() }}">Volver al Login</a>
  372. </p>
  373. </div>
  374. </div>
  375. </t>
  376. </t>
  377. <t t-else="">
  378. <!-- Formulario original para otros temas -->
  379. <t t-call="web.login_layout">
  380. <div t-if="message" class="oe_login_form clearfix">
  381. <p class="alert alert-success" t-if="message" role="status">
  382. <t t-esc="message"/>
  383. </p>
  384. <a href="/web/login" class="btn btn-link btn-sm float-start" role="button">Back to Login</a>
  385. </div>
  386. <form class="oe_reset_password_form" role="form" method="post" t-if="not message">
  387. <input type="hidden" name="csrf_token" t-att-value="request.csrf_token()"/>
  388. <t t-if="token and not invalid_token">
  389. <t t-call="auth_signup.fields">
  390. <t t-set="only_passwords" t-value="1"/>
  391. </t>
  392. </t>
  393. <t t-if="not token">
  394. <div class="mb-3 field-login">
  395. <label for="login" class="col-form-label">Your Email</label>
  396. <input type="text" name="login" t-att-value="login" id="login" class="form-control"
  397. autofocus="autofocus" required="required" autocapitalize="off"/>
  398. </div>
  399. </t>
  400. <p class="alert alert-danger" t-if="error" role="alert">
  401. <t t-esc="error"/>
  402. </p>
  403. <input type="hidden" name="redirect" t-att-value="redirect"/>
  404. <input type="hidden" name="token" t-att-value="token"/>
  405. <div class="clearfix oe_login_buttons d-grid mt-3">
  406. <button type="submit" class="btn btn-primary">Reset Password</button>
  407. <div class="d-flex justify-content-between align-items-center small mt-2">
  408. <a t-if="not token" t-attf-href="/web/login?{{ keep_query() }}">Back to Login</a>
  409. <a t-if="invalid_token" href="/web/login">Back to Login</a>
  410. </div>
  411. <div class="o_login_auth"/>
  412. </div>
  413. </form>
  414. </t>
  415. </t>
  416. </xpath>
  417. </template>
  418. </data>
  419. </odoo>