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.

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