[IMP] Improved m2o tooltip
[odoo/odoo.git] / addons / web / static / src / xml / base.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vim:fdl=1:
3 -->
4 <templates id="template" xml:space="preserve">
5 <t t-name="EmptyComponent">
6     <div></div>
7 </t>
8 <t t-name="Loading">
9     <div class="oe_loading">
10         Loading...
11     </div>
12 </t>
13 <t t-name="Notification">
14     <div class="oe_notification" t-translation="off">
15         <div id="oe_notification_default">
16             <a class="ui-notify-cross ui-notify-close" href="#">x</a>
17             <h1>#{title}</h1>
18             <p>#{text}</p>
19         </div>
20         <div id="oe_notification_alert" class="ui-state-error">
21             <a class="ui-notify-cross ui-notify-close" href="#">x</a>
22             <span style="float:left; margin:2px 5px 0 0;" class="ui-icon ui-icon-alert"></span>
23             <h1>#{title}</h1>
24             <p>#{text}</p>
25         </div>
26     </div>
27 </t>
28 <t t-name="Tipsy.alert">
29     <a class="oe_tooltip_close oe_e">[</a>
30     <span style="float:left; margin:2px 5px 0 0;" class="ui-icon ui-icon-alert ui-state-error"></span>
31     <div class="oe_tooltip_message">
32         <t t-esc="message"/>
33     </div>
34 </t>
35
36 <t t-name="CrashManager.warning">
37     <table cellspacing="0" cellpadding="0" border="0" class="oe_dialog_warning">
38     <tr>
39         <td><img t-att-src='_s + "/web/static/src/img/warning.png"' class="oe_dialog_icon"/></td>
40         <td>
41             <p>
42                 <t t-js="d">
43                     var message = d.message ? d.message : d.error.data.fault_code;
44                     d.html_error = context.engine.tools.html_escape(message)
45                         .replace(/\n/g, '<br/>');
46                 </t>
47                 <t t-raw="html_error"/>
48             </p>
49         </td>
50     </tr>
51     </table>
52 </t>
53 <t t-name="CrashManager.error">
54     <t t-if="!session.openerp_entreprise">
55         <span>Your version of OpenERP is unsupported. Support &amp; maintenance services are available here: <a href="http://www.openerp.com/support-or-publisher-warranty-contract" target="_blank">OpenERP Entreprise</a>.</span>
56     </t>
57     <t t-if="session.openerp_entreprise">
58         <div class="oe_error_send">
59             <div>
60                 <div class="oe_centeralign"><b>OpenERP Enterprise Contract.</b></div>
61                 <div><br/>Your report will be sent to the OpenERP Enterprise team.<br/></div><br/>
62                 <div>
63                     <label>Summary:</label><br/>
64                     <input id="issuename" type="text" class="oe_fielddiv"/>
65                 </div><br/><br/>
66                 <div>
67                     <label>Description:</label><br/>
68                     <textarea id="explanation" rows="6"></textarea>
69                 </div><br/><br/>
70                 <div>
71                     <label>What you did:</label><br/>
72                     <textarea id="remark" rows="6" ></textarea>
73                 </div>
74             </div>
75         </div><br/>
76     </t>
77     <div class="oe_error_detail">
78         <pre><t t-esc="error.message"/></pre>
79         <hr/>
80         <pre><t t-esc="error.data.debug"/></pre>
81     </div>
82 </t>
83
84 <t t-name="Login">
85     <div class="oe_login">
86         <div class="oe_login_bottom"> </div>
87         <div class="oe_login_error_message">Invalid username or password</div>
88         <div class="oe_login_pane">
89             <div class="oe_login_logo"><img src='/web/static/src/img/logo2.png'/></div>
90             <form action="" method="post">
91                 <div class="oe_login_dbpane" >
92                     Database:
93                     <input name="db" t-att-value="widget.selected_db || ''"/>
94                 </div>
95                 <ul>
96                     <li>Username</li>
97                     <li><input type="text" name="login" t-att-value="widget.selected_login || ''" autofocus="autofocus"/></li>
98                     <li>Password</li>
99                     <li><input type="password" name="password" t-att-value="widget.selected_password || ''"/></li>
100                     <li><button name="submit">Log in</button></li>
101                 </ul>
102             </form>
103             <div class="oe_login_footer">
104                 <a href="#" class="oe_login_manage_db">Manage Databases</a> |
105                 <a href="http://www.openerp.com">Powered by <span>OpenERP</span></a>
106             </div>
107         </div>
108     </div>
109 </t>
110 <t t-name="Login.dblist">
111     <select name="db">
112         <t t-foreach="db_list" t-as="db">
113             <t t-if="selected_db === db">
114                 <option t-att-value="db" selected="true">
115                     <t t-esc="db"/></option>
116             </t>
117             <t t-if="selected_db !== db">
118                 <option t-att-value="db"><t t-esc="db"/></option>
119             </t>
120         </t>
121     </select>
122 </t>
123
124 <t t-name="DatabaseManager">
125     <div class="oe_database_manager">
126         <div class="oe_database_manager_menu">
127             <ul class="oe_notebook">
128                 <li><a href="#db_create">Create</a></li>
129                 <li><a href="#db_drop">Drop</a></li>
130                 <li><a href="#db_backup">Backup</a></li>
131                 <li><a href="#db_restore">Restore</a></li>
132                 <li><a href="#db_change_password">Password</a></li>
133                 <li><a id="back_to_login" href="#">Back to Login</a></li>
134             </ul>
135             <form id="db_create" name="create_db_form" method="POST">
136                 <table align="center" class="db_option_table">
137                     <tr>
138                         <th colspan="2" class="option_string"> CREATE DATABASE </th>
139                     </tr>
140                     <tr>
141                         <td><label for="super_admin_pwd">Master password:</label></td>
142                         <td><input type="password" name="super_admin_pwd" class="required" value="admin"/></td>
143                     </tr>
144                     <tr>
145                         <td><label for="db_name">New database name:</label></td>
146                         <td><input type="text" name="db_name" class="required" matches="^[a-zA-Z][a-zA-Z0-9_]+$" autofocus="true"/></td>
147                     </tr>
148                     <tr>
149                         <td><label for="demo_data">Load Demonstration data:</label></td>
150                         <td><input type="checkbox" name="demo_data"/></td>
151                     </tr>
152                     <tr>
153                         <td><label for="db_lang">Default language:</label></td>
154                         <td>
155                             <select name="db_lang" t-if="widget.lang_list">
156                                 <t t-foreach="widget.lang_list" t-as="lang">
157                                     <option t-att-value="lang[0]" t-att-selected="lang[0] === 'en_US' ? 'selected' : undefined"><t t-esc="lang[1]"/></option>
158                                 </t>
159                             </select>
160                         </td>
161                     </tr>
162                     <tr>
163                         <td><label for="create_admin_pwd">Admin password:</label></td>
164                         <td><input type="password" name="create_admin_pwd" class="required"/></td>
165                     </tr>
166                     <tr>
167                         <td><label for="create_confirm_pwd">Confirm password:</label></td>
168                         <td><input type="password" name="create_confirm_pwd" class="required" equalTo="input[name=create_admin_pwd]"/></td>
169                     </tr>
170                     <tr>
171                         <td colspan="2" align="right"><button class="oe_button">Create</button></td>
172                     </tr>
173                 </table>
174             </form>
175             <form id="db_drop" name="drop_db_form" method="POST">
176                 <table align="center" class="db_option_table">
177                     <tr>
178                         <th colspan="2" class="option_string"> DROP DATABASE </th>
179                     </tr>
180                     <tr>
181                         <td><label for="drop_db">Database:</label></td>
182                         <td>
183                             <select t-if="widget.db_list" name="drop_db" autofocus="autofocus">
184                                 <t t-foreach="widget.db_list" t-as="db">
185                                     <option t-att-value="db"><t t-esc="db"/></option>
186                                 </t>
187                             </select>
188                             <input t-if="!widget.db_list" name="drop_db" class="required" type="text" autofocus="autofocus"/>
189                         </td>
190                     </tr>
191                     <tr>
192                         <td><label for="drop_password">Master Password:</label></td>
193                         <td><input type="password" name="drop_pwd" class="required"/></td>
194                     </tr>
195                     <tr>
196                         <td colspan="2" align="right"><button class="oe_button">Drop</button></td>
197                     </tr>
198                 </table>
199             </form>
200             <form id="db_backup" name="backup_db_form" method="POST" target="backup-target" action="/web/database/backup">
201                 <input type="hidden" name="token"/>
202                 <table align="center" class="db_option_table">
203                     <tr>
204                         <th colspan="2" class="option_string"> BACKUP DATABASE </th>
205                     </tr>
206                     <tr>
207                         <td><label for="backup_db">Database:</label></td>
208                         <td>
209                             <select t-if="widget.db_list" name="backup_db" autofocus="autofocus">
210                                 <t t-foreach="widget.db_list" t-as="db">
211                                     <option t-att-value="db"><t t-esc="db"/></option>
212                                 </t>
213                             </select>
214                             <input t-if="!widget.db_list" name="backup_db" class="required" type="text" autofocus="autofocus"/>
215                         </td>
216                     </tr>
217                     <tr>
218                         <td><label for="backup_pwd">Master Password:</label></td>
219                         <td><input type="password" name="backup_pwd" class="required"/></td>
220                     </tr>
221                     <tr>
222                         <td colspan="2" align="right"><button class="oe_button">Backup</button></td>
223                     </tr>
224                 </table>
225             </form>
226             <form id="db_restore" name="restore_db_form" method="POST">
227                 <table align="center" class="db_option_table">
228                     <tr>
229                         <th colspan="2" class="option_string"> RESTORE DATABASE </th>
230                     </tr>
231                     <tr>
232                         <td><label for="restore_db">File:</label></td>
233                         <td><input type="file" name="db_file" class="required" autofocus="autofocus"/></td>
234                     </tr>
235                     <tr>
236                         <td><label for="restore_pwd">Master Password:</label></td>
237                         <td><input type="password" name="restore_pwd" class="required"/></td>
238                     </tr>
239                     <tr>
240                         <td><label for="new_db">New database name:</label></td>
241                         <td><input type="text" name="new_db" class="required"/></td>
242                     </tr>
243                     <tr>
244                         <td colspan="2" align="right"><button class="oe_button">Restore</button></td>
245                     </tr>
246                 </table>
247             </form>
248             <form id="db_change_password" name="change_pwd_form" method="POST">
249                 <table align="center" class="db_option_table">
250                     <tr>
251                         <th colspan="2" class="option_string"> CHANGE MASTER PASSWORD </th>
252                     </tr>
253                     <tr>
254                         <td><label for="old_pwd">Master password:</label></td>
255                         <td><input type="password" name="old_pwd" class="required" minlength="1" autofocus="autofocus"/></td>
256                     </tr>
257                     <tr>
258                         <td><label for="new_pwd">New master password:</label></td>
259                         <td><input type="password" name="new_pwd" class="required" minlength="1"/></td>
260                     </tr>
261                     <tr>
262                         <td><label for="confirm_pwd">Confirm new master password:</label></td>
263                         <td><input type="password" name="confirm_pwd" class="required" equalTo="input[name=new_pwd]" minlength="1"/></td>
264                     </tr>
265                     <tr>
266                         <td colspan="2" align="right"><button class="oe_button">Change Password</button></td>
267                     </tr>
268                 </table>
269             </form>
270         </div>
271     </div>
272 </t>
273
274 <t t-name="Menu">
275     <ul class="oe_menu" t-if="widget.data">
276         <li t-foreach="widget.data.data.children" t-as="menu">
277             <t t-call="Menu.secondary.link"/>
278         </li>
279     </ul>
280 </t>
281 <t t-name="Menu.more">
282     <li class="oe_menu_more_container">
283         <span class="oe_topbar_item oe_menu_more_link oe_dropdown_toggle oe_dropdown_arrow">
284             More
285             <ul class="oe_menu_more oe_dropdown_menu"/>
286         </span>
287     </li>
288 </t>
289 <t t-name="Menu.secondary">
290     <div t-foreach="widget.data.data.children" t-as="menu" style="display: none" class="oe_secondary_menu" t-att-data-menu-parent="menu.id">
291         <t t-foreach="menu.children" t-as="menu">
292             <div class="oe_secondary_menu_section">
293                 <t t-esc="menu.name"/>
294                 <!--
295                     Shall the section be still clickable ?
296                     <t t-call="Menu.secondary.link"/>
297                 -->
298             </div>
299             <t t-call="Menu.secondary.submenu"/>
300         </t>
301     </div>
302 </t>
303 <t t-name="Menu.secondary.submenu">
304     <ul t-if="menu.children.length" class="oe_secondary_submenu">
305         <li t-foreach="menu.children" t-as="menu">
306             <t t-call="Menu.secondary.link"/>
307             <!--<span class="oe_menu_label">8</span>-->
308             <t t-call="Menu.secondary.submenu"/>
309         </li>
310     </ul>
311 </t>
312 <t t-name="Menu.secondary.link">
313     <a t-attf-href="#menu_id=#{menu.id}&amp;action_id=#{menu.action ? menu.action.split(',')[1] : ''}"
314         t-att-class="menu.children.length ? 'oe_menu_toggler' : 'oe_menu_leaf'"
315         t-att-data-menu="menu.id"
316         t-att-data-action-model="menu.action ? menu.action.split(',')[0] : ''"
317         t-att-data-action-id="menu.action ? menu.action.split(',')[1] : ''">
318         <t t-esc="menu.name"/>
319         <t t-if="menu.needaction_enabled and menu.needaction_counter">
320             <div class="oe_menu_counter">
321                 <t t-esc="menu.needaction_counter"/>
322             </div>
323         </t>
324     </a>
325 </t>
326
327 <t t-name="UserMenu">
328     <span class="oe_user_menu oe_topbar_item oe_dropdown_toggle oe_dropdown_arrow">
329         <img class="oe_topbar_avatar" t-att-data-default-src="_s + '/web/static/src/img/user_menu_avatar.png'"/>
330         <span class="oe_topbar_name"/>
331         <ul class="oe_dropdown_menu">
332             <li><a href="#" data-menu="about">About OpenERP</a></li>
333             <li><a href="#" data-menu="settings">Preferences</a></li>
334             <li><a href="#" data-menu="logout">Log out</a></li>
335         </ul>
336     </span>
337 </t>
338 <t t-name="UserMenu.about">
339
340     <div class="oe_about">
341       <a class="oe_activate_debug_mode oe_right" href="?debug">Activate the developer mode</a>
342       <img class="oe_logo" src="/web/static/src/img/logo2.png"/>
343       <h3>Version <t t-esc="version_info.version"/></h3>
344
345       <div class="oe_bottom">
346         <p>Copyright Â© 2004-TODAY OpenERP SA. All Rights Reserved.<br />
347             OpenERP is a trademark of the <a target="_blank" href="http://openerp.com/" style="text-decoration: underline;">OpenERP SA Company</a>.</p>
348         <p>Licenced under the terms of <a target="_blank" href="http://www.gnu.org/licenses/agpl.html" style="text-decoration: underline;">GNU Affero General Public License</a></p>
349         <p>For more information visit <a target="_blank" href="http://openerp.com/" style="text-decoration: underline;">OpenERP.com</a></p>
350       </div>
351     </div>
352
353 </t>
354 <t t-name="UserMenu.password">
355     <form name="change_password_form" method="POST">
356         <table align="center">
357             <tr>
358                 <td><label for="old_pwd">Old Password:</label></td>
359                 <td><input type="password" name="old_pwd"
360                            minlength="1" autofocus="autofocus"/></td>
361             </tr>
362             <tr>
363             <td><label for="new_password">New Password:</label></td>
364             <td><input type="password" name="new_password"
365                        minlength="1" autofocus="autofocus"/></td>
366             </tr>
367             <tr>
368                 <td><label for="confirm_pwd">Confirm Password:</label></td>
369                 <td><input type="password" name="confirm_pwd"
370                              minlength="1"/></td>
371             </tr>
372             <tr>
373                 <td colspan="2" align="right"><button class="oe_button">Change Password</button></td>
374             </tr>
375         </table>
376     </form>
377 </t>
378
379 <t t-name="WebClient">
380     <div class="openerp openerp_webclient_container">
381     <table class="oe_webclient">
382         <tr>
383             <td colspan="2" class="oe_topbar">
384                 <div class="oe_menu_placeholder"/>
385                 <div class="oe_user_menu_placeholder"/>
386                 <div class="oe_systray"/>
387             </td>
388         </tr>
389         <tr>
390             <td class="oe_leftbar" valign="top">
391                 <t t-js="d">
392                     d.url = '/' + (window.location.search || '');
393                 </t>
394                 <a t-att-href="url" class="oe_logo"><img t-att-src='_s + "/web/static/src/img/logo.png"'/></a>
395                 <div class="oe_secondary_menus_container"/>
396                 <div class="oe_footer">
397                     Powered by <a href="http://www.openerp.com"><span>Open</span>ERP</a>
398                 </div>
399             </td>
400             <td class="oe_application">
401             </td>
402         </tr>
403     </table>
404     </div>
405 </t>
406
407 <t t-name="EmbedClient">
408     <div class="openerp">
409         <div class="oe_application"></div>
410     </div>
411 </t>
412
413 <t t-name="ViewManager">
414     <div class="oe_view_manager">
415         <table class="oe_view_manager_header">
416             <col width="20%"/>
417             <col width="25%"/>
418             <col width="20%"/>
419             <col width="35%"/>
420             <tr class="oe_header_row oe_header_row_top">
421                 <td colspan="2">
422                         <h2 class="oe_view_title" t-if="widget.flags.display_title !== false">
423                             <span class="oe_view_title_text oe_breadcrumb_title"/>
424                         </h2>
425                 </td>
426                 <td colspan="2">
427                         <div class="oe_view_manager_view_search" t-opentag="true"/>
428                 </td>
429             </tr>
430             <tr class="oe_header_row">
431                 <td>
432                         <div class="oe_view_manager_buttons"/>
433                 </td>
434                 <td colspan="2">
435                         <div class="oe_view_manager_sidebar"/>
436                 </td>
437                 <td>
438                     <ul class="oe_view_manager_switch oe_button_group oe_right">
439                         <t t-if="widget.views_src.length > 1" t-foreach="widget.views_src" t-as="view">
440                           <li class="oe_e"><a t-attf-class="oe_vm_switch_#{view.view_type}" t-att-data-view-type="view.view_type" t-att-title="_t('Switch to ') + (view.label || view.view_type)">
441                             </a></li>
442                         </t>
443                     </ul>
444                     <div class="oe_view_manager_pager oe_right"/>
445                 </td>
446             </tr>
447         </table>
448
449         <div class="oe_view_manager_body">
450             <t t-foreach="widget.views_src" t-as="view">
451                 <div t-attf-class="oe_view_manager_view_#{view.view_type}"/>
452             </t>
453         </div>
454     </div>
455 </t>
456
457 <t t-name="ViewManagerAction" t-extend="ViewManager">
458     <t t-jquery="h2.oe_view_title" t-operation="before">
459         <select t-if="widget.session.debug" class="oe_debug_view"/>
460     </t>
461 </t>
462 <t t-name="ViewManagerDebug">
463     <option value="">Debug View#<t t-esc="view.fields_view.view_id"/></option>
464     <option t-if="view_manager.active_view === 'form'" value="perm_read" data-views="form,page">View Log (perm_read)</option>
465     <option t-if="view_manager.active_view === 'form'" value="toggle_layout_outline">Toggle Form Layout Outline</option>
466     <option value="fields">View Fields</option>
467     <option value="fvg">Fields View Get</option>
468     <option value="manage_filters">Manage Filters</option>
469     <t t-if="view_manager.session.uid === 1">
470         <option value="manage_views">Manage Views</option>
471         <option value="edit" data-model="ir.ui.view" t-att-data-id="view.fields_view.view_id">Edit <t t-esc="_.str.capitalize(view.fields_view.type)"/>View</option>
472         <option t-if="view_manager.searchview" value="edit" data-model="ir.ui.view" t-att-data-id="view_manager.searchview.view_id">Edit SearchView</option>
473         <option t-if="view_manager.action" value="edit" t-att-data-model="view_manager.action.type" t-att-data-id="view_manager.action.id">Edit Action</option>
474         <option value="edit_workflow">Edit Workflow</option>
475     </t>
476 </t>
477 <t t-name="ViewManagerDebugViewLog">
478     <div class="oe_debug_view_log">
479         <label>ID:</label>
480         <span><t t-esc="perm.id"/></span>
481
482         <label>XML ID:</label>
483         <span><t t-esc="perm.xmlid"/></span>
484
485         <label>Creation User:</label>
486         <span><t t-esc="format(perm.create_uid, { 'type' : 'many2one' }, '/')"/></span>
487
488         <label>Creation Date:</label>
489         <span><t t-esc="format(perm.create_date, { 'type' : 'datetime' }, '/')"/></span>
490
491         <label>Latest Modification by:</label>
492         <span><t t-esc="format(perm.write_uid, { 'type' : 'many2one' }, '/')"/></span>
493
494         <label>Latest Modification Date:</label>
495         <span><t t-esc="format(perm.write_date, { 'type' : 'datetime' }, '/')"/></span>
496     </div>
497 </t>
498 <t t-name="ViewPager">
499     <div class="oe_pager_value">
500         <t t-raw="__content__"/>
501     </div>
502     <ul class="oe_pager_group">
503         <!--
504         <button class="oe_button oe_button_pager" type="button" data-pager-action="first">
505             <img t-att-src='_s + "/web/static/src/img/pager_first.png"'/>
506         </button>
507         -->
508         <li>
509             <a class="oe_i" type="button" data-pager-action="previous">(</a>
510         </li>
511         <li>
512             <a class="oe_i" type="button" data-pager-action="next">)</a>
513         </li>
514         <!--
515         <button class="oe_button oe_button_pager" type="button" data-pager-action="last">
516             <img t-att-src='_s + "/web/static/src/img/pager_last.png"'/>
517         </button>
518         -->
519     </ul>
520 </t>
521
522 <t t-name="Sidebar">
523     <div class="oe_sidebar">
524         <t t-foreach="widget.sections" t-as="section">
525             <div class="oe_form_dropdown_section">
526                 <button class="oe_dropdown_toggle oe_dropdown_arrow">
527                     <t t-esc="section.label"/>
528                 </button>
529                 <ul class="oe_dropdown_menu">
530                     <li t-foreach="widget.items[section.name]" t-as="item" t-att-class="item.classname">
531                         <a class="oe_sidebar_action_a" t-att-title="item.title" t-att-data-section="section.name" t-att-data-index="item_index" t-att-href="item.url" target="_blank">
532                             <t t-raw="item.label"/>
533                         </a>
534                         <a t-if="section.name == 'files'" class="oe_sidebar_delete_item" t-att-data-id="item.id" title="Delete this attachment">x</a>
535                     </li>
536                     <li t-if="section.name == 'files'" class="oe_sidebar_add_attachment">
537                         <t t-call="HiddenInputFile">
538                             <t t-set="fileupload_id" t-value="widget.fileupload_id"/>
539                             <t t-set="fileupload_action">/web/binary/upload_attachment</t>
540                             <input type="hidden" name="model" t-att-value="widget.dataset and widget.dataset.model"/>
541                             <input type="hidden" name="id" t-att-value="widget.model_id"/>
542                             <input type="hidden" name="session_id" t-att-value="widget.session.session_id"/>
543                             <span>Add...</span>
544                         </t>
545                     </li>
546                 </ul>
547             </div>
548         </t>
549     </div>
550 </t>
551
552 <t t-name="TreeView">
553     <div class = "tree_header">
554          <select t-if="toolbar" ></select>
555          <button id = "tree_view_collapse">Collapse All</button>
556          <button id = "tree_view_expand">Expand All</button>
557      </div>
558     <table class="oe-treeview-table">
559         <thead>
560             <tr>
561                 <th t-foreach="fields_view" t-as="field"
562                     t-if="!field.attrs.modifiers.tree_invisible">
563                     <t t-esc="fields[field.attrs.name].string" />
564                 </th>
565             </tr>
566         </thead>
567         <tbody>
568         </tbody>
569     </table>
570 </t>
571 <tr t-name="TreeView.rows"
572         t-foreach="records" t-as="record"
573         t-att-id="'treerow_' + record.id"
574         t-att-data-id="record.id" t-att-data-level="level">
575     <t t-set="children" t-value="record[children_field]"/>
576     <t t-set="class" t-value="children and children.length ? 'treeview-tr' : 'treeview-td'"/>
577     <t t-set="rank" t-value="'oe-treeview-first'"/>
578     <t t-set="style" t-value="'background-position: ' + 19*(level-1) + 'px; padding-left: ' + 19*(level-1) + 'px;'"/>
579
580     <td t-foreach="fields_view" t-as="field"
581         t-if="!field.attrs.modifiers.tree_invisible"
582         t-att-data-id="record.id"
583         t-att-style="color_for(record) + style "
584         t-attf-class="#{class} #{rank} #{(fields[field.attrs.name].type === 'float') or (fields[field.attrs.name].type === 'integer') ? 'oe_number' : ''}">
585
586         <span t-if="!field.attrs.modifiers.invisible" >
587             <t t-esc="render(record[field.attrs.name], fields[field.attrs.name])" />
588         </span>
589
590         <t t-set="class" t-value="'treeview-td'"/>
591         <t t-set="rank" t-value="''"/>
592         <t t-set="style" t-value="''"/>
593     </td>
594 </tr>
595
596 <table t-name="ListView" class="oe_list_content">
597     <t t-set="columns_count" t-value="visible_columns.length + (options.selectable ? 1 : 0) + (options.deletable ? 1 : 0)"/>
598     <thead>
599         <tr t-if="(!!options.action_buttons and !options.$buttons) or (!!options.pager and !options.$pager)">
600             <th t-att-colspan="columns_count">
601                 <div class="oe_list_buttons"/>
602                 <div class="oe_list_sidebar"/>
603                 <div class="oe_list_pager"/>
604             </th>
605         </tr>
606         <tr t-if="options.header" class="oe_list_header_columns">
607             <t t-foreach="columns" t-as="column">
608                 <th t-if="column.meta">
609                     <t t-esc="column.string"/>
610                 </th>
611             </t>
612             <th t-if="options.selectable" width="1"  >
613                 <input type="checkbox" class="oe_list_record_selector"/>
614             </th>
615             <t t-foreach="columns" t-as="column">
616                 <th t-if="!column.meta and column.invisible !== '1'" t-att-data-id="column.id"
617                     t-att-class="((options.sortable and column.tag !== 'button') ? 'oe_sortable' : null)">
618                     <t t-if="column.tag !== 'button'"><t t-esc="column.string"/></t>
619                 </th>
620             </t>
621             <th t-if="options.deletable" width="1"/>
622         </tr>
623     </thead>
624     <tfoot>
625         <tr>
626             <td t-if="options.selectable"/>
627             <td t-foreach="aggregate_columns" t-as="column" class="oe_list_footer oe_number"
628                 t-att-data-field="column.id" t-att-title="column.label">
629             </td>
630             <td t-if="options.deletable"/>
631         </tr>
632     </tfoot>
633 </table>
634 <div t-name="ListView.buttons" class="oe_list_buttons">
635     <t t-if="!widget.no_leaf and widget.options.action_buttons !== false and widget.options.addable">
636         <button type="button" class="oe_button oe_list_add oe_highlight">
637             <t t-esc="widget.options.addable"/>
638         </button>
639         <span class="oe_alternative" t-if="widget.options.import_enabled">
640             <span class="oe_fade">or</span> <a href="#" class="oe_bold oe_list_button_import">Import</a>
641         </span>
642     </t>
643 </div>
644 <t t-name="ListView.pager">
645     <div class="oe_list_pager" t-att-colspan="widget.columns_count">
646         <t t-if="!widget.no_leaf and widget.options.pager !== false" t-call="ViewPager">
647             <span class="oe_list_pager_state">
648             </span>
649         </t>
650     </div>
651 </t>
652 <t t-name="ListView.rows" t-foreach="records.length" t-as="index">
653     <t t-call="ListView.row">
654         <t t-set="record" t-value="records.at(index)"/>
655     </t>
656 </t>
657 <tr t-name="ListView.row"
658         t-att-data-id="record.get('id')"
659         t-att-style="view.style_for(record)">
660     <t t-set="asData" t-value="record.toForm().data"/>
661     <t t-foreach="columns" t-as="column">
662         <td t-if="column.meta"> </td>
663     </t>
664     <th t-if="options.selectable" class="oe_list_record_selector" width="1">
665         <t t-set="checked" t-value="options.select_view_id == record.get('id') ? 'checked' : null"/>
666         <input t-if="options.radio" type="radio" name="radiogroup" t-att-checked="checked"/>
667         <input t-if="!options.radio" type="checkbox" name="radiogroup" t-att-checked="checked"/>
668     </th>
669     <t t-foreach="columns" t-as="column">
670         <t t-set="number" t-value="column.type === 'integer' or column.type == 'float'"/>
671         <t t-set="modifiers" t-value="column.modifiers_for(asData)"/>
672         <td t-if="!column.meta and column.invisible !== '1'" t-att-title="column.help"
673             t-attf-class="oe_list_field_cell oe_list_field_#{column.widget or column.type} #{number ? 'oe_number' : ''} #{column.tag === 'button' ? 'oe-button' : ''} #{modifiers.readonly ? 'oe_readonly' : ''}"
674             t-att-data-field="column.id"
675             ><t t-raw="render_cell(record, column)"/></td>
676     </t>
677     <td t-if="options.deletable" class='oe_list_record_delete' width="1">
678         <button type="button" name="delete" class="oe_i">d</button>
679     </td>
680 </tr>
681 <t t-extend="ListView.buttons">
682     <t t-jquery="button.oe_list_add" t-operation="after">
683         <button class="oe_button oe_list_save oe_highlight"
684                 type="button">Save</button>
685     </t>
686     <t t-jquery="a.oe_list_button_import" t-operation="after">
687         <a href="#" class="oe_bold oe_list_discard">discard</a>
688     </t>
689 </t>
690 <t t-extend="ListView.row">
691     <!-- adds back padding to row being rendered after edition, if necessary
692          (if not deletable add back padding), otherwise the row being added is
693          missing columns
694      -->
695     <t t-jquery="&gt; :last" t-operation="after">
696         <td t-if="edited and !options.deletable" class="oe-listview-padding"/>
697     </t>
698 </t>
699
700 <t t-name="FormView">
701     <div class="oe_formview">
702         <div class="oe_form_buttons"/>
703         <div class="oe_form_sidebar"/>
704         <div class="oe_form_pager"/>
705         <div class="oe_form_container"/>
706     </div>
707 </t>
708 <div t-name="FormView.buttons" class="oe_form_buttons">
709     <t t-if="widget.options.action_buttons !== false">
710         <span class="oe_form_buttons_view">
711             <button type="button" class="oe_button oe_form_button_edit">Edit</button>
712             <button type="button" class="oe_button oe_form_button_create">Create</button>
713         </span>
714         <span class="oe_form_buttons_edit">
715             <button type="button" class="oe_button oe_form_button_save oe_highlight">Save</button> <span class="oe_fade">or</span> <a href="#" class="oe_bold oe_form_button_cancel">Discard</a>
716         </span>
717     </t>
718 </div>
719 <t t-name="FormView.pager">
720     <div class="oe_form_pager">
721         <t t-if="widget.options.pager !== false" t-call="ViewPager">
722             <span class="oe_pager_index">0</span><span class="oe_pager_separator"> / </span><span class="oe_pager_count">0</span>
723         </t>
724     </div>
725 </t>
726 <form t-name="FormView.set_default">
727     <t t-set="args" t-value="widget.dialog_options.args"/>
728     <table style="width: 100%">
729         <tr>
730             <td>
731                 <label for="formview_default_fields"
732                        class="oe_label oe_align_right">
733                     Default:
734                 </label>
735             </td>
736             <td class="oe_form_required">
737                 <select id="formview_default_fields">
738                     <option value=""/>
739                     <option t-foreach="args.fields" t-as="field"
740                             t-att-value="field.name">
741                         <t t-esc="field.string"/> = <t t-esc="field.displayed"/>
742                     </option>
743                 </select>
744             </td>
745         </tr>
746         <tr t-if="args.conditions.length">
747             <td>
748                 <label for="formview_default_conditions"
749                        class="oe_label oe_align_right">
750                     Condition:
751                 </label>
752             </td>
753             <td>
754                 <select id="formview_default_conditions">
755                     <option value=""/>
756                     <option t-foreach="args.conditions" t-as="cond"
757                             t-att-value="cond.name + '=' + cond.value">
758                         <t t-esc="cond.string"/>=<t t-esc="cond.displayed"/>
759                     </option>
760                 </select>
761             </td>
762         </tr>
763         <tr>
764             <td colspan="2">
765                 <input type="radio" id="formview_default_self"
766                        value="self" name="scope" checked="checked"/>
767                 <label for="formview_default_self" class="oe_label"
768                        style="display: inline;">
769                     Only you
770                 </label>
771                 <br/>
772                 <input type="radio" id="formview_default_all"
773                        value="all" name="scope"/>
774                 <label for="formview_default_all" class="oe_label"
775                        style="display: inline;">
776                     All users
777                 </label>
778             </td>
779         </tr>
780     </table>
781 </form>
782
783 <t t-name="FormRenderingForm">
784     <div t-attf-class="#{classnames}">
785     </div>
786 </t>
787 <t t-name="FormRenderingSheet">
788     <div class="oe_form_sheetbg">
789         <div t-attf-class="oe_form_sheet oe_form_sheet_width #{classnames}">
790         </div>
791     </div>
792 </t>
793 <t t-name="FormRenderingGroup">
794     <t t-if="string" t-call="FormRenderingSeparator"/>
795     <table border="0" cellpadding="0" cellspacing="0" t-attf-class="oe_form_group #{classnames}"/>
796 </t>
797 <t t-name="FormRenderingNotebook">
798     <div class="oe_clear">
799         <ul t-attf-class="oe_notebook #{classnames}">
800             <li t-foreach="pages" t-as="page" t-att-modifiers="page.modifiers">
801                 <a t-attf-href="##{page.id}">
802                     <t t-esc="page.string"/>
803                 </a>
804             </li>
805         </ul>
806     </div>
807 </t>
808 <t t-name="FormRenderingNotebookPage">
809     <div t-attf-class="oe_notebook_page #{classnames}" t-att-id="id">
810     </div>
811 </t>
812 <t t-name="FormRenderingSeparator">
813     <div t-attf-class="oe_horizontal_separator oe_clear #{classnames}">
814         <t t-esc="string"/>
815     </div>
816 </t>
817 <t t-name="FormRenderingLabel">
818     <label  t-att-for="_for"
819             t-att-title="help"
820             t-attf-class="#{classnames} oe_form_label#{help ? '_help' : ''} oe_align_#{align}">
821         <t t-esc="string"/>
822     </label>
823 </t>
824
825 <t t-name="Widget">
826     Unhandled widget
827     <t t-js="dict">console.warn('Unhandled widget', dict.widget);</t>
828 </t>
829 <t t-name="WidgetLabel.tooltip">
830     <div class="oe_tooltip_string" t-if="widget.string">
831         <t t-esc="widget.node.attrs.string"/> <t t-if="debug and widget.nolabel">(nolabel)</t>
832     </div>
833     <p t-if="widget.node.attrs.help or (widget.field and widget.field.help)" class="oe_tooltip_help"><t t-esc="widget.node.attrs.help || widget.field.help"/></p>
834     <ul t-if="debug" class="oe_tooltip_technical">
835         <li data-item="field" t-if="widget.name">
836             <span class="oe_tooltip_technical_title">Field:</span>
837             <t t-esc="widget.name"/>
838         </li>
839         <li data-item="object" t-if="widget.view and widget.view.fields_view">
840             <span class="oe_tooltip_technical_title">Object:</span>
841             <t t-esc="widget.view.fields_view.model"/>
842         </li>
843         <li data-item="type" t-if="widget.field">
844             <span class="oe_tooltip_technical_title">Type:</span>
845             <t t-esc="widget.field.type"/>
846         </li>
847         <li t-if="widget.node.attrs.widget" data-item="widget">
848             <span class="oe_tooltip_technical_title">Widget:</span>
849             <t t-esc="widget.node.attrs.widget"/>
850         </li>
851         <li t-if="widget.node.attrs.size || (widget.field and widget.field.size)" data-item="size">
852             <span class="oe_tooltip_technical_title">Size:</span>
853             <t t-esc="widget.node.attrs.size || widget.field.size"/>
854         </li>
855         <li t-if="widget.node.attrs.context" data-item="context">
856             <span class="oe_tooltip_technical_title">Context:</span>
857             <t t-esc="widget.node.attrs.context_string"/>
858         </li>
859         <li t-if="widget.node.attrs.domain" data-item="domain">
860             <span class="oe_tooltip_technical_title">Domain:</span>
861             <t t-esc="widget.node.attrs.domain_string"/>
862         </li>
863         <li t-if="widget.node.attrs.modifiers and widget.node.attrs.modifiers != '{}'" data-item="modifiers">
864             <span class="oe_tooltip_technical_title">Modifiers:</span>
865             <t t-esc="widget.node.attrs.modifiers"/>
866         </li>
867         <li t-if="widget.field and widget.field.change_default" data-item="change_default">
868             <span class="oe_tooltip_technical_title">Change default:</span>
869             Yes
870         </li>
871         <li t-if="widget.node.attrs.on_change" data-item="on_change">
872             <span class="oe_tooltip_technical_title">On change:</span>
873             <t t-esc="widget.node.attrs.on_change"/>
874         </li>
875         <li t-if="widget.field and widget.field.relation" data-item="relation">
876             <span class="oe_tooltip_technical_title">Relation:</span>
877             <t t-esc="widget.field.relation"/>
878         </li>
879         <li t-if="widget.field and widget.field.selection" data-item="selection">
880             <span class="oe_tooltip_technical_title">Selection:</span>
881             <ul>
882                 <li t-foreach="widget.field.selection" t-as="option">
883                     [<t t-esc="option[0]"/>]
884                     <t t-if="option[1]"> - </t>
885                     <t t-esc="option[1]"/>
886                 </li>
887             </ul>
888         </li>
889     </ul>
890 </t>
891 <t t-name="FieldChar">
892     <span t-att-class="'oe_form_field '+widget.widget_class" t-att-style="widget.node.attrs.style">
893         <t  t-if="!widget.get('effective_readonly')">
894             <input t-att-type="widget.password ? 'password' : 'text'"
895                 t-att-id="widget.id_for_label"
896                 t-att-tabindex="widget.node.attrs.tabindex"
897                 t-att-autofocus="widget.node.attrs.autofocus"
898                 t-att-placeholder="widget.node.attrs.placeholder"
899             /><img class="oe_field_translate oe_input_icon" t-if="widget.field.translate" t-att-src='_s + "/web/static/src/img/icons/terp-translate.png"' width="16" height="16" border="0"/>
900         </t>
901     </span>
902 </t>
903 <t t-name="FieldEmail">
904     <span class="oe_form_field oe_form_field_email" t-att-style="widget.node.attrs.style">
905         <a t-if="widget.get('effective_readonly')" href="#" class="oe_form_uri" target="_blank"/>
906         <t t-if="!widget.get('effective_readonly')">
907             <div>
908                 <input type="text"
909                     t-att-id="widget.id_for_label"
910                     t-att-tabindex="widget.node.attrs.tabindex"
911                     t-att-autofocus="widget.node.attrs.autofocus"
912                     t-att-placeholder="widget.node.attrs.placeholder"
913                 />
914             </div>
915         </t>
916     </span>
917 </t>
918 <t t-name="FieldUrl" t-extend="FieldEmail">
919     <t t-jquery="span:first">
920         this.removeClass('oe_form_field_email').addClass('oe_form_field_url');
921     </t>
922 </t>
923 <t t-name="FieldText">
924     <div class="oe_form_field oe_form_field_text" t-att-style="widget.node.attrs.style">
925         <textarea rows="6"
926             t-att-name="widget.name"
927             class="field_text"
928             t-att-tabindex="widget.node.attrs.tabindex"
929             t-att-autofocus="widget.node.attrs.autofocus"
930             t-att-placeholder="! widget.get('effective_readonly') ? widget.node.attrs.placeholder : ''"
931         ></textarea>
932         <img class="oe_field_translate oe_input_icon" t-if="widget.field.translate"
933             t-att-src='_s + "/web/static/src/img/icons/terp-translate.png"' width="16" height="16" border="0"/>
934     </div>
935 </t>
936 <t t-name="web.datepicker">
937     <span>
938         <t t-set="placeholder" t-value="widget.getParent().node and widget.getParent().node.attrs.placeholder"/>
939         <input type="text" class="oe_datepicker_container" disabled="disabled" style="display: none;"/>
940         <input type="text"
941             t-att-name="widget.name"
942             t-att-placeholder="placeholder"
943             class="oe_datepicker_master"
944         /><img class="oe_input_icon oe_datepicker_trigger" t-att-src='_s + "/web/static/src/img/ui/field_calendar.png"'
945              title="Select date" width="16" height="16" border="0"/>
946     </span>
947 </t>
948 <t t-name="FieldDate">
949     <span class="oe_form_field oe_datepicker_root oe_form_field_date" t-att-style="widget.node.attrs.style"/>
950 </t>
951 <t t-name="FieldDatetime">
952     <span class="oe_form_field oe_datepicker_root oe_form_field_datetime" t-att-style="widget.node.attrs.style"/>
953 </t>
954 <t t-name="FieldSelection">
955     <span class="oe_form_field oe_form_field_selection" t-att-style="widget.node.attrs.style">
956         <select t-if="!widget.get('effective_readonly')"
957             t-att-name="widget.name"
958             t-att-tabindex="widget.node.attrs.tabindex"
959             t-att-autofocus="widget.node.attrs.autofocus"
960             t-att-id="widget.id_for_label">
961                 <t t-foreach="widget.values" t-as="option">
962                     <option><t t-esc="option[1]"/></option>
963                 </t>
964         </select>
965     </span>
966 </t>
967 <t t-name="FieldMany2One">
968     <span class="oe_form_field oe_form_field_many2one oe_form_field_with_button" t-att-style="widget.node.attrs.style">
969         <t t-if="widget.get('effective_readonly')">
970             <a t-if="! widget.get_definition_options().no_open" href="#" class="oe_form_uri"/>
971             <span t-if="widget.get_definition_options().no_open" href="#" class="oe_form_uri"/>
972             <span class="oe_form_m2o_follow"/>
973         </t>
974         <t t-if="!widget.get('effective_readonly')">
975             <a t-if="! widget.get_definition_options().no_open" href="#" tabindex="-1"
976                 class="oe_m2o_cm_button oe_e oe_right">/</a>
977             <div>
978                 <input type="text"
979                     t-att-id="widget.id_for_label"
980                     t-att-tabindex="widget.node.attrs.tabindex"
981                     t-att-autofocus="widget.node.attrs.autofocus"
982                     t-att-placeholder="widget.node.attrs.placeholder"
983                 />
984                 <span class="oe_m2o_drop_down_button">
985                     <img t-att-src='_s + "/web/static/src/img/down-arrow.png"'/>
986                 </span>
987             </div>
988         </t>
989     </span>
990 </t>
991 <t t-name="FieldMany2ManyTags">
992     <div class="oe_form_field oe_tags" t-att-style="widget.node.attrs.style">
993         <t t-if="! widget.get('effective_readonly')">
994             <textarea rows="1" style="width: 100%"
995                 t-att-placeholder="widget.node.attrs.placeholder"></textarea>
996         </t>
997     </div>
998 </t>
999 <t t-name="FieldMany2ManyTag">
1000     <t t-set="i" t-value="0"/>
1001     <t t-foreach="elements" t-as="el">
1002         <span class="oe_tag" t-att-data-index="i">
1003             <t t-esc="el[1]"/>
1004         </span>
1005         <t t-set="i" t-value="i + 1"/>
1006     </t>
1007 </t>
1008 <t t-name="FieldReference">
1009     <table class="oe_form_field oe_form_field_reference" border="0" cellpadding="0" cellspacing="0" t-att-style="widget.node.attrs.style">
1010     <tr>
1011         <td t-attf-class="oe_form_frame_cell oe_form_selection">
1012             <span t-attf-class="oe_form_view_reference_selection"/>
1013         </td>
1014         <td t-attf-class="oe_form_frame_cell oe_form_many2one" nowrap="true">
1015             <span t-attf-class="oe_form_view_reference_m2o"/>
1016         </td>
1017     </tr>
1018     </table>
1019 </t>
1020 <t t-name="FieldBoolean">
1021     <span class="oe_form_field oe_form_field_boolean" t-att-style="widget.node.attrs.style">
1022         <input type="checkbox"
1023             t-att-id="widget.id_for_label"
1024             t-att-name="widget.name"
1025             t-att-tabindex="widget.node.attrs.tabindex"
1026             t-att-autofocus="widget.node.attrs.autofocus"
1027             class="field_boolean"/>
1028     </span>
1029 </t>
1030 <t t-name="FieldProgressBar">
1031     <span class="oe_form_field oe_form_field_progressbar" t-att-style="widget.node.attrs.style">
1032         <span></span>
1033     </span>
1034 </t>
1035 <t t-name="FieldStatus">
1036     <ul class="oe_form_steps" t-att-style="widget.node.attrs.style"/>
1037 </t>
1038 <t t-name="FieldStatus.content">
1039     <t t-set="size" t-value="widget.to_show.length"/>
1040     <t t-foreach="_.range(size)" t-as="i">
1041         <li t-att-class="widget.to_show[i][0] === widget.selected_value ? 'oe_form_steps_active' : ''">
1042             <span><t t-esc="widget.to_show[i][1]"/></span>
1043             <img t-att-src='_s + "/web/static/src/img/form_steps.png"' class="oe_form_steps_arrow" t-if="i &lt; size - 1"/>
1044         </li>
1045     </t>
1046 </t>
1047 <t t-name="FieldBinaryImage">
1048     <span class="oe_form_field oe_form_field_image" t-att-style="widget.node.attrs.style">
1049         <div class="oe_form_field_image_controls oe_edit_only">
1050             <t t-call="HiddenInputFile">
1051                 <t t-set="fileupload_id" t-value="widget.fileupload_id"/>
1052                 <button class="oe_button" type="button" title="Set Image">
1053                     <img t-att-src='_s + "/web/static/src/img/icons/STOCK_DIRECTORY.png"'/>
1054                 </button>
1055             </t>
1056             <button class="oe_button oe_form_binary_file_clear" type="button" title="Clear">
1057                 <img t-att-src='_s + "/web/static/src/img/icons/STOCK_MISSING_IMAGE.png"'/>
1058             </button>
1059             <div class="oe_form_binary_progress" style="display: none">
1060                 <img t-att-src='_s + "/web/static/src/img/throbber.gif"' width="16" height="16"/>
1061                 <b>Uploading ...</b>
1062             </div>
1063         </div>
1064     </span>
1065 </t>
1066 <t t-name="FieldBinaryImage-img">
1067     <img t-att-src='url'
1068         t-att-border="widget.readonly ? 0 : 1"
1069         t-att-name="widget.name"
1070         t-att-width="widget.node.attrs.img_width || widget.node.attrs.width"
1071         t-att-height="widget.node.attrs.img_height || widget.node.attrs.height"
1072     />
1073 </t>
1074 <t t-name="FieldBinaryFile">
1075     <t t-if="!widget.get('effective_readonly')">
1076         <table class="oe_form_field oe_form_field_binary" cellpadding="0" cellspacing="0" border="0" t-att-style="widget.node.attrs.style">
1077         <tr>
1078             <td>
1079                 <input type="text" size="1" readonly="readonly"
1080                     t-att-name="widget.name"
1081                     t-att-tabindex="widget.node.attrs.tabindex"
1082                     t-att-autofocus="widget.node.attrs.autofocus"
1083                     class="field_binary"
1084                 />
1085             </td>
1086             <td class="oe_form_binary" nowrap="true">
1087                 <table cellspacing="0" cellpadding="0" border="0">
1088                 <tr>
1089                     <td>
1090                         <t t-call="HiddenInputFile">
1091                             <t t-set="fileupload_id" t-value="widget.fileupload_id"/>
1092                             <t t-set="fileupload_style">width: 83px;</t>
1093                             <button class="oe_button oe_field_button" type="button" title="Set Image">
1094                                 <img t-att-src='_s + "/web/static/src/img/icons/STOCK_DIRECTORY.png"'/>
1095                                 <span>Select</span>
1096                             </button>
1097                         </t>
1098                     </td>
1099                     <td>
1100                         <a class="oe_form_binary_file_save_data">
1101                             <button class="oe_button oe_form_binary_file_save" type="button" title="Save As">
1102                                 <img t-att-src='_s + "/web/static/src/img/icons/gtk-save.png"'/>
1103                                 <span>Save As</span>
1104                             </button>
1105                         </a>
1106                     </td>
1107                     <td>
1108                         <button class="oe_button oe_form_binary_file_clear" type="button" title="Clear">
1109                             <img t-att-src='_s + "/web/static/src/img/icons/STOCK_MISSING_IMAGE.png"'/>
1110                             <span>Clear</span>
1111                         </button>
1112                     </td>
1113                 </tr>
1114                 </table>
1115             </td>
1116             <td class="oe_form_binary_progress" style="display: none" nowrap="true">
1117                 <img t-att-src='_s + "/web/static/src/img/throbber.gif"' width="16" height="16"/>
1118                 <b>Uploading ...</b>
1119             </td>
1120         </tr>
1121         </table>
1122     </t>
1123     <t t-if="widget.get('effective_readonly')">
1124         <span t-att-style="widget.node.attrs.style">
1125             <a href="javascript:void(0)" class="oe_form_uri"/>
1126         </span>
1127     </t>
1128 </t>
1129 <t t-name="HiddenInputFile">
1130     <div t-attf-class="oe_hidden_input_file #{fileupload_class or ''}" t-att-style="fileupload_style">
1131         <form class="oe_form_binary_form" t-att-target="fileupload_id"
1132             method="post" enctype="multipart/form-data" t-att-action="fileupload_action || '/web/binary/upload'">
1133             <input type="hidden" name="session_id" value=""/>
1134             <input type="hidden" name="callback" t-att-value="fileupload_id"/>
1135             <t t-raw="__content__"/>
1136             <input type="file" class="oe_form_binary_file" name="ufile"/>
1137         </form>
1138         <iframe t-att-id="fileupload_id" t-att-name="fileupload_id" style="display: none"/>
1139     </div>
1140 </t>
1141 <t t-name="WidgetButton">
1142     <button type="button" class="oe_button oe_form_button"
1143         t-att-style="widget.node.attrs.style"
1144         t-att-tabindex="widget.node.attrs.tabindex"
1145         t-att-autofocus="widget.node.attrs.autofocus">
1146         <img t-if="widget.node.attrs.icon" t-att-src="_s + widget.node.attrs.icon" width="16" height="16"/>
1147         <span t-if="widget.string"><t t-esc="widget.string"/></span>
1148     </button>
1149 </t>
1150 <t t-name="WidgetButton.tooltip" t-extend="WidgetLabel.tooltip">
1151     <t t-jquery="div.oe_tooltip_string" t-operation="replace">
1152         <div class="oe_tooltip_string" t-if="debug || widget.string">
1153             <t t-if="debug">
1154                 Button
1155                 <t t-if="widget.string">: </t>
1156                 <t t-if="!widget.string"> (no string)</t>
1157             </t>
1158             <t t-esc="widget.string"/>
1159         </div>
1160     </t>
1161     <t t-jquery="ul.oe_tooltip_technical" t-operation="append">
1162         <li t-if="widget.node.attrs.special" data-item="special">
1163             <span class="oe_tooltip_technical_title">Special:</span>
1164             <t t-esc="widget.node.attrs.special"/>
1165         </li>
1166         <t t-set="button_type" t-value="widget.node.attrs.type"/>
1167         <li t-if="button_type" data-item="button_type">
1168             <span class="oe_tooltip_technical_title">Button Type:</span>
1169             <t t-esc="button_type"/>
1170         </li>
1171         <li t-if="button_type === 'object'" data-item="button_method">
1172             <span class="oe_tooltip_technical_title">Method:</span>
1173             <t t-esc="widget.node.attrs.name"/>
1174         </li>
1175         <li t-if="button_type === 'action'" data-item="button_action">
1176             <span class="oe_tooltip_technical_title">Action ID:</span>
1177             <t t-esc="widget.node.attrs.name"/>
1178         </li>
1179     </t>
1180 </t>
1181
1182 <t t-name="TranslateDialog">
1183     <table t-if="widget.view.translatable_fields" class="oe_form oe_translation_form" border="0" cellpadding="0" cellspacing="0" width="100%">
1184     <tr>
1185         <td class="oe_form_separator" width="1%" nowrap="nowrap">
1186             <div class="oe_horizontal_separator">Field</div>
1187         </td>
1188         <th t-foreach="widget.languages" align="left">
1189             <div class="oe_horizontal_separator"><t t-esc="name"/></div>
1190         </th>
1191     </tr>
1192     <tr t-foreach="widget.view.translatable_fields" t-as="field" t-att-data-field="field.name">
1193         <td class="oe_form_group_cell" width="1%" nowrap="nowrap">
1194             <label class="oe_label"><t t-esc="field.node.attrs.string"/>:</label>
1195         </td>
1196         <td t-foreach="widget.languages" t-as="lg" class="oe_form_group_cell">
1197             <input t-if="field.type == 'char'" type="text" t-attf-name="#{lg.code}-#{field.name}" value="" data-value="" class="oe_trad_field" style="width: 100%"/>
1198             <textarea t-if="field.type == 'text'" t-attf-name="#{lg.code}-#{field.name}" data-value="" class="oe_trad_field" style="width: 100%"></textarea>
1199         </td>
1200     </tr>
1201     </table>
1202 </t>
1203
1204 <t t-name="AbstractFormPopup.render">
1205     <div>
1206         <table style="width:100%">
1207             <tr style="width:100%">
1208                 <td style="width:100%">
1209                     <div class="oe_popup_search" style="width:100%"></div>
1210                 </td>
1211             </tr>
1212             <tr style="width:100%">
1213                 <td style="width:100%">
1214                     <div class="oe_popup_list" style="width:100%"></div>
1215                 </td>
1216             </tr>
1217         </table>
1218         <div class="oe_popup_form" style="width:100%"></div>
1219     </div>
1220 </t>
1221 <t t-name="SelectCreatePopup.search.buttons">
1222     <t t-if="! widget.options.disable_multiple_selection">
1223         <button type="button" class="oe_button oe_selectcreatepopup-search-select" disabled="disabled">Select</button>
1224         or
1225     </t>
1226     <a class="oe_button oe_selectcreatepopup-search-close oe_bold oe_form_button_cancel" href="javascript:void(0)">Cancel</a>
1227 </t>
1228 <t t-name="AbstractFormPopup.buttons">
1229     <t t-if="! multi_select">
1230         <button type="button" class="oe_button oe_abstractformpopup-form-save oe_highlight">Save</button>
1231     </t>
1232     <t t-if="multi_select">
1233         <button type="button" class="oe_button oe_abstractformpopup-form-save-new oe_highlight">Save &amp; New</button>
1234         <button type="button" class="oe_button oe_abstractformpopup-form-save oe_highlight">Save &amp; Close</button>
1235     </t>
1236     or <a class="oe_button oe_abstractformpopup-form-close oe_bold oe_form_button_cancel" href="javascript:void(0)">Discard</a>
1237 </t>
1238
1239 <t t-name="One2Many.viewmanager" t-extend="ViewManager">
1240     <t t-jquery=".oe-view-manager-header">
1241         this.attr('t-if', 'views.length != 1');
1242     </t>
1243 </t>
1244 <t t-name="One2Many.formview" t-extend="FormView">
1245     <t t-jquery=".oe_form_buttons" t-operation="inner">
1246         <button type="button" class="oe_button oe_form_button_create">Add</button>
1247     </t>
1248 </t>
1249 <t t-name="One2Many.listview" t-extend="ListView">
1250     <t t-jquery="thead.ui-widget-header > tr:first">
1251         this.removeAttr('t-if');
1252     </t>
1253
1254     <t t-jquery="tfoot &gt; tr:last-child" t-operation="replace"/>
1255
1256     <t t-jquery="td.oe-actions">
1257         this.removeAttr('t-if');
1258     </t>
1259     <t t-jquery="td.oe-actions" t-operation="prepend">
1260         <h3 class="oe_view_title"><t t-esc="fields_view.arch.attrs.string"/></h3>
1261     </t>
1262 </t>
1263
1264 <div t-name="SearchView" class="oe_searchview">
1265     <div class="oe_searchview_facets"/>
1266     <div class="oe_searchview_clear"/>
1267     <div class="oe_searchview_unfold_drawer" title="Advanced Search..."/>
1268     <div class="oe_searchview_drawer"/>
1269     <button type="button" class="oe_searchview_search"
1270             title="Search Again">Search</button>
1271 </div>
1272
1273 <div t-name="SearchView.InputView"
1274      class="oe_searchview_input"
1275      contenteditable="true"/>
1276 <!-- tabindex: makes div focusable -->
1277 <div t-name="SearchView.FacetView"
1278      class="oe_searchview_facet"
1279      tabindex="0"
1280     ><span class="oe_facet_remove">x</span
1281     ><span class="oe_facet_category oe_i" t-if="widget.model.has('icon')">
1282         <t t-esc="widget.model.get('icon')"/>
1283     </span
1284     ><span class="oe_facet_category" t-if="!widget.model.has('icon')">
1285         <t t-esc="widget.model.get('category')"/>
1286     </span ><span class="oe_facet_values"
1287 /></div>
1288 <span t-name="SearchView.FacetView.Value" class="oe_facet_value">
1289     <t t-esc="widget.model.get('label')"/>
1290 </span>
1291 <t t-name="SearchView.managed-filters">
1292     <option class="oe_search_filters_title" value="">Filters</option>
1293     <optgroup label="-- Filters --">
1294         <t t-foreach="filters" t-as="filter">
1295             <option t-attf-value="get:#{filter_index}"
1296                     t-att-disabled="filter.disabled and 'disabled'"
1297                     t-att-title="filter.disabled and disabled_filter_message">
1298                 <t t-esc="filter.name"/>
1299             </option>
1300         </t>
1301     </optgroup>
1302     <optgroup label="-- Actions --">
1303         <option value="advanced_filter">Add Advanced Filter</option>
1304         <option value="save_filter">Save Filter</option>
1305         <option value="manage_filters">Manage Filters</option>
1306     </optgroup>
1307 </t>
1308 <t t-name="SearchView.managed-filters.add">
1309     <div>
1310         <p>Filter Name:</p>
1311         <input type="text"/>
1312         <p>(Any existing filter with the same name will be replaced)</p>
1313     </div>
1314 </t>
1315 <t t-name="SearchView.render_lines">
1316     <table class="oe_search_render_line" border="0" cellspacing="0" cellpadding="0"
1317            t-foreach="lines" t-as="line">
1318         <tr>
1319             <td t-foreach="line" t-as="widget" class="oe_searchview_field">
1320                 <t t-raw="widget.render(defaults)"/>
1321             </td>
1322         </tr>
1323     </table>
1324 </t>
1325 <button t-name="SearchView.filter" type="button"
1326         t-att-id="element_id"
1327         t-att-title="attrs.help"
1328         t-att-class="classes.join(' ')"
1329         t-att-style="style"
1330         t-att-autofocus="attrs.default_focus === '1' ? 'autofocus' : undefined">
1331     <img t-att-src="_s + '/web/static/src/img/icons/' + (attrs.icon || 'gtk-home') + '.png'" width="16" height="16"/>
1332     <br t-if="attrs.string"/>
1333     <t t-esc="attrs.string"/>
1334 </button>
1335 <ul t-name="SearchView.filters">
1336     <li t-foreach="widget.filters" t-as="filter"
1337             t-att-title="filter.attrs.string ? filter.attrs.help : undefined">
1338         <t t-esc="filter.attrs.string or filter.attrs.help or filter.attrs.name or 'Ω'"/>
1339     </li>
1340 </ul>
1341 <t t-name="SearchView.filters.facet">
1342     <div class="category oe_filter_category"><t t-esc="facet.get('category')"/></div>
1343
1344     <t t-set="val" t-value="facet.get('json')"/>
1345
1346     <div t-if="!(val instanceof Array)" class="search_facet_input_container">
1347         <t t-esc="facet.get('value')"/>
1348     </div>
1349     <t t-if="val instanceof Array">
1350         <div class="search_facet_input_container"
1351                 t-foreach="facet.get('json')" t-as="filter">
1352             <t t-esc="filter.attrs.string || filter.attrs.name"/>
1353         </div>
1354     </t>
1355
1356     <div class="search_facet_remove VS-icon VS-icon-cancel"/>
1357 </t>
1358 <t t-name="SearchView.field">
1359     <label t-att-class="'oe_label' + (attrs.help ? '_help' : '')"
1360            t-att-title="attrs.help"
1361            t-att-for="element_id"
1362            t-att-style="style">
1363         <t t-esc="attrs.string || attrs.name"/>
1364         <span t-if="attrs.help">?</span>
1365     </label>
1366     <div t-att-style="style">
1367         <input type="text" size="15" t-att-name="attrs.name"
1368                t-att-autofocus="attrs.default_focus === '1' ? 'autofocus' : undefined"
1369                t-att-id="element_id"
1370                t-att-value="defaults[attrs.name] || ''"/>
1371         <t t-if="filters.length" t-raw="filters.render(defaults)"/>
1372     </div>
1373 </t>
1374 <t t-name="SearchView.date">
1375     <label t-att-class="'oe_label' + (attrs.help ? '_help' : '')"
1376            t-att-title="attrs.help"
1377            t-att-for="element_id"
1378            t-att-style="style">
1379         <t t-esc="attrs.string || attrs.name"/>
1380         <span t-if="attrs.help">?</span>
1381     </label>
1382     <div t-att-style="style">
1383         <span t-att-id="element_id"/>
1384         <t t-if="filters.length" t-raw="filters.render(defaults)"/>
1385     </div>
1386 </t>
1387 <t t-name="SearchView.field.selection">
1388     <label t-att-title="attrs.help"
1389            t-att-class="'oe_label' + (attrs.help ? '_help' : '')"
1390            t-att-for="element_id"
1391            t-att-style="style">
1392         <t t-esc="attrs.string || attrs.name"/>
1393         <span t-if="attrs.help">?</span>
1394     </label>
1395     <div t-att-style="style">
1396         <select t-att-name="attrs.name" t-att-id="element_id"
1397                 t-att-autofocus="attrs.default_focus === '1' || undefined">
1398             <option t-if="prepend_empty"/>
1399             <t t-foreach="attrs.selection" t-as="option">
1400                 <t t-set="selected" t-value="defaults[attrs.name] === option[0]"/>
1401                 <option t-if="selected"
1402                         t-attf-selected="selected"
1403                         t-att-value="option_index">
1404                     <t t-esc="option[1]"/>
1405                 </option>
1406                 <option t-if="!selected" t-att-value="option_index">
1407                     <t t-esc="option[1]"/>
1408                 </option>
1409             </t>
1410         </select>
1411         <t t-if="filters.length" t-raw="filters.render(defaults)"/>
1412     </div>
1413 </t>
1414 <t t-name="SearchView.util.expand">
1415     <div t-att-class="'searchview_group ' + (expand == '0' ? 'folded' : 'expanded')">
1416         <a t-if="label" class="searchview_group_string" href="#">
1417             <t t-esc="label"/>
1418         </a>
1419         <div class="searchview_group_content">
1420             <t t-raw="content"/>
1421         </div>
1422     </div>
1423 </t>
1424 <t t-name="SearchView.group">
1425     <t t-call="SearchView.util.expand">
1426         <t t-set="expand" t-value="attrs.expand"/>
1427         <t t-set="label" t-value="attrs.string"/>
1428         <t t-set="content">
1429             <t t-call="SearchView.render_lines"/>
1430         </t>
1431     </t>
1432 </t>
1433 <div t-name="SearchView.Filters" class="oe_searchview_filters oe_searchview_section">
1434
1435 </div>
1436 <div t-name="SearchView.CustomFilters" class="oe_searchview_custom oe_searchview_section">
1437     <div>
1438         <h3><span class="oe_i">M</span> Custom Filters</h3>
1439         <ul class="oe_searchview_custom_list"/>
1440         <div class="oe_searchview_custom">
1441           <h4>Save current filter</h4>
1442           <form>
1443             <p><input id="oe_searchview_custom_input" placeholder="Filter name"/></p>
1444             <p><input id="oe_searchview_custom_public" type="checkbox"/>
1445               <label for="oe_searchview_custom_public">Share with all users</label></p>
1446             <button>Save</button>
1447           </form>
1448         </div>
1449     </div>
1450     <div>
1451     </div>
1452 </div>
1453 <div t-name="SearchView.addtoreporting" class="oe_searchview_dashboard">
1454     <h4>Add to Dashboard</h4>
1455     <form>
1456         <p><input placeholder="Title of new dashboard item"/></p>
1457         <button class="oe_apply" type="submit">Add</button>
1458     </form>
1459 </div>
1460 <t t-name="SearchView.addtoreporting.selection">
1461     <select>
1462         <option t-foreach="selections" t-as="element"
1463                 t-att-value="element.id || element.res_id ">
1464             <t t-esc="element.name"/></option>
1465     </select>
1466 </t>
1467 <div t-name="SearchView.advanced" class="oe_searchview_advanced">
1468     <h4>Advanced Search</h4>
1469     <form>
1470         <ul>
1471
1472         </ul>
1473         <button class="oe_add_condition button" type="button">Add a condition</button><br/>
1474         <button class="oe_apply" type="submit">Apply</button>
1475     </form>
1476 </div>
1477 <t t-name="SearchView.extended_search.proposition">
1478     <li>
1479         <select class="searchview_extended_prop_field">
1480             <t t-foreach="widget.attrs.fields" t-as="field">
1481                 <option t-att="{'selected': field === widget.attrs.selected ? 'selected' : null}"
1482                         t-att-value="field.name">
1483                     <t t-esc="field.string"/>
1484                 </option>
1485             </t>
1486         </select>
1487         <select class="searchview_extended_prop_op"/>
1488         <span class="searchview_extended_prop_value"/>
1489         <a class="searchview_extended_delete_prop button">x</a>
1490     </li>
1491 </t>
1492 <t t-name="SearchView.extended_search.proposition.char">
1493     <input class="field_char"/>
1494 </t>
1495 <t t-name="SearchView.extended_search.proposition.empty">
1496     <span/>
1497 </t>
1498 <t t-name="SearchView.extended_search.proposition.integer">
1499     <input type="number" class="field_integer" step="1"/>
1500 </t>
1501 <t t-name="SearchView.extended_search.proposition.float">
1502     <input type="number" class="field_float" step="0.01"/>
1503 </t>
1504 <t t-name="SearchView.extended_search.proposition.selection">
1505     <select>
1506         <t t-foreach="widget.field.selection" t-as="element">
1507         <option t-att-value="element[0]"><t t-esc="element[1]"/></option>
1508         </t>
1509     </select>
1510 </t>
1511
1512 <t t-name="ExportView">
1513     <a id="exportview" href="javascript: void(0)" style="text-decoration: none;color: #3D3D3D;">Export</a>
1514 </t>
1515 <table t-name="ExportTreeView" class="oe_export"
1516        style="background-color: #F3F3F3;">
1517     <tr>
1518         <td colspan="3">
1519             This wizard will export all data that matches the current search criteria to a CSV file.
1520             You can export all data or only the fields that can be reimported after modification.
1521         </td>
1522     </tr>
1523     <tr>
1524         <td colspan="3">
1525             <label for="import_compat">Export Type:</label>
1526             <select id="import_compat" name="import_compat">
1527                 <option value="yes">Import Compatible Export</option>
1528                 <option value="">Export all Data</option>
1529             </select>
1530
1531             <label for="export_format">Export Formats</label>
1532             <select id="export_format" name="export_format"></select>
1533         </td>
1534     </tr>
1535
1536     <tr>
1537         <th>Available fields</th>
1538         <th/>
1539         <th>
1540             Fields to export
1541             <a style="color: blue; text-decoration: none;" href="#" id="export_new_list">Save fields list</a>
1542             <div id="savenewlist"></div>
1543             <div id="ExistsExportList"></div>
1544         </th>
1545     </tr>
1546     <tr style="height: 400px;">
1547         <td class="oe_export_fields_selector_left">
1548             <div id="left_field_panel">
1549             </div>
1550         </td>
1551         <td class="oe_export_fields_selector_center">
1552             <!-- TODO: replace ids by 'oe_*' classes -->
1553             <button class="oe_button" id="add_field">Add</button>
1554             <button class="oe_button" id="remove_field">Remove</button>
1555             <button class="oe_button" id="remove_all_field">Remove All</button>
1556         </td>
1557         <td class="oe_export_fields_selector_right">
1558             <select name="fields_list" id="fields_list"
1559                     multiple="multiple"></select>
1560         </td>
1561     </tr>
1562 </table>
1563 <table t-name="ExportTreeView-Secondary"
1564        id="field-tree-structure" class="oe_export_fields_selector_export"
1565        cellspacing="0" cellpadding="0">
1566     <tr><th class="oe_export_tree_header"> Name </th></tr>
1567     <t t-call="ExportTreeView-Secondary.children"/>
1568 </table>
1569 <tr t-name="ExportTreeView-Secondary.children"
1570     t-foreach="fields" t-as="field"
1571     t-att-id="'treerow-' + field.id" class="oe_export_row">
1572     <td>
1573         <table class="tree_grid" border="0">
1574             <tr class="oe_export_row">
1575                 <t t-foreach="(field.id).split('/')" t-as="level" >
1576                     <t t-if="(field.id).split('/')[0] != level">
1577                         <td width="18" t-translation="off">&amp;nbsp;</td>
1578                     </t>
1579                 </t>
1580                 <td valign="top" align="left" style="cursor: pointer;" width="18">
1581                     <t t-if="field.children">
1582                         <t t-if="(field.id).split('/').length != 3">
1583                             <img t-att-id="'parentimg-' + field.id" t-att-src='_s + "/web/static/src/img/expand.gif"' width="16" height="16" border="0"/>
1584                         </t>
1585                     </t>
1586                 </td>
1587                 <td id="tree-column" valign="middle" align="left" style="cursor: pointer;">
1588                     <a t-att-id="'export-' + field.id"  t-att-string="field.string" href="javascript: void(0);" style="text-decoration: none;">
1589                         <t t-esc="field.string"/>
1590                     </a>
1591                 </td>
1592             </tr>
1593         </table>
1594     </td>
1595 </tr>
1596 <t t-name="ExportNewList">
1597     <tr>
1598         <th><label>Save as:</label></th>
1599         <td><input size="10" type="text" id="savelist_name"/></td>
1600         <td><button class="oe_button oe_export_button_export" id="add_export_list">Ok</button></td>
1601     </tr>
1602 </t>
1603 <t t-name="Exists.ExportList">
1604     <label for="saved_export_list">Saved exports:</label>
1605
1606     <select id="saved_export_list">
1607         <option></option>
1608         <t t-foreach="existing_exports" t-as="export">
1609             <option t-att-value="export.id"><t t-esc="export.name"/></option>
1610         </t>
1611     </select>
1612     <button class="oe_button oe_export_button_export" id="delete_export_list" type="button">Delete</button>
1613 </t>
1614
1615 <t t-name="ImportView">
1616     <a id="importview" href="javascript: void(0)" style="text-decoration: none;color: #3D3D3D;">Import</a>
1617 </t>
1618 <t t-name="ImportDataView">
1619 <form name="import_data" id="import_data" action="" method="post" enctype="multipart/form-data"
1620         class="oe_import oe_import_no_result">
1621     <input type="hidden" name="session_id" t-att-value="widget.session.session_id"/>
1622     <h2 class="separator horizontal">1. Import a .CSV file</h2>
1623     <p>Select a .CSV file to import. If you need a sample of file to import,
1624        you should use the export tool with the "Import Compatible" option.
1625     </p>
1626     <p>
1627         <label for="csvfile">CSV File:</label>
1628         <input type="file" id="csvfile" size="50" name="csvfile"/>
1629     </p>
1630     <h2 class="separator horizontal oe_import_result">2. Check your file format</h2>
1631     <div id="result" class="oe_import_result"></div>
1632     <fieldset class="oe_closed oe_import_result">
1633         <legend>Import Options</legend>
1634         <table>
1635             <tr>
1636                 <td colspan="4">
1637                     <label for="file_has_headers">Does your file have titles?</label>
1638                     <input type="checkbox" checked="checked"
1639                            id="file_has_headers"/>
1640                 </td>
1641             </tr>
1642             <tr>
1643                 <td><label for="csv_separator">Separator:</label></td>
1644                 <td><input type="text" name="csvsep" id="csv_separator" value=","/></td>
1645                 <td><label for="csv_delimiter">Delimiter:</label></td>
1646                 <td><input type="text" name="csvdel" id="csv_delimiter" value='"'/></td>
1647             </tr>
1648             <tr>
1649                 <td><label for="csv_encoding">Encoding:</label></td>
1650                 <td>
1651                     <select name="csvcode" id="csv_encoding">
1652                         <option value="utf-8">UTF-8</option>
1653                         <option value="latin1">Latin 1</option>
1654                     </select>
1655                 </td>
1656                 <td><label for="csv_skip" title="For use if CSV files have titles on multiple lines, skips more than a single line during import">
1657                     Lines to skip<sup>?</sup>:</label></td>
1658                 <td><input type="number" id="csv_skip" value="0" min="0"/></td>
1659             </tr>
1660         </table>
1661     </fieldset>
1662 </form>
1663 </t>
1664 <t t-name="ImportView.result">
1665     <table class="oe_import_grid" width="100%" style="margin: 5px 0;">
1666         <tr t-if="headers" class="oe_import_grid-header">
1667             <td t-foreach="headers" t-as="header" class="oe_import_grid-cell">
1668                 <t t-esc="header"/></td>
1669         </tr>
1670         <tr>
1671             <td t-foreach="records[0]" t-as="column">
1672                 <input class="sel_fields" placeholder="--- Don't Import ---"/><span class="oe_m2o_drop_down_button">
1673                         <img t-att-src='_s + "/web/static/src/img/down-arrow.png"' /></span>
1674             </td>
1675         </tr>
1676         <tr t-foreach="records" t-as="record" class="oe_import_grid-row">
1677             <td t-foreach="record" t-as="cell" class="oe_import_grid-cell">
1678                 <t t-esc="cell"/></td>
1679         </tr>
1680     </table>
1681 </t>
1682 <t t-name="ImportView.error">
1683     <p style="white-space:pre;">The import failed due to:<t t-esc="error.message"/></p>
1684     <t t-if="error.preview">
1685         <p>Here is a preview of the file we could not import:</p>
1686         <pre><t t-esc="error.preview"/></pre>
1687     </t>
1688 </t>
1689 <div t-name="Many2ManyKanban.quick_create" class="oe_kanban_quick_create">
1690     <input t-att-placeholder="_t('Type name to search')"/>
1691 </div>
1692
1693 </templates>