You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

542 lines
29 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <template id="assets_frontend" inherit_id="website.assets_frontend" name="Coop">
  5. <xpath expr="." position="inside">
  6. <script type="text/javascript" src="/easy_my_coop/static/src/js/easy_my_coop.js"></script>
  7. <script type="text/javascript" src="/easy_my_coop/static/src/js/jquery.inputmask.bundle.js"></script>
  8. </xpath>
  9. </template>
  10. <template id="company_operational_offices" inherit_id="website.company_description" name="Company Description">
  11. <address itemscope="itemscope" position="inside">
  12. <div class="fa fa-building-o" t-field="res_company.company_registry"/><br/>
  13. <div class="fa fa-bank" t-field="res_company.partner_id.bank_ids.sanitized_acc_number"/>
  14. </address>
  15. </template>
  16. <template id="cooperator_thanks" name="Cooperator contact us" page="True">
  17. <t t-call="website.layout">
  18. <div id="wrap">
  19. <div class="oe_structure"/>
  20. <div class="container">
  21. <h1>Thanks!</h1>
  22. <div class="row">
  23. <div class="col-md-8">
  24. <div class="alert alert-success">
  25. Your subscription has been successfully registered.
  26. <button type="button" class="close" data-dismiss="alert">&amp;times;</button>
  27. </div>
  28. <p>
  29. We will get back to you shortly.
  30. </p>
  31. <ul class="list-unstyled">
  32. <li><i class="fa fa-phone"></i> : <span t-field="res_company.phone"/></li>
  33. <li><i class="fa fa-envelope"></i> : <span t-field="res_company.email"/></li>
  34. </ul>
  35. </div>
  36. <div class="col-md-4">
  37. <t t-call="website.company_description"/>
  38. </div>
  39. </div>
  40. </div>
  41. <div class="oe_structure"/>
  42. </div>
  43. </t>
  44. </template>
  45. <template id="easy_my_coop.becomecooperator" name="Become Cooperator" page="True">
  46. <t t-call="website.layout">
  47. <div id="wrap">
  48. <div class="oe_structure"/>
  49. <div class="container oe_easymy_coop">
  50. <h2 class="energie">Become Cooperator</h2><br/>
  51. <div class="row">
  52. <div class="col-md-8">
  53. <form action="/subscription/subscribe_share" method="post" class="form-horizontal mt32" enctype="multipart/form-data">
  54. <p style="color:red;"><t t-esc="error_msg"/></p>
  55. <input type="hidden" name="csrf_token" t-att-value="request.csrf_token()"/>
  56. <div t-attf-class="form-group" style="display: none;">
  57. <label>
  58. <input type="checkbox" t-att-checked="logged" name="logged"/>
  59. Logged
  60. </label>
  61. </div>
  62. <div t-attf-class="form-group">
  63. <label>
  64. <input type="checkbox" t-att-value="already_cooperator" name="already_cooperator" />
  65. Already cooperator?
  66. </label>
  67. </div>
  68. <div name="email_from_container" t-attf-class="form-group #{error and 'email_from' in error and 'has-error' or ''}">
  69. <label class="col-md-3 col-sm-4 control-label" for="email">Email</label>
  70. <div class="col-md-7 col-sm-8 bottom-line" style="padding-bottom:20px">
  71. <input type="email" class="form-control mandatory-field" name="email" required="True" t-attf-value="#{email or ''}" placeholder="didier.bourdon@bees-coop.be"/>
  72. </div>
  73. </div>
  74. <div t-attf-class="form-group #{error and 'firstname' in error and 'has-error' or ''}">
  75. <label class="col-md-3 col-sm-4 control-label" for="name">First Name</label>
  76. <div class="col-md-7 col-sm-8" style="padding-top:5px">
  77. <input type="text" class="form-control mandatory-field" name="firstname" required="True" t-attf-value="#{firstname or ''}" placeholder="Didier"/>
  78. </div>
  79. </div>
  80. <div t-attf-class="form-group #{error and 'lastname' in error and 'has-error' or ''}">
  81. <label class="col-md-3 col-sm-4 control-label" for="name">Last Name</label>
  82. <div class="col-md-7 col-sm-8">
  83. <input type="text" class="form-control mandatory-field" name="lastname" required="True" t-attf-value="#{lastname or ''}" placeholder="Bourdon"/>
  84. </div>
  85. </div>
  86. <div t-attf-class="form-group #{error and 'gender' in error and 'has-error' or ''}">
  87. <label class="col-md-3 col-sm-4 control-label" for="company_type">Gender</label>
  88. <select name="gender" class="col-md-7 col-sm-8 form-control" required="True" style="width:54%;margin-left:15px">
  89. <option value=""></option>
  90. <t t-foreach="genders or []" t-as="type">
  91. <option t-att-value="type[0]" t-att-selected="type[0] == gender"><t t-esc="type[1]"/></option>
  92. </t>
  93. </select>
  94. </div>
  95. <div t-attf-class="form-group #{error and 'birthdate' in error and 'has-error' or ''}">
  96. <label class="col-md-3 col-sm-4 control-label" for="birthdate">Birthdate</label>
  97. <div class="col-md-7 col-sm-8">
  98. <input type="text" data-inputmask="'alias': 'date'" class="form-control mandatory-field" name="birthdate" required="True" t-attf-value="#{birthdate or ''}" placeholder="05/03/1978"/>
  99. </div>
  100. </div>
  101. <div t-attf-class="form-group #{error and 'no_registre' in error and 'has-error' or ''}">
  102. <label class="col-md-3 col-sm-4 control-label" for="no_registre">National Register Number</label>
  103. <div class="col-md-7 col-sm-8">
  104. <input type="text" class="form-control mandatory-field" name="no_registre" t-attf-value="#{no_registre or ''}" placeholder="78230226321"/>
  105. </div>
  106. </div>
  107. <div t-attf-class="form-group #{error and 'iban' in error and 'has-error' or ''}">
  108. <label class="col-md-3 col-sm-4 control-label" for="iban">Bank Account Number</label>
  109. <div class="col-md-7 col-sm-8">
  110. <input type="text" class="form-control mandatory-field" name="iban" required="True" t-attf-value="#{iban or ''}" placeholder="BE48523080767127"/>
  111. </div>
  112. </div>
  113. <div t-attf-class="form-group #{error and 'lang' in error and 'has-error' or ''}" >
  114. <label class="col-md-3 col-sm-4 control-label" style="width:25%" for="lang">Language</label>
  115. <select name="lang" class="col-md-7 col-sm-8 form-control " style="width:30%;margin-left:15px">
  116. <option value="2">Language...</option>
  117. <t t-foreach="langs or []" t-as="langue">
  118. <option t-att-value="langue.code" t-att-selected="langue.code == lang"><t t-esc="langue.name"/></option>
  119. </t>
  120. </select>
  121. <br/>
  122. <div class="bottom-line" style="margin-left:25%;margin-top:35px;width:59%"></div>
  123. </div>
  124. <div t-attf-class="form-group #{error and 'address' in error and 'has-error' or ''}">
  125. <label class="col-md-3 col-sm-4 control-label" for="address">Address</label>
  126. <div class="col-md-7 col-sm-8">
  127. <input type="text" class="form-control mandatory-field" name="address" required="True" t-attf-value="#{address or ''}" placeholder="rue Van Hove, 19"/>
  128. </div>
  129. </div>
  130. <div t-attf-class="form-group #{error and 'zip_code' in error and 'has-error' or ''}">
  131. <label class="col-md-3 col-sm-4 control-label" for="zip_code">City</label>
  132. <div class="col-md-7 col-sm-8">
  133. <table>
  134. <tr>
  135. <td width="20%">
  136. <input type="text" class="form-control mandatory-field" name="zip_code" required="True" t-attf-value="#{zip_code or ''}" placeholder="1030"/>
  137. </td>
  138. <td width="3%"></td>
  139. <td>
  140. <input type="text" class="form-control mandatory-field" name="city" required="True" t-attf-value="#{city or ''}" placeholder="Bruxelles"/>
  141. </td>
  142. </tr>
  143. </table>
  144. </div>
  145. </div>
  146. <div t-attf-class="form-group #{error and 'country_id' in error and 'has-error' or ''}">
  147. <label class="col-md-3 col-sm-4 control-label" style="width:25%" for="country_id">Country</label>
  148. <select name="country_id" class="col-md-7 col-sm-8 form-control " style="width:54%;margin-left:15px">
  149. <option value="">Country...</option>
  150. <t t-foreach="countries or []" t-as="country">
  151. <option t-att-value="country.id" t-att-selected="country.id == int(country_id)"><t t-esc="country.name"/></option>
  152. </t>
  153. </select>
  154. </div>
  155. <div t-attf-class="form-group #{error and 'phone' in error and 'has-error' or ''}">
  156. <label class="col-md-3 col-sm-4 control-label" for="phone">Phone</label>
  157. <div class="col-md-7 col-sm-8 bottom-line" style="padding-bottom:20px">
  158. <input type="text" class="form-control" name="phone" required="True" t-attf-value="#{phone or ''}" placeholder="e.g. (+32).81.81.37.00"/>
  159. </div>
  160. </div>
  161. <div t-attf-class="form-group #{error and 'product_id' in error and 'has-error' or ''}">
  162. <label class="col-md-3 col-sm-4 control-label" style="width:25%" for="country_id">Parts type</label>
  163. <select id="share_product_id" name="share_product_id" class="col-md-7 col-sm-8 form-control " style="width:54%;margin-left:15px">
  164. <t t-foreach="products or []" t-as="product">
  165. <option t-att-value="product.id" t-att-selected="product.id == int(share_product_id)"><t t-esc="product.short_name"/></option>
  166. </t>
  167. </select>
  168. </div>
  169. <div name="share_div" class="form-group">
  170. <table style="width:80%">
  171. <tr>
  172. <td width="30%">
  173. <label style="text-align:right; width:100%;padding-right:30px">Parts number</label>
  174. </td>
  175. <td width="15%">
  176. <div class="css_quantity input-group oe_website_spinner">
  177. <span class="input-group-addon" style="margin-left:0px">
  178. <a t-attf-href="#" class="mb8 js_add_cart_json">
  179. <i class="fa fa-minus"></i>
  180. </a>
  181. </span>
  182. <input type="text" class="js_quantity form-control" data-min="1" name="ordered_parts" t-attf-value="#{ordered_parts or 1}"/>
  183. <span class="input-group-addon">
  184. <a t-attf-href="#" class="mb8 float_left js_add_cart_json">
  185. <i class="fa fa-plus"></i>
  186. </a>
  187. </span>
  188. </div>
  189. </td>
  190. <td width="5%">x </td>
  191. <td id="share_price" width="7%">25</td>
  192. <td width="3%"></td>
  193. <td width="5%">= </td>
  194. <td width="20%">
  195. <div style="margin-top:12px" t-attf-class="form-group #{error and 'total_parts' in error and 'has-error' or ''}">
  196. <div>
  197. <input type="text" class="form-control total" name="total_parts" value="25" data-max="5000"
  198. t-att-readonly="'readonly'"
  199. />
  200. </div>
  201. </div>
  202. </td>
  203. </tr>
  204. </table>
  205. </div>
  206. <div class="bottom-line" style="margin-left:178px;margin-top:0px;width:61%"></div>
  207. <br/>
  208. <table style="margin-left:195px">
  209. <tr>
  210. <td width="80%">
  211. <div class="g-recaptcha" t-att-data-sitekey="website.recaptcha_site_key" data-theme="green"/><br/>
  212. </td>
  213. <td>
  214. <div class="form-group">
  215. <div class="col-md-offset-3 col-sm-offset-4 col-sm-8 col-md-7">
  216. <button class="btn btn-primary btn-lg">Send</button>
  217. </div>
  218. </div>
  219. </td>
  220. </tr>
  221. </table>
  222. <br/>
  223. </form>
  224. </div>
  225. </div>
  226. </div>
  227. <div class="oe_structure"/>
  228. </div>
  229. </t>
  230. </template>
  231. <template id="easy_my_coop.becomecompanycooperator" name="Become Cooperator" page="True">
  232. <t t-call="website.layout">
  233. <div id="wrap">
  234. <div class="oe_structure"/>
  235. <div class="container oe_easymy_coop">
  236. <h2 class="energie">Become Cooperator</h2><br/>
  237. <div class="row">
  238. <div class="col-md-8">
  239. <form action="/subscription/subscribe_share" method="post" class="form-horizontal mt32" enctype="multipart/form-data">
  240. <p style="color:red;"><t t-esc="error_msg"/></p>
  241. <input type="hidden" name="csrf_token" t-att-value="request.csrf_token()"/>
  242. <div t-attf-class="form-group" style="display: none;">
  243. <label>
  244. <input type="checkbox" t-att-checked="logged" name="logged"/>
  245. Logged
  246. </label>
  247. <label>
  248. <input type="checkbox" t-att-value="company" checked="checked" name="is_company" />
  249. Is a company?
  250. </label>
  251. </div>
  252. <div t-attf-class="form-group">
  253. <label>
  254. Company Info
  255. </label>
  256. </div>
  257. <div t-attf-class="form-group #{error and 'company_register_number' in error and 'has-error' or ''}">
  258. <label class="col-md-3 col-sm-4 control-label" for="no_registre">Company Register Number</label>
  259. <div class="col-md-7 col-sm-8">
  260. <input type="text" class="form-control mandatory-field" name="company_register_number" required="True" t-attf-value="#{company_register_number or ''}" placeholder="0647980091"/>
  261. </div>
  262. </div>
  263. <div t-attf-class="form-group #{error and 'company_name' in error and 'has-error' or ''}">
  264. <label class="col-md-3 col-sm-4 control-label" for="company_name">Company name</label>
  265. <div class="col-md-7 col-sm-8">
  266. <input type="text" class="form-control mandatory-field" name="company_name" required="True" t-attf-value="#{company_name or ''}" placeholder="La super coopérative"/>
  267. </div>
  268. </div>
  269. <div t-attf-class="form-group #{error and 'company_type' in error and 'has-error' or ''}">
  270. <label class="col-md-3 col-sm-4 control-label" for="company_type">Company type</label>
  271. <select name="company_type" class="col-md-7 col-sm-8 form-control" required="True" style="width:54%;margin-left:15px">
  272. <option value=""></option>
  273. <t t-foreach="company_types or []" t-as="type">
  274. <option t-att-value="type[0]" t-att-selected="type[0] == company_type"><t t-esc="type[1]"/></option>
  275. </t>
  276. </select>
  277. </div>
  278. <div t-attf-class="form-group #{error and 'company_email' in error and 'has-error' or ''}">
  279. <label class="col-md-3 col-sm-4 control-label" for="company_email">Company email</label>
  280. <div class="col-md-7 col-sm-8">
  281. <input type="text" class="form-control mandatory-field" name="company_email" required="True" t-attf-value="#{company_email or ''}" placeholder="administration@beescoop.be"/>
  282. </div>
  283. </div>
  284. <div t-attf-class="form-group #{error and 'iban' in error and 'has-error' or ''}">
  285. <label class="col-md-3 col-sm-4 control-label" for="iban">Bank Account Number</label>
  286. <div class="col-md-7 col-sm-8">
  287. <input type="text" class="form-control mandatory-field" name="iban" required="True" t-attf-value="#{iban or ''}" placeholder="BE48523080767127"/>
  288. </div>
  289. </div>
  290. <br/>
  291. <div t-attf-class="form-group">
  292. <label>
  293. Main Address
  294. </label>
  295. </div>
  296. <div t-attf-class="form-group #{error and 'address' in error and 'has-error' or ''}">
  297. <label class="col-md-3 col-sm-4 control-label" for="address">Address</label>
  298. <div class="col-md-7 col-sm-8">
  299. <input type="text" class="form-control mandatory-field" name="address" required="True" t-attf-value="#{address or ''}" placeholder="rue Van Hove, 19"/>
  300. </div>
  301. </div>
  302. <div t-attf-class="form-group #{error and 'zip_code' in error and 'has-error' or ''}">
  303. <label class="col-md-3 col-sm-4 control-label" for="zip_code">City</label>
  304. <div class="col-md-7 col-sm-8">
  305. <table>
  306. <tr>
  307. <td width="20%">
  308. <input type="text" class="form-control mandatory-field" name="zip_code" required="True" t-attf-value="#{zip_code or ''}" placeholder="1030"/>
  309. </td>
  310. <td width="3%"></td>
  311. <td>
  312. <input type="text" class="form-control mandatory-field" name="city" required="True" t-attf-value="#{city or ''}" placeholder="Bruxelles"/>
  313. </td>
  314. </tr>
  315. </table>
  316. </div>
  317. </div>
  318. <div t-attf-class="form-group #{error and 'country_id' in error and 'has-error' or ''}">
  319. <label class="col-md-3 col-sm-4 control-label" style="width:25%" for="country_id">Country</label>
  320. <select name="country_id" class="col-md-7 col-sm-8 form-control" style="width:54%;margin-left:15px">
  321. <option value="">Country...</option>
  322. <t t-foreach="countries or []" t-as="country">
  323. <option t-att-value="country.id" t-att-selected="country.id == int(country_id)"><t t-esc="country.name"/></option>
  324. </t>
  325. </select>
  326. </div>
  327. <br/>
  328. <div t-attf-class="form-group">
  329. <label>
  330. Contact Person
  331. </label>
  332. </div>
  333. <div t-attf-class="form-group #{error and 'firstname' in error and 'has-error' or ''}">
  334. <label class="col-md-3 col-sm-4 control-label" for="firstname">First Name</label>
  335. <div class="col-md-7 col-sm-8" style="padding-top:5px">
  336. <input type="text" class="form-control mandatory-field" name="firstname" required="True" t-attf-value="#{firstname or ''}" placeholder="Didier"/>
  337. </div>
  338. </div>
  339. <div t-attf-class="form-group #{error and 'lastname' in error and 'has-error' or ''}">
  340. <label class="col-md-3 col-sm-4 control-label" for="lastname">Last Name</label>
  341. <div class="col-md-7 col-sm-8">
  342. <input type="text" class="form-control mandatory-field" name="lastname" required="True" t-attf-value="#{lastname or ''}" placeholder="Bourdon"/>
  343. </div>
  344. </div>
  345. <div t-attf-class="form-group #{error and 'gender' in error and 'has-error' or ''}">
  346. <label class="col-md-3 col-sm-4 control-label" for="gender">Gender</label>
  347. <select name="gender" class="col-md-7 col-sm-8 form-control" required="True" style="width:54%;margin-left:15px">
  348. <option value=""></option>
  349. <t t-foreach="genders or []" t-as="type">
  350. <option t-att-value="type[0]" t-att-selected="type[0] == gender"><t t-esc="type[1]"/></option>
  351. </t>
  352. </select>
  353. </div>
  354. <div name="email_from_container" t-attf-class="form-group #{error and 'email_from' in error and 'has-error' or ''}">
  355. <label class="col-md-3 col-sm-4 control-label" for="email">Email</label>
  356. <div class="col-md-7 col-sm-8 bottom-line" style="padding-bottom:20px">
  357. <input type="email" class="form-control mandatory-field" name="email" required="True" t-attf-value="#{email or ''}" placeholder="didier.bourdon@bees-coop.be"/>
  358. </div>
  359. </div>
  360. <div t-attf-class="form-group #{error and 'phone' in error and 'has-error' or ''}">
  361. <label class="col-md-3 col-sm-4 control-label" for="phone">Phone</label>
  362. <div class="col-md-7 col-sm-8 bottom-line" style="padding-bottom:20px">
  363. <input type="text" class="form-control" name="phone" required="True" t-attf-value="#{phone or ''}" placeholder="e.g. (+32).81.81.37.00"/>
  364. </div>
  365. </div>
  366. <div t-attf-class="form-group #{error and 'contact_person_function' in error and 'has-error' or ''}">
  367. <label class="col-md-3 col-sm-4 control-label" for="contact_person_function">Function</label>
  368. <div class="col-md-7 col-sm-8">
  369. <input type="text" class="form-control mandatory-field" name="contact_person_function" required="True" t-attf-value="#{contact_person_function or ''}"/>
  370. </div>
  371. </div>
  372. <div t-attf-class="form-group #{error and 'no_registre' in error and 'has-error' or ''}">
  373. <label class="col-md-3 col-sm-4 control-label" for="no_registre">National Register Number</label>
  374. <div class="col-md-7 col-sm-8">
  375. <input type="text" class="form-control mandatory-field" name="no_registre" required="True" t-attf-value="#{no_registre or ''}" placeholder="78230226321"/>
  376. </div>
  377. </div>
  378. <div t-attf-class="form-group #{error and 'birthday' in error and 'has-error' or ''}">
  379. <label class="col-md-3 col-sm-4 control-label" for="birthdate">Birthdate</label>
  380. <div class="col-md-7 col-sm-8">
  381. <input type="text" data-inputmask="'alias': 'date'" class="form-control mandatory-field" name="birthdate" required="True" t-attf-value="#{birthdate or ''}" placeholder="05/03/1978"/>
  382. </div>
  383. </div>
  384. <div t-attf-class="form-group #{error and 'lang' in error and 'has-error' or ''}" >
  385. <label class="col-md-3 col-sm-4 control-label" style="width:25%" for="lang">Language</label>
  386. <select name="lang" class="col-md-7 col-sm-8 form-control " style="width:30%;margin-left:15px">
  387. <option value="2">Language...</option>
  388. <t t-foreach="langs or []" t-as="langue">
  389. <option t-att-value="langue.code" t-att-selected="langue.code == lang"><t t-esc="langue.name"/></option>
  390. </t>
  391. </select>
  392. <br/>
  393. <div class="bottom-line" style="margin-left:25%;margin-top:35px;width:59%"></div>
  394. </div>
  395. <div t-attf-class="form-group #{error and 'product_id' in error and 'has-error' or ''}">
  396. <label class="col-md-3 col-sm-4 control-label" style="width:25%" for="share_product_id">Parts type</label>
  397. <select id="share_product_id" name="share_product_id" class="col-md-7 col-sm-8 form-control " style="width:54%;margin-left:15px">
  398. <t t-foreach="products or []" t-as="product">
  399. <option t-att-value="product.id" t-att-selected="product.id == int(share_product_id)"><t t-esc="product.short_name"/></option>
  400. </t>
  401. </select>
  402. </div>
  403. <div class="form-group">
  404. <table style="width:80%">
  405. <tr>
  406. <td width="30%">
  407. <label style="text-align:right; width:100%;padding-right:30px">Parts number</label>
  408. </td>
  409. <td width="15%">
  410. <div class="css_quantity input-group oe_website_spinner">
  411. <span class="input-group-addon" style="margin-left:0px">
  412. <a t-attf-href="#" class="mb8 js_add_cart_json">
  413. <i class="fa fa-minus"></i>
  414. </a>
  415. </span>
  416. <input type="text" class="js_quantity form-control" data-min="1" name="ordered_parts" t-attf-value="#{ordered_parts or 1}"/>
  417. <span class="input-group-addon">
  418. <a t-attf-href="#" class="mb8 float_left js_add_cart_json">
  419. <i class="fa fa-plus"></i>
  420. </a>
  421. </span>
  422. </div>
  423. </td>
  424. <td width="5%">x </td>
  425. <td id="share_price" width="7%">25</td>
  426. <td width="3%"></td>
  427. <td width="5%">= </td>
  428. <td width="20%">
  429. <div style="margin-top:12px" t-attf-class="form-group #{error and 'total_parts' in error and 'has-error' or ''}">
  430. <div>
  431. <input type="text" class="form-control total" name="total_parts" value="25" data-max="5000"
  432. t-att-readonly="'readonly'"
  433. />
  434. </div>
  435. </div>
  436. </td>
  437. </tr>
  438. </table>
  439. </div>
  440. <div class="bottom-line" style="margin-left:178px;margin-top:0px;width:61%"></div>
  441. <br/>
  442. <table style="margin-left:195px">
  443. <tr>
  444. <td width="80%">
  445. <div class="g-recaptcha" t-att-data-sitekey="website.recaptcha_site_key" data-theme="green"/><br/>
  446. </td>
  447. <td>
  448. <div class="form-group">
  449. <div class="col-md-offset-3 col-sm-offset-4 col-sm-8 col-md-7">
  450. <button class="btn btn-primary btn-lg">Send</button>
  451. </div>
  452. </div>
  453. </td>
  454. </tr>
  455. </table>
  456. <br/>
  457. </form>
  458. </div>
  459. </div>
  460. </div>
  461. <div class="oe_structure"/>
  462. </div>
  463. </t>
  464. </template>
  465. <record id="menu_becomecooperator" model="website.menu">
  466. <field name="name">Become cooperator</field>
  467. <field name="url">/page/become_cooperator</field>
  468. <field name="parent_id" ref="website.main_menu"/>
  469. <field name="sequence" type="int">65</field>
  470. </record>
  471. <template id="footer_coop_email_contact" inherit_id="website.footer_default" customize_show="True" name="Coop email contact">
  472. <xpath expr="//span[@t-field='res_company.email']" position="replace">
  473. <span t-field="res_company.coop_email_contact"></span>
  474. </xpath>
  475. </template>
  476. <template id="company_description_coop_email_contact" inherit_id="website.company_description" name="Company Description Email Contact">
  477. <xpath expr="//div[@t-field='res_company.partner_id']" position="replace">
  478. <div t-field="res_company.partner_id" t-field-options='{
  479. "widget": "contact",
  480. "fields": ["name", "address", "phone", "mobile", "fax"]}'/>
  481. <ul class="list-unstyled">
  482. <li t-ignore="true"><i class="fa fa-envelope"></i><span t-field="res_company.coop_email_contact"></span></li>
  483. </ul>
  484. </xpath>
  485. </template>
  486. </data>
  487. </openerp>