1 <?xml version="1.0" encoding="UTF-8"?>
4 <templates id="template" xml:space="preserve">
6 <div id="oe_loading" class="loading"></div>
7 <div id="oe_notification" class="oe_notification">
8 <div id="oe_notification_default">
9 <a class="ui-notify-cross ui-notify-close" href="#">x</a>
13 <div id="oe_notification_alert" class="ui-state-error">
14 <a class="ui-notify-cross ui-notify-close" href="#">x</a>
15 <span style="float:left; margin:2px 5px 0 0;" class="ui-icon ui-icon-alert"></span>
20 <table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%" class="main_table">
22 <td colspan="2" valign="top">
23 <div id="oe_header" class="header"></div>
24 <div id="oe_menu" class="menu"></div>
28 <td valign="top" class="login-container" colspan="2">
29 <div id="oe_login" class="login"></div>
32 <tr class="db_options_row">
33 <td valign="top" class="db_container">
34 <div id="oe_database" class="database"></div>
37 <div id="oe_db_options"></div>
41 <td colspan="2" valign="top" height="100%">
42 <table cellspacing="0" cellpadding="0" border="0" height="100%" width="100%">
44 <td valign="top" id="oe_secondary_menu" class="secondary_menu">
46 <td valign="top" class="oe-application-container">
47 <div id="oe_app" class="oe-application">
56 <div id="oe_footer" class="oe_footer">
57 <p class="oe_footer_powered">Powered by <a href="http://www.openerp.com">openerp.com</a>.</p>
67 <ul class="db_options" style="padding: 0px; display: inline;">
68 <li id="db-create">Create</li>
69 <li id="db-drop">Drop</li>
70 <li id="db-backup">Backup</li>
71 <li id="db-restore">Restore</li>
72 <li id="db-change-password">Password</li>
73 <li id="back-to-login">Back to Login</li>
76 <t t-name="Database.CreateDB">
77 <form name="create_db_form" class="oe_forms" method="POST">
80 <td class="option_string">
85 <table align="center" class="db_option_table">
87 <td><label for="super_admin_pwd">Master password:</label></td>
88 <td><input type="password" name="super_admin_pwd" class="required" value="admin"/></td>
91 <td><label for="db_name">New database name:</label></td>
92 <td><input type="text" name="db_name" class="required"/></td>
95 <td><label for="demo_data">Load Demonstration data:</label></td>
96 <td><input type="checkbox" name="demo_data"/></td>
99 <td><label for="db_lang">Default language:</label></td>
101 <select name="db_lang" t-if="lang_list">
102 <t t-foreach="lang_list" t-as="lang">
103 <option t-att-value="lang[0]" t-att-selected="lang[0] === 'en_US' ? 'selected' : undefined"><t t-esc="lang[1]"/></option>
109 <td><label for="create_admin_pwd">Admin password:</label></td>
110 <td><input type="password" name="create_admin_pwd" class="required"/></td>
113 <td><label for="create_confirm_pwd">Confirm password:</label></td>
114 <td><input type="password" name="create_confirm_pwd" class="required"
115 equalTo="input[name=create_admin_pwd]"/></td>
118 <td colspan="2" align="right"><input type="submit" value="Create"/></td>
124 <form name="drop_db_form" class="oe_forms" method="POST">
127 <td class="option_string">
132 <table align="center" class="db_option_table">
134 <td><label for="drop_db">Database:</label></td>
136 <select t-if="db_list" name="drop_db" autofocus="autofocus">
137 <t t-foreach="db_list" t-as="db">
138 <option t-att-value="db"><t t-esc="db"/></option>
144 <td><label for="drop_password">Master Password:</label></td>
145 <td><input type="password" name="drop_pwd" class="required"/></td>
148 <td colspan="2" align="right"><input type="submit" value="Drop"/></td>
153 <t t-name="BackupDB">
154 <form name="backup_db_form" class="oe_forms" method="POST" target="backup-target"
155 action="/web/database/backup">
156 <input type="hidden" name="token"/>
159 <td class="option_string">
164 <table align="center" class="db_option_table">
166 <td><label for="backup_db">Database:</label></td>
168 <select t-if="db_list" name="backup_db" autofocus="autofocus">
169 <t t-foreach="db_list" t-as="db">
170 <option t-att-value="db"><t t-esc="db"/></option>
176 <td><label for="backup_pwd">Master Password:</label></td>
177 <td><input type="password" name="backup_pwd" class="required"/></td>
180 <td colspan="2" align="right"><input type="submit" value="Backup"/></td>
185 <t t-name="RestoreDB">
186 <form name="restore_db_form" class="oe_forms" method="POST">
189 <td class="option_string">
194 <table align="center" class="db_option_table">
196 <td><label for="restore_db">File:</label></td>
197 <td><input type="file" name="db_file" class="required"
198 autofocus="autofocus"/></td>
201 <td><label for="restore_pwd">Master Password:</label></td>
202 <td><input type="password" name="restore_pwd" class="required"/></td>
205 <td><label for="new_db">New database name:</label></td>
206 <td><input type="text" name="new_db" class="required"/></td>
209 <td colspan="2" align="right"><input type="submit" value="Restore"/></td>
214 <t t-name="Change_DB_Pwd">
215 <form name="change_pwd_form" class="oe_forms" method="POST">
218 <td class="option_string">
219 CHANGE MASTER PASSWORD
223 <table align="center" class="db_option_table">
225 <td><label for="old_pwd">Master password:</label></td>
226 <td><input type="password" name="old_pwd" class="required"
227 minlength="1" autofocus="autofocus"/></td>
230 <td><label for="new_pwd">New master password:</label></td>
231 <td><input type="password" name="new_pwd" class="required"
235 <td><label for="confirm_pwd">Confirm new master password:</label></td>
236 <td><input type="password" name="confirm_pwd" class="required"
237 equalTo="input[name=new_pwd]" minlength="1"/></td>
240 <td colspan="2" align="right"><input type="submit" value="Change Password"/></td>
246 <t t-name="Login_dblist">
248 <t t-foreach="db_list" t-as="db">
249 <t t-if="selected_db === db">
250 <option t-att-value="db" selected="true">
251 <t t-esc="db"/></option>
253 <t t-if="selected_db !== db">
254 <option t-att-value="db"><t t-esc="db"/></option>
262 <form class="oe_forms">
265 <img src="/web/static/src/img/stock_person.png" alt="" />
267 <div class="oe_box2">
268 <table align="center" cellspacing="2px" cellpadding="0">
270 <td><label for="db">Database:</label></td>
272 <input type="text" name="db" t-att-value="widget.selected_db || ''" autofocus="true"/>
276 <td><label for="login">User:</label></td>
277 <td><input type="text" name="login"
278 t-att-value="widget.selected_login || ''" autofocus="true"/></td>
281 <td><label for="password">Password:</label></td>
282 <td><input type="password" name="password"
283 t-att-value="widget.selected_password || ''"/></td>
288 <button type="button" id="oe-db-config">Database</button>
289 <button type="submit" name="submit">Login</button>
295 <div class="login_error_message">Bad username or password</div>
297 <div class="oe_login_right_pane">
298 <p>We think that daily job activities can be more intuitive, efficient, automated, .. and even fun.</p>
299 <h3>OpenERP's vision to be:</h3>
301 <table cellpadding="0" cellspacing="0" width="100%" style="border:none;">
305 <img src="/web/static/src/img/product.png"/>
308 <strong>Full featured</strong><br />
309 Today's enterprise challenges are multiple. We provide one module for each need.
314 <img src="/web/static/src/img/accessories-archiver.png"/>
317 <strong>Open Source</strong><br />
318 To Build a great product, we rely on the knowledge of thousands of contributors.
323 <img src="/web/static/src/img/partner.png" />
326 <strong>User Friendly</strong><br />
327 In order to be productive, people need clean and easy to use interface.
338 <a t-att-href="'/' + widget.qs" class="company_logo_link">
339 <div class="company_logo" />
343 <t t-name="Header-content">
344 <h1 class="header_title">
345 <t t-esc="user.company_id[1]"/> (<t t-esc="widget.session.db"/>)<br/>
346 <small class="username"><t t-esc="user.name"/></small>
348 <div class="header_corner">
351 <a t-att-href="'/' + widget.qs" title="Home" class="home"><img src="/web/static/src/img/header-home.png" width="16" height="16" border="0"/></a>
353 <li class="preferences">
354 <a href="javascript:void(0)" title="Preferences" class="preferences"><img src="/web/static/src/img/header-preferences.png" width="16" height="16" border="0"/></a>
357 <a href="javascript:void(0)" title="About" class="about"><img src="/web/static/src/img/header-about.png" width="16" height="16" border="0"/></a>
361 <a href="#logout" class="logout">LOGOUT</a>
365 <div class="oe-shortcuts"> </div>
367 <ul t-name="Shortcuts">
368 <li t-foreach="shortcuts" t-as="shortcut"
369 t-att-data-id="shortcut.res_id"
370 t-att-data-shortcut-id="shortcut.id"
371 ><t t-esc="shortcut.name"/></li>
374 <table align="center">
376 <td t-foreach="widget.data.data.children" t-as="menu">
377 <a href="#" t-att-data-menu="menu.id">
378 <t t-esc="menu.name"/>
384 <t t-name="Menu.secondary">
385 <div t-attf-class="oe_toggle_secondary_menu">
386 <span class="oe_menu_fold" title="Fold menu">&laquo;</span>
387 <span class="oe_menu_unfold" title="Unfold menu">&raquo;</span>
389 <div t-foreach="widget.data.data.children" t-as="menu" style="display: none" class="oe_secondary_menu" t-att-data-menu-parent="menu.id">
390 <t t-foreach="menu.children" t-as="menu">
391 <t t-set="classname">oe_secondary_menu_item</t>
392 <t t-set="level" t-value="0"/>
393 <t t-call="Menu.secondary.children"/>
397 <t t-name="Menu.secondary.children">
398 <t t-set="level" t-value="level + 1"/>
399 <a href="#" t-att-id="menu.children.length ? 'menu_' + menu.id : undefined"
400 t-att-class="classname + (menu.children.length ? ' submenu' : ' leaf') + (menu_first and level == 1 ? ' opened' : '')"
401 t-att-data-menu="menu.children.length ? undefined : menu.id">
402 <span t-attf-style="padding-left: #{(level - 2) * 20}px"> <t t-esc="menu.name"/></span>
404 <div t-attf-class="oe_secondary_submenu" t-if="menu.children.length" t-att-style="menu_first and level == 1 ? undefined : 'display: none'">
405 <t t-foreach="menu.children" t-as="menu">
406 <t t-set="classname">oe_secondary_submenu_item</t>
407 <t t-call="Menu.secondary.children"/>
411 <t t-name="ViewManager">
412 <table class="view-manager-main-table">
414 <td class="view-manager-main-content">
415 <div class="oe-view-manager-header">
416 <div class="oe_vm_switch">
417 <t t-if="views.length != 1" t-foreach="views" t-as="view">
418 <button type="button" t-att-data-view-type="view.view_type">
419 <t t-esc="view.view_type"/>
424 <div t-attf-id="#{prefix}_search" t-opentag="true"/>
425 <t t-foreach="views" t-as="view">
426 <div t-attf-id="#{prefix}_view_#{view.view_type}"/>
429 <td class="view-manager-main-sidebar" height="100%">
430 <t t-foreach="views" t-as="view">
431 <div t-attf-id="#{prefix}_sidebar_#{view.view_type}" class="sidebar-main-div closed-sidebar" style="display: none"/>
438 <t t-extend="ViewManager" t-name="ViewManagerAction">
439 <t t-jquery=".oe-view-manager-header" t-operation="prepend">
440 <blockquote t-if="self.action.help and !self.flags.low_profile
441 and !(self.action.id in self.session.hidden_menutips)">
442 <p><t t-esc="self.action.help"/></p>
444 <button type="button" name="hide">Hide this tip</button>
445 <button type="button" name="disable">Disable all tips</button>
448 <a class="oe-shortcut-toggle" title="Add / Remove Shortcut..."
449 href="javascript: void(0)"> </a>
450 <h2 class="oe_view_title" t-if="self.session.debug || self.flags.display_title !==false">
451 <t t-if="self.flags.display_title !==false" t-esc="self.action.name"/>
452 <button t-if="self.session.debug" class="oe_get_xml_view">
457 <t t-jquery=".oe-view-manager-header" t-operation="after">
458 <ul class="oe-view-manager-logs"></ul>
463 <a class="toggle-sidebar"></a>
464 <div class="sidebar-content">
465 <div class="sidebar-actions">
469 <t t-name="Sidebar.section">
470 <h2><t t-esc="name"/></h2>
471 <div t-att-id="section_id" t-att-class="classname">
473 <li t-foreach="items" t-as="item" t-att-class="item.classname">
474 <a class="oe_sidebar_action_a" t-att-id="item.element_id" t-att-title="item.title" href="#">
475 <t t-esc="item.label"/>
481 <t t-name="TranslateDialog">
482 <ul class="oe_translate_tabs">
483 <li><a t-attf-href="##{widget.element_id}_fields">Fields</a></li>
484 <li><a t-attf-href="##{widget.element_id}_view">View labels</a></li>
485 <li><a t-attf-href="##{widget.element_id}_sidebar">Sidebar Relates</a></li>
487 <div t-attf-id="#{widget.element_id}_fields">
488 <table t-if="widget.view.translatable_fields" class="oe_frame oe_forms oe_translation_form" border="0" cellpadding="0" cellspacing="0" width="100%">
490 <td class="oe_form_separator" width="1%" nowrap="nowrap">
491 <div class="separator horizontal">Field</div>
493 <th t-foreach="widget.languages" align="left">
494 <div class="separator horizontal"><t t-esc="name"/></div>
497 <tr t-foreach="widget.view.translatable_fields" t-as="field">
498 <td class="oe_form_frame_cell" width="1%" nowrap="nowrap">
499 <label class="oe_label"><t t-esc="field.string"/>:</label>
501 <td t-foreach="widget.languages" t-as="lg" class="oe_form_frame_cell">
502 <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%"/>
503 <textarea t-if="field.type == 'text'" t-attf-name="#{lg.code}-#{field.name}" data-value="" class="oe_trad_field" style="width: 100%"></textarea>
508 <div t-attf-id="#{widget.element_id}_view">
511 <div t-attf-id="#{widget.element_id}_sidebar">
515 <t t-name="TreeView">
516 <select t-if="toolbar" style="width: 30%">
518 <table class="oe-treeview-table">
521 <th t-foreach="fields_view" t-as="field"
522 t-if="!field.attrs.modifiers.tree_invisible"
523 class="treeview-header">
524 <t t-esc="fields[field.attrs.name].string" />
532 <tr t-name="TreeView.rows"
533 t-foreach="records" t-as="record"
534 t-att-id="'treerow_' + record.id"
535 t-att-data-id="record.id" t-att-data-level="level + 1">
536 <t t-set="children" t-value="record[children_field]"/>
537 <t t-set="has_children" t-value="children and children.length"/>
539 <td t-foreach="fields_view" t-as="field"
540 t-if="!field.attrs.modifiers.tree_invisible"
541 t-att-data-id="record.id"
542 t-att-style="color_for(record) + (!field_index ? 'background-position: ' + 19*level + 'px; padding-left: ' + 19*level + 'px;' : '')"
543 t-att-class="!field_index and has_children ? 'treeview-tr' : 'treeview-td'">
544 <span t-if="!field.attrs.modifiers.invisible">
545 <t t-esc="render(record[field.attrs.name], fields[field.attrs.name])" />
549 <table t-name="ListView" class="oe-listview-content">
550 <t t-set="columns_count" t-value="visible_columns.length + (options.selectable ? 1 : 0) + (options.deletable ? 1 : 0)"/>
551 <thead class="ui-widget-header">
552 <tr t-if="options.action_buttons !== false or options.pager !== false">
553 <th t-att-colspan="columns_count">
556 <td t-if="options.action_buttons !== false" class="oe-actions">
557 <button type="button" class="oe-list-add"
558 t-if="options.addable">
559 <t t-esc="options.addable"/>
561 <button type="button" class="oe-list-delete"
562 t-if="options.selectable and options.deletable">
566 <th t-if="options.pager !== false" class="oe-list-pager">
567 <button type="button" disabled="disabled"
568 data-pager-action="first">First</button>
569 <button type="button" disabled="disabled"
570 data-pager-action="previous"
573 <span class="oe-pager-state">
576 <button type="button" disabled="disabled"
577 data-pager-action="next">></button>
578 <button type="button" disabled="disabled"
579 data-pager-action="last">Last</button>
585 <tr t-if="options.header" class="oe-listview-header-columns">
586 <t t-foreach="columns" t-as="column">
587 <th t-if="column.meta">
588 <t t-esc="column.string"/>
591 <th t-if="options.selectable" width="1"/>
592 <t t-foreach="columns" t-as="column">
593 <th t-if="!column.meta and column.invisible !== '1'" t-att-data-id="column.id"
594 t-att-class="((options.sortable and column.tag !== 'button') ? 'oe-sortable' : null)">
595 <t t-if="column.tag !== 'button'"
596 ><t t-esc="column.string"/></t>
599 <th t-if="options.deletable" width="1"/>
602 <tfoot class="ui-widget-header">
604 <td t-if="options.selectable"/>
605 <td t-foreach="aggregate_columns" t-as="column" class="oe-list-footer oe-number"
606 t-att-data-field="column.id" t-att-title="column.label">
608 <td t-if="options.deletable"/>
612 <t t-name="ListView.rows" t-foreach="records.length" t-as="index">
613 <t t-call="ListView.row">
614 <t t-set="record" t-value="records.at(index)"/>
615 <t t-set="row_parity" t-value="index_parity"/>
618 <tr t-name="ListView.row" t-att-class="row_parity"
619 t-att-data-id="record.get('id')"
620 t-att-style="view.color_for(record)">
621 <t t-foreach="columns" t-as="column">
622 <td t-if="column.meta">
626 <t t-if="options.radio">
627 <th t-if="options.selectable" class="oe-record-selector" width="1">
628 <input type="radio" name ="radiogroup"/>
631 <t t-if="!options.radio">
632 <th t-if="options.selectable" class="oe-record-selector" width="1">
633 <input type="checkbox"/>
638 <t t-foreach="columns" t-as="column">
639 <t t-set="align" t-value="column.type === 'integer' or column.type == 'float'"/>
640 <td t-if="!column.meta and column.invisible !== '1'" t-att-title="column.help"
641 t-att-class="'oe-field-cell' + (align ? ' oe-number' : '')"
642 t-att-data-field="column.id">
643 <t t-raw="render_cell(record.toForm().data, column)"/>
646 <td t-if="options.deletable" class='oe-record-delete' width="1">
647 <button type="button" name="delete">♻</button>
650 <t t-name="ListView.row.form">
651 <t t-raw="frame.render()"/>
653 <t t-name="FormView">
654 <div class="oe_form_header">
655 <div class="oe_form_buttons" t-if="view.options.action_buttons !== false">
656 <!--<button type="button" class="oe_form_button_save">
657 <span class="oe_form_on_update">Save</span>
658 <span class="oe_form_on_create">Create</span>
660 <button type="button" class="oe_form_button_save_edit">
661 <span class="oe_form_on_update">Save & Edit</span>
662 <span class="oe_form_on_create">Create & Edit</span>
664 <!--<button type="button" class="oe_form_button_cancel">Cancel</button>-->
665 <button type="button" class="oe_form_button_new">New</button>
666 <button type="button" class="oe_form_button_duplicate oe_form_on_update">Duplicate</button>
667 <button type="button" class="oe_form_button_toggle">Readonly/Editable</button>
669 <div class="oe_form_pager" t-if="view.options.pager !== false">
670 <button type="button" data-pager-action="first">First</button>
671 <button type="button" data-pager-action="previous"><<</button>
673 <span class="oe_pager_index">0</span> / <span class="oe_pager_count">0</span>
675 <button type="button" data-pager-action="next">>></button>
676 <button type="button" data-pager-action="last">Last</button>
679 <t t-raw="frame.render()"/>
681 <t t-name="FormView.sidebar.attachments">
682 <div class="oe-sidebar-attachments-toolbar">
683 <div class="oe-binary-file-set" style="float: right">
684 <form class="oe-binary-form" t-attf-target="#{element_id}_iframe"
685 method="post" enctype="multipart/form-data" action="/web/binary/upload_attachment">
686 <input type="hidden" name="session_id" t-att-value="session.session_id"/>
687 <input type="hidden" name="callback" t-attf-value="#{element_id}_iframe"/>
688 <input type="hidden" name="model" t-att-value="view.dataset.model"/>
689 <input type="hidden" name="id" t-att-value="view.datarecord.id"/>
690 <button class="button" type="button">
691 <img src="/web/static/src/img/throbber.gif" width="16" height="16" style="display: none"/>
694 <input type="file" class="oe-binary-file" name="ufile" title="Add attachment"
695 t-att-onclick="view.datarecord.id ? null : 'alert(\'No record selected ! You can only attach to existing record.\'); return false;'"/>
697 <iframe t-attf-id="#{element_id}_iframe" t-attf-name="#{element_id}_iframe" style="display: none"> </iframe>
700 <br style="clear: both"/>
701 <ul class="oe-sidebar-attachments-items">
702 <li t-foreach="attachments" t-as="attachment">
703 <t t-if="attachment.type == 'binary'" t-set="attachment.url" t-value="'/web/binary/saveas?session_id='
704 + session.session_id + '&model=ir.attachment&id=' + attachment.id
705 + '&field=datas&fieldname=name&t=' + (new Date().getTime())"/>
706 <a class="oe-sidebar-attachments-link" t-att-href="attachment.url" target="_blank">
707 <t t-esc="attachment.name"/>
709 <a href="#" class="oe-sidebar-attachment-delete" t-att-data-id="attachment.id" t-attf-title="Delete the attachment #{attachment.name}">
710 <img src="/web/static/src/img/attachments-close.png" width="15" height="15" border="0"/>
717 <t t-raw="console.log('Unhandled widget', widget)"/>
719 <t t-name="WidgetFrame">
720 <table border="0" width="100%" cellpadding="0" cellspacing="0" class="oe_frame oe_forms">
721 <tr t-foreach="widget.table" t-as="row">
722 <t t-foreach="row" t-as="td">
723 <td t-att-colspan="td.colspan gt 1 ? td.colspan : undefined"
724 t-att-width="td.width"
725 t-att-nowrap="td.nowrap or td.is_field_m2o? 'true' : undefined"
726 t-att-valign="td.table ? 'top' : undefined"
727 t-attf-class="oe_form_frame_cell #{td.classname} #{td.element_class}"
729 <t t-raw="td.render()"/>
735 <t t-name="WidgetNotebook">
737 <li t-foreach="widget.pages" t-as="page">
739 <t t-esc="page.string"/>
743 <t t-foreach="widget.pages" t-as="page">
744 <t t-raw="page.render()"/>
747 <t t-name="WidgetNotebookPage">
749 <t t-call="WidgetFrame"/>
752 <t t-name="WidgetNotebook.readonly">
753 <t t-foreach="widget.pages" t-as="page">
754 <h3><t t-esc="page.string"/></h3>
755 <t t-raw="page.render()"/>
758 <t t-name="WidgetSeparator">
759 <div t-if="widget.orientation !== 'vertical'" t-att-class="'separator ' + widget.orientation">
760 <t t-esc="widget.string"/>
763 <t t-name="WidgetLabel">
764 <label t-att-for="widget.element_id"
765 t-att-class="'oe_label' + (widget.help ? '_help' : '')"
766 t-att-title="widget.help">
767 <t t-esc="widget.string"/>
768 <span t-if="widget.help">?</span>
769 <t t-if="widget.string and widget.node.tag != 'label'">:</t>
772 <t t-name="WidgetParagraph">
773 <p class="oe_form_paragraph"><t t-esc="widget.string"/></p>
775 <t t-name="FieldChar">
776 <input type="text" size="1"
777 t-att-name="widget.name"
778 t-att-id="widget.element_id"
779 t-attf-class="field_#{widget.type}"
780 t-attf-style="width: #{widget.field.translate ? '99' : '100'}%"
782 <img class="oe_field_translate" t-if="widget.field.translate" src="/web/static/src/img/icons/terp-translate.png" width="16" height="16" border="0"/>
784 <t t-name="FieldChar.readonly">
786 t-att-id="widget.element_id"
787 t-attf-class="field_#{widget.type}"
788 t-attf-style="width: #{widget.field.translate ? '99' : '100'}%">
791 <t t-name="FieldURI.readonly">
794 <t t-name="FieldEmail">
795 <table cellpadding="0" cellspacing="0" border="0" width="100%">
798 <t t-call="FieldChar"/>
801 <button type="button" class="button" title="Send an e-mail with your default e-mail client">
802 <img src="/web/static/src/img/icons/terp-mail-message-new.png"/>
808 <t t-name="FieldUrl">
809 <table cellpadding="0" cellspacing="0" border="0" width="100%">
812 <t t-call="FieldChar"/>
815 <button type="button" class="button" title="Open this resource">
816 <img src="/web/static/src/img/icons/gtk-ok.png"/>
822 <t t-name="FieldText">
824 t-att-name="widget.name"
825 t-att-id="widget.element_id"
826 t-attf-class="field_#{widget.type}"
827 t-attf-style="width: #{widget.field.translate ? '99' : '100'}%"
829 <img class="oe_field_translate" t-if="widget.field.translate" src="/web/static/src/img/icons/terp-translate.png" width="16" height="16" border="0"/>
831 <t t-name="web.datetimepicker">
832 <div class="oe_datepicker_root">
833 <input type="text" size="1" style="width: 100%"/>
834 <img class="oe_input_icon oe_datepicker_trigger" src="/web/static/src/img/ui/field_calendar.png"
835 title="Select date" width="16" height="16" border="0"/>
836 <div class="oe_datepicker ui-widget-content ui-corner-all" style="display: none; position: absolute; z-index: 1;">
837 <div class="oe_datepicker_container"/>
838 <button type="button" class="oe_datepicker_close ui-state-default ui-priority-primary ui-corner-all" style="float: right;">Done</button>
842 <t t-name="FieldSelection">
844 t-att-name="widget.name"
845 t-att-id="widget.element_id"
846 t-attf-class="field_#{widget.type}"
848 <t t-foreach="widget.values" t-as="option">
849 <option><t t-esc="option[1]"/></option>
853 <t t-name="FieldMany2One">
855 <input type="text" size="1" style="width: 100%;"
856 t-att-id="widget.element_id"/>
857 <span class="oe-m2o-drop-down-button">
858 <img src="/web/static/src/img/down-arrow.png" /></span>
859 <span class="oe-m2o-cm-button" t-att-id="widget.name + '_open'">
860 <img src="/web/static/src/img/icons/gtk-index.png"/></span>
861 <div t-att-id="widget.cm_id" class="contextMenu" style="display:none">
865 <t t-name="FieldMany2One.context_menu">
867 <li t-att-id="widget.cm_id + '_open'" style="color:grey">Open...</li>
868 <li t-att-id="widget.cm_id + '_create'">Create...</li>
869 <li t-att-id="widget.cm_id + '_search'" class="oe_m2o_menu_item_mandatory">Search...</li>
870 <t t-set="i" t-value="0"/>
871 <t t-foreach="widget.related_entries" t-as="entry">
872 <li t-att-id="widget.cm_id + '_related_' + i" style="color:grey" class="oe_m2o_menu_item_mandatory">
873 ... <t t-esc="(entry[2] || {})['name'] || ''"/>
875 <t t-set="i" t-value="i+1"/>
879 <t t-name="FieldOne2Many">
881 <t t-name="FieldMany2Many">
882 <div t-att-id="widget.list_id"></div>
884 <t t-name="FieldReference">
885 <table border="0" width="100%" cellpadding="0" cellspacing="0" class="oe_frame oe_forms">
887 <td t-attf-class="oe_form_frame_cell oe_form_selection #{widget.selection.element_class}">
888 <t t-raw="widget.selection.render()"/>
890 <td t-attf-class="oe_form_frame_cell oe_form_many2one #{widget.m2o.element_class}" nowrap="true" style="display: none">
891 <t t-raw="widget.m2o.render()"/>
896 <t t-name="FieldBoolean">
897 <input type="checkbox"
898 t-att-name="widget.name"
899 t-att-id="widget.element_id"
900 t-attf-class="field_#{widget.type}"/>
902 <t t-name="FieldProgressBar">
903 <div t-opentag="true" class="oe-progressbar">
907 <t t-name="FieldBinaryImage">
908 <table cellpadding="0" cellspacing="0" border="0">
911 <img src="/web/static/src/img/placeholder.png" class="oe-binary-image"
912 t-att-border="widget.readonly ? 0 : 1"
913 t-att-id="widget.element_id + '_field'"
914 t-att-name="widget.name"
915 t-attf-class="field_#{widget.type}"
916 t-att-width="widget.node.attrs.img_width || widget.node.attrs.width"
917 t-att-height="widget.node.attrs.img_height || widget.node.attrs.height"
922 <td align="center" valign="bottom" height="25">
923 <div class="oe-binary">
924 <table cellspacing="0" cellpadding="0" border="0">
927 <div class="oe-binary-file-set" style="width: 40px; height:22px;">
928 <form class="oe-binary-form" t-att-target="widget.iframe"
929 method="post" enctype="multipart/form-data" action="/web/binary/upload">
930 <input type="hidden" name="session_id" value=""/>
931 <input type="hidden" name="callback" t-att-value="widget.iframe"/>
932 <button class="button" type="button" title="Set Image">
933 <img src="/web/static/src/img/icons/STOCK_DIRECTORY.png"/>
935 <input type="file" class="oe-binary-file" name="ufile"/>
940 <button class="button oe-binary-file-clear" type="button" title="Clear">
941 <img src="/web/static/src/img/icons/STOCK_MISSING_IMAGE.png"/>
947 <div class="oe-binary-progress" style="display: none">
948 <img src="/web/static/src/img/throbber.gif" width="16" height="16"/>
951 <iframe t-att-id="widget.iframe" t-att-name="widget.iframe" style="display: none"> </iframe>
956 <t t-name="FieldBinaryFile">
957 <table cellpadding="0" cellspacing="0" border="0" width="100%">
960 <input type="text" size="1"
961 t-att-name="widget.name"
962 t-att-id="widget.element_id + '_field'"
963 t-attf-class="field_#{widget.type}" style="width: 100%"
966 <td class="oe-binary" nowrap="true">
967 <table cellspacing="0" cellpadding="0" border="0">
970 <div class="oe-binary-file-set" style="width: 80px; height:22px;">
971 <form class="oe-binary-form" t-att-target="widget.iframe"
972 method="post" enctype="multipart/form-data" action="/web/binary/upload">
973 <input type="hidden" name="session_id" value=""/>
974 <input type="hidden" name="callback" t-att-value="widget.iframe"/>
975 <button class="button" type="button" title="Set Image">
976 <img src="/web/static/src/img/icons/STOCK_DIRECTORY.png"/>
979 <input type="file" class="oe-binary-file" name="ufile"/>
984 <button class="button oe-binary-file-save" type="button" title="Save As">
985 <img src="/web/static/src/img/icons/gtk-save.png"/>
990 <button class="button oe-binary-file-clear" type="button" title="Clear">
991 <img src="/web/static/src/img/icons/STOCK_MISSING_IMAGE.png"/>
998 <td class="oe-binary-progress" style="display: none" nowrap="true">
999 <img src="/web/static/src/img/throbber.gif" width="16" height="16"/>
1000 <b>Uploading ...</b>
1001 <iframe t-att-id="widget.iframe" t-att-name="widget.iframe" style="display: none"> </iframe>
1006 <t t-name="WidgetButton">
1007 <button type="button"
1008 t-att-title="widget.help"
1009 style="width: 100%" class="button">
1010 <img t-if="widget.node.attrs.icon" t-att-src="'/web/static/src/img/icons/' + widget.node.attrs.icon + '.png'" width="16" height="16"/>
1011 <span t-if="widget.string"><t t-esc="widget.string"/></span>
1014 <t t-name="SearchView">
1015 <form class="oe_forms">
1016 <t t-call="SearchView.render_lines"/>
1017 <div class="oe_search-view-buttons" style="text-align: right;">
1018 <input type="submit" value="Search"/>
1019 <input type="reset" value="Clear"/>
1020 <button class="oe_search-view-custom-filter-btn"><span>Advanced Filter</span></button>
1021 <select class="oe_search-view-filters-management">
1026 <t t-name="SearchView.managed-filters">
1027 <option value="_filters">-- Filters --</option>
1028 <t t-set="i" t-value="0"/>
1029 <t t-foreach="filters" t-as="filter">
1030 <option t-att-value="'get:' + i"><t t-esc="filter.name"/></option>
1031 <t t-set="i" t-value="i+1"/>
1033 <option value="_actions">-- Actions --</option>
1034 <option value="save_filter">Save Filter</option>
1035 <option value="manage_filters">Manage Filters</option>
1037 <t t-name="SearchView.managed-filters.add">
1040 <input type="text"/>
1041 <p>(Any existing filter with the same name will be replaced)</p>
1044 <t t-name="SearchView.render_lines">
1045 <table class="oe-searchview-render-line" border="0" cellspacing="0" cellpadding="0"
1046 t-foreach="lines" t-as="line">
1048 <td t-foreach="line" t-as="widget">
1049 <t t-raw="widget.render(defaults)"/>
1054 <button t-name="SearchView.filter" type="button"
1055 t-att-id="element_id"
1056 t-att-title="attrs.help"
1057 t-att-class="classes.join(' ')"
1058 t-att-autofocus="attrs.default_focus === '1' ? 'autofocus' : undefined">
1059 <img t-if="attrs.icon" t-att-src="'/web/static/src/img/icons/' + attrs.icon + '.png'" width="16" height="16"/>
1060 <br t-if="attrs.icon and attrs.string"/>
1061 <t t-esc="attrs.string"/>
1063 <span t-name="SearchView.filters" class="filter_label_group"
1064 ><t t-foreach="filters" t-as="filter"
1065 ><t t-raw="filter.render(defaults)"/></t
1067 <t t-name="SearchView.field">
1068 <label t-att-class="'oe_label' + (attrs.help ? '_help' : '')"
1069 t-att-title="attrs.help"
1070 t-att-for="element_id">
1071 <t t-esc="attrs.string || attrs.name"/>
1072 <span t-if="attrs.help">?</span>
1074 <div style="white-space: nowrap;">
1075 <input type="text" size="15" t-att-name="attrs.name"
1076 t-att-autofocus="attrs.default_focus === '1' ? 'autofocus' : undefined"
1077 t-att-id="element_id"
1078 t-att-value="defaults[attrs.name] || ''"/>
1079 <t t-if="filters.length" t-raw="filters.render(defaults)"/>
1082 <t t-name="SearchView.date">
1083 <label t-att-class="'oe_label' + (attrs.help ? '_help' : '')"
1084 t-att-title="attrs.help"
1085 t-att-for="element_id">
1086 <t t-esc="attrs.string || attrs.name"/>
1087 <span t-if="attrs.help">?</span>
1089 <div style="white-space: nowrap;">
1090 <span t-att-id="element_id"></span>
1091 <t t-if="filters.length" t-raw="filters.render(defaults)"/>
1094 <t t-name="SearchView.field.selection">
1095 <label t-att-title="attrs.help"
1096 t-att-class="'oe_label' + (attrs.help ? '_help' : '')"
1097 t-att-for="element_id">
1098 <t t-esc="attrs.string || attrs.name"/>
1099 <span t-if="attrs.help">?</span>
1101 <div style="white-space: nowrap;">
1102 <select t-att-name="attrs.name" t-att-id="element_id"
1103 t-att-autofocus="attrs.default_focus === '1' || undefined">
1104 <option t-if="prepend_empty"/>
1105 <t t-foreach="attrs.selection" t-as="option">
1106 <t t-set="selected" t-value="defaults[attrs.name] === option[0]"/>
1107 <option t-if="selected"
1108 t-att-value="option_index" selected="selected">
1109 <t t-esc="option[1]"/>
1111 <option t-if="!selected" t-att-value="option_index">
1112 <t t-esc="option[1]"/>
1116 <t t-if="filters.length" t-raw="filters.render(defaults)"/>
1119 <t t-name="SearchView.util.expand">
1120 <div t-att-class="'searchview_group ' + (expand == '0' ? 'folded' : 'expanded')"
1121 t-att-id="element_id">
1122 <a t-if="label" class="searchview_group_string" href="#">
1125 <div class="searchview_group_content">
1126 <t t-raw="content"/>
1130 <t t-name="SearchView.group">
1131 <t t-call="SearchView.util.expand">
1132 <t t-set="expand" t-value="attrs.expand"/>
1133 <t t-set="label" t-value="attrs.string"/>
1135 <t t-call="SearchView.render_lines"/>
1139 <t t-name="SearchView.extended_search">
1140 <t t-call="SearchView.util.expand">
1141 <t t-set="expand" t-value="false"/>
1142 <t t-set="label" t-value="'Advanced Filters'"/>
1144 <div class="searchview_extended_groups_list">
1149 <t t-name="SearchView.extended_search.group">
1150 <div t-att-id="element_id" class="searchview_extended_group">
1151 <select class="searchview_extended_group_choice">
1152 <option value="any">Any of the following conditions must match</option>
1153 <option value="all">All the following conditions must match</option>
1154 <option value="none">None of the following conditions must match</option>
1156 <a class="searchview_extended_delete_group"
1157 href="javascript:void(0)"><span></span></a>
1158 <div class="searchview_extended_propositions_list">
1160 <a class="searchview_extended_add_proposition" href="javascript:void(0)">
1161 <span>Add condition</span></a>
1162 <div class="oe_adv_filters_and"><span>and</span></div>
1165 <t t-name="SearchView.extended_search.proposition">
1166 <div t-att-id="element_id">
1167 <select class="searchview_extended_prop_field">
1168 <t t-foreach="attrs.fields" t-as="field">
1169 <option t-if="typeof field.store === 'undefined' || field.store || field.fnct_search"
1170 t-att="{'selected': field === attrs.selected ? 'selected' : null}"
1171 t-att-value="field.name">
1172 <t t-esc="field.string"/>
1176 <select class="searchview_extended_prop_op"/>
1177 <span class="searchview_extended_prop_value"/>
1178 <a class="searchview_extended_delete_prop"
1179 href="javascript:void(0)"><span> </span></a>
1182 <t t-name="SearchView.extended_search.proposition.char">
1183 <input t-att-id="element_id" class="field_char"/>
1185 <t t-name="SearchView.extended_search.proposition.empty">
1186 <span t-att-id="element_id"></span>
1188 <t t-name="SearchView.extended_search.proposition.integer">
1189 <input type="number" t-att-id="element_id" class="field_integer" step="1"/>
1191 <t t-name="SearchView.extended_search.proposition.float">
1192 <input type="number" t-att-id="element_id" class="field_float" step="0.01"/>
1194 <t t-name="SearchView.extended_search.proposition.boolean">
1196 <t t-name="SearchView.extended_search.proposition.selection">
1197 <select t-att-id="element_id">
1198 <t t-foreach="field.selection" t-as="element">
1199 <option t-att-value="element[0]"><t t-esc="element[1]"/></option>
1203 <t t-name="DialogWarning">
1204 <table cellspacing="0" cellpadding="0" border="0" class="oe-dialog-warning">
1206 <td><img src="/web/static/src/img/warning.png" class="oe-dialog-icon"/></td>
1210 var message = d.message ? d.message : d.error.data.fault_code;
1211 d.html_error = context.engine.tools.html_escape(message)
1212 .replace(/\n/g, '<br/>');
1214 <t t-raw="html_error"/>
1220 <t t-name="DialogTraceback">
1221 <pre><t t-esc="error.message"/></pre>
1223 <pre><t t-esc="error.data.debug"/></pre>
1225 <t t-name="SelectCreatePopup">
1226 <div t-att-id="element_id">
1227 <table style="width:100%">
1228 <tr style="width:100%">
1229 <td style="width:100%">
1230 <div t-att-id="element_id + '_search'" style="width:100%"></div>
1233 <tr style="width:100%">
1234 <td style="width:100%">
1235 <div t-att-id="element_id + '_view_list'" style="width:100%"></div>
1239 <div t-att-id="element_id + '_view_form'" style="width:100%"></div>
1242 <t t-name="SelectCreatePopup.search.buttons">
1243 <button type="button" class="oe_selectcreatepopup-search-select" disabled="disabled">Select</button>
1244 <button type="button" class="oe_selectcreatepopup-search-close">Cancel</button>
1246 <t t-name="SelectCreatePopup.form.buttons">
1247 <t t-if="widget.options.disable_multiple_selection">
1248 <button type="button" class="oe_selectcreatepopup-form-save">Save</button>
1250 <t t-if="! widget.options.disable_multiple_selection">
1251 <button type="button" class="oe_selectcreatepopup-form-save-new">Save & New</button>
1252 <button type="button" class="oe_selectcreatepopup-form-save">Save & Close</button>
1254 <button type="button" class="oe_selectcreatepopup-form-close">Cancel</button>
1256 <t t-name="FormOpenPopup">
1257 <div t-att-id="element_id">
1258 <div t-att-id="element_id + '_view_form'" style="width:100%"></div>
1261 <t t-name="FormOpenPopup.form.buttons">
1262 <button type="button" class="oe_formopenpopup-form-save">Save</button>
1263 <button type="button" class="oe_formopenpopup-form-close">Cancel</button>
1265 <t t-name="ListView.row.frame" t-extend="WidgetFrame">
1267 $(document.createElement('t'))
1268 .append(this.contents())
1270 't-foreach': this.attr('t-foreach'),
1271 't-as': this.attr('t-as')
1274 .after($(document.createElement('td')).append(
1275 $(document.createElement('button')).attr({
1276 'class': 'oe-edit-row-save', 'type': 'button'}).text('Save')))
1277 .before($(document.createElement('td')).append(
1278 $(document.createElement('button')).attr({
1279 'class': 'oe-edit-row-cancel', 'type': 'button'}).text('Cancel')))
1283 <t t-name="view_editor">
1284 <table align="left" width= "100%" >
1285 <t t-call="view_editor.row"/>
1288 <tr t-name="view_editor.row" t-att-id="'viewedit-' + rec.id" t-att-level="rec.level" t-foreach="data" t-as="rec">
1289 <td class="view_editor" width="85%">
1292 <td width="16px" t-att-style="'background-position: ' + 20*rec.level + 'px; padding-left: ' + 20*rec.level + 'px'">
1293 <img t-if="rec.child_id.length" t-att-id="'parentimg-' + rec.id"
1294 src="/web/static/src/img/collapse.gif" width="16" height="16" border="0"/>
1296 <td style="cursor: pointer;">
1297 <a style="text-decoration:none" href="javascript:void(0);"> <t t-esc="rec.name"/> </a>
1302 <td align="left" class="view_editor" width="15%">
1303 <table cellspacing="0" cellpadding ="0" width="100%">
1306 <img id="side-add" src="/web/static/src/img/icons/gtk-add.png" style="cursor: pointer;"/>
1309 <img id="side-remove" src="/web/static/src/img/icons/gtk-remove.png" style="cursor: pointer;"/>
1312 <img id="side-edit" src="/web/static/src/img/icons/gtk-edit.png" style="cursor: pointer;"/>
1315 <img id="side-up" src="/web/static/src/img/icons/gtk-go-up.png" style="cursor: pointer;"/>
1318 <img id="side-down" src="/web/static/src/img/icons/gtk-go-down.png" style="cursor: pointer;"/>
1323 <t t-if="rec.child_id.length">
1324 <t t-set="data" t-value="rec.child_id"/>
1325 <t t-call="view_editor.row"/>
1329 <t t-name="ExportView">
1330 <a id="exportview" href="javascript: void(0)" style="text-decoration: none;color: #3D3D3D;">Export</a>
1332 <table t-name="ExportTreeView" class="oe-export"
1333 style="background-color: #F3F3F3;">
1336 This wizard will export all data that matches the current search criteria to a CSV file.
1337 You can export all data or only the fields that can be reimported after modification.
1342 <label for="import_compat">Export Type:</label>
1343 <select id="import_compat" name="import_compat">
1344 <option value="yes">Import Compatible Export</option>
1345 <option value="">Export all Data</option>
1348 <label for="export_format">Export Formats</label>
1349 <select id="export_format" name="export_format"></select>
1354 <th>Available fields</th>
1358 <a style="color: blue; text-decoration: none;" href="#" id="export_new_list">Save fields list</a>
1359 <div id="savenewlist"></div>
1360 <div id="ExistsExportList"></div>
1363 <tr style="height: 400px;">
1364 <td class="oe_export_fields_selector_left">
1365 <div id="left_field_panel">
1368 <td class="oe_export_fields_selector_center">
1369 <button id="add_field">Add</button>
1370 <button id="remove_field">Remove</button>
1371 <button id="remove_all_field">Remove All</button>
1373 <td class="oe_export_fields_selector_right">
1374 <select name="fields_list" id="fields_list"
1375 multiple="multiple"></select>
1381 <table t-name="ExportTreeView-Secondary"
1382 id="field-tree-structure" class="oe_export_fields_selector_export"
1383 cellspacing="0" cellpadding="0">
1384 <tr><th class="oe_export_tree_header"> Name </th></tr>
1385 <t t-call="ExportTreeView-Secondary.children"/>
1387 <tr t-name="ExportTreeView-Secondary.children"
1388 t-foreach="fields" t-as="field"
1389 t-att-id="'treerow-' + field.id" class="oe_export_row">
1391 <table class="tree_grid" border="0">
1392 <tr class="oe_export_row">
1393 <t t-foreach="(field.id).split('/')" t-as="level" >
1394 <t t-if="(field.id).split('/')[0] != level">
1395 <td width="18">&nbsp;</td>
1398 <td valign="top" align="left" style="cursor: pointer;" width="18">
1399 <t t-if="field.children">
1400 <t t-if="(field.id).split('/').length != 3">
1401 <img t-att-id="'parentimg-' + field.id" src="/web/static/src/img/expand.gif" width="16" height="16" border="0"/>
1405 <td id="tree-column" valign="middle" align="left" style="cursor: pointer;">
1406 <a t-att-id="'export-' + field.id" t-att-string="field.string" href="javascript: void(0);" style="text-decoration: none;">
1407 <t t-esc="field.string"/>
1415 <t t-name="ExportNewList">
1417 <th><label>Save as:</label></th>
1418 <td><input size="10" type="text" id="savelist_name"/></td>
1419 <td><button class="oe_export_button_export" id="add_export_list">Ok</button></td>
1423 <t t-name="Exists.ExportList">
1424 <label for="saved_export_list">Saved exports:</label>
1426 <select id="saved_export_list">
1428 <t t-foreach="existing_exports" t-as="export">
1429 <option t-att-value="export.id"><t t-esc="export.name"/></option>
1432 <button class="oe_export_button_export" id="delete_export_list" type="button">Delete</button>
1434 <t t-name="Change_Pwd">
1435 <form name="change_password_form" class="oe_forms" method="POST">
1436 <table align="center">
1438 <td><label for="old_pwd">Old Password:</label></td>
1439 <td><input type="password" name="old_pwd"
1440 minlength="1" autofocus="autofocus"/></td>
1443 <td><label for="new_password">New Password:</label></td>
1444 <td><input type="password" name="new_password"
1445 minlength="1" autofocus="autofocus"/></td>
1448 <td><label for="confirm_pwd">Confirm Password:</label></td>
1449 <td><input type="password" name="confirm_pwd"
1450 minlength="1"/></td>
1453 <td colspan="2" align="right"><input type="submit" value="Change Password"/></td>
1459 <t t-name="ImportView">
1460 <a id="importview" href="javascript: void(0)" style="text-decoration: none;color: #3D3D3D;">Import</a>
1462 <t t-name="ImportDataView">
1463 <form name="import_data" id="import_data" action="" method="post" enctype="multipart/form-data">
1464 <input type="hidden" name="session_id" t-att-value="session.session_id"/>
1465 <h2 class="separator horizontal">1. Import a .CSV file</h2>
1466 <p>Select a .CSV file to import. If you need a sample of file to import,
1467 you should use the export tool with the "Import Compatible" option.
1470 <label for="csvfile">CSV File:</label>
1471 <input type="file" id="csvfile" size="50" name="csvfile"/>
1473 <h2 class="separator horizontal">2. Check your file format</h2>
1474 <div id="result"></div>
1476 <legend style="cursor:pointer;">Import Options</legend>
1477 <table style="display:none">
1480 <label for="file_has_headers">Does your file have titles?</label>
1481 <input type="checkbox" checked="checked"
1482 id="file_has_headers"/>
1486 <td><label for="csv_separator">Separator:</label></td>
1487 <td><input type="text" name="csvsep" id="csv_separator" value=","/></td>
1488 <td><label for="csv_delimiter">Delimiter:</label></td>
1489 <td><input type="text" name="csvdel" id="csv_delimiter" value='"'/></td>
1492 <td><label for="csv_encoding">Encoding:</label></td>
1494 <select name="csvcode" id="csv_encoding">
1495 <option value="utf-8">UTF-8</option>
1496 <option value="latin1">Latin 1</option>
1499 <td><label for="csv_skip" title="For use if CSV files have titles on multiple lines, skips more than a single line during import">
1500 Lines to skip<sup>?</sup>:</label></td>
1501 <td><input type="number" id="csv_skip" value="0" min="0"/></td>
1507 <table t-name="ImportView.result"
1508 class="oe_import_grid" width="100%" style="margin: 5px 0;">
1509 <tr t-if="headers" class="oe_import_grid-header">
1510 <td t-foreach="headers" t-as="header" class="oe_import_grid-cell">
1511 <t t-esc="header"/></td>
1514 <td t-foreach="records[0]" t-as="column">
1515 <input class="sel_fields"/>
1518 <tr t-foreach="records" t-as="record" class="oe_import_grid-row">
1519 <td t-foreach="record" t-as="cell" class="oe_import_grid-cell">
1520 <t t-esc="cell"/></td>
1523 <t t-name="ImportView.error">
1524 <p style="white-space:pre-line;">The import failed due to:<t t-esc="error.message"/></p>
1525 <t t-if="error.preview">
1526 <p>Here is a preview of the file we could not import:</p>
1527 <pre><t t-esc="error.preview"/></pre>
1531 <t t-name="About-Page">
1533 <h1>OpenERP Web</h1>
1534 <h3 style="padding:0 5px 5px">Version <t t-esc="version_info.version"/></h3>
1536 Copyright © 2011-TODAY OpenERP SA. All Rights Reserved.<br />
1537 OpenERP is a trademark of the <a target="_blank" href="http://openerp.com/" style="text-decoration: underline;">OpenERP SA Company</a>.
1540 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>
1543 <h1>About OpenERP</h1>
1545 <a target="_blank" href="http://openerp.com/" style="text-decoration: underline;">OpenERP</a> is a free enterprise-scale software system that is designed to boost
1546 productivity and profit through data integration. It connects, improves and
1547 manages business processes in areas such as sales, finance, supply chain,
1548 project management, production, services, CRM, etc...
1551 The system is platform-independent, and can be installed on Windows, Mac OS X,
1552 and various Linux and other Unix-based distributions. Its architecture enables
1553 new functionality to be rapidly created, modifications to be made to a
1554 production system and migration to a new version to be straightforward.
1557 Depending on your needs, OpenERP is available through a web or application client.
1561 <t t-name="FieldStatus.content">
1562 <ul class="oe-arrow-list">
1563 <t t-set="size" t-value="widget.to_show.length"/>
1564 <t t-foreach="_.range(size)" t-as="i">
1565 <li t-att-class="widget.to_show[i][0] === widget.selected_value ? 'oe-arrow-list-selected' : ''">
1566 <span class="oe-arrow-list-before" t-if="i > 0"></span><span><t t-esc="widget.to_show[i][1]"/></span><span class="oe-arrow-list-after" t-if="i < size - 1"></span>
1571 <t t-name="EmptyComponent">