1 <?xml version="1.0" encoding="UTF-8"?>
4 <templates id="template" xml:space="preserve">
5 <t t-name="Notification">
6 <div class="oe_notification">
7 <div id="oe_notification_default">
8 <a class="ui-notify-cross ui-notify-close" href="#">x</a>
12 <div id="oe_notification_alert" class="ui-state-error">
13 <a class="ui-notify-cross ui-notify-close" href="#">x</a>
14 <span style="float:left; margin:2px 5px 0 0;" class="ui-icon ui-icon-alert"></span>
20 <t t-name="Interface">
21 <div id="oe_loading" class="loading"></div>
22 <table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%" class="main_table">
24 <td colspan="2" valign="top">
25 <div id="oe_header" class="header"></div>
26 <div id="oe_menu" class="menu"></div>
30 <td valign="top" class="login-container" colspan="2">
31 <div id="oe_login" class="login"></div>
34 <tr class="db_options_row">
35 <td valign="top" class="db_container">
36 <div id="oe_database" class="database"></div>
39 <div id="oe_db_options"></div>
43 <td colspan="2" valign="top" height="100%">
44 <table cellspacing="0" cellpadding="0" border="0" height="100%" width="100%">
46 <td valign="top" id="oe_secondary_menu" class="secondary_menu">
48 <td valign="top" class="oe-application-container">
49 <div id="oe_app" class="oe-application">
58 <div id="oe_footer" class="oe_footer">
59 <p class="oe_footer_powered">Powered by <a href="http://www.openerp.com">openerp.com</a>.</p>
69 <ul class="db_options" style="padding: 0px; display: inline;">
70 <li id="db-create">Create</li>
71 <li id="db-drop">Drop</li>
72 <li id="db-backup">Backup</li>
73 <li id="db-restore">Restore</li>
74 <li id="db-change-password">Password</li>
75 <li id="back-to-login">Back to Login</li>
78 <t t-name="Database.CreateDB">
79 <form name="create_db_form" class="oe_forms" method="POST">
82 <td class="option_string">
87 <table align="center" class="db_option_table">
89 <td><label for="super_admin_pwd">Master password:</label></td>
90 <td><input type="password" name="super_admin_pwd" class="required" value="admin"/></td>
93 <td><label for="db_name">New database name:</label></td>
94 <td><input type="text" name="db_name" class="required"/></td>
97 <td><label for="demo_data">Load Demonstration data:</label></td>
98 <td><input type="checkbox" name="demo_data"/></td>
101 <td><label for="db_lang">Default language:</label></td>
103 <select name="db_lang" t-if="lang_list">
104 <t t-foreach="lang_list" t-as="lang">
105 <option t-att-value="lang[0]" t-att-selected="lang[0] === 'en_US' ? 'selected' : undefined"><t t-esc="lang[1]"/></option>
111 <td><label for="create_admin_pwd">Admin password:</label></td>
112 <td><input type="password" name="create_admin_pwd" class="required"/></td>
115 <td><label for="create_confirm_pwd">Confirm password:</label></td>
116 <td><input type="password" name="create_confirm_pwd" class="required"
117 equalTo="input[name=create_admin_pwd]"/></td>
120 <td colspan="2" align="right"><input type="submit" value="Create"/></td>
126 <form name="drop_db_form" class="oe_forms" method="POST">
129 <td class="option_string">
134 <table align="center" class="db_option_table">
136 <td><label for="drop_db">Database:</label></td>
138 <select t-if="db_list" name="drop_db" autofocus="autofocus">
139 <t t-foreach="db_list" t-as="db">
140 <option t-att-value="db"><t t-esc="db"/></option>
146 <td><label for="drop_password">Master Password:</label></td>
147 <td><input type="password" name="drop_pwd" class="required"/></td>
150 <td colspan="2" align="right"><input type="submit" value="Drop"/></td>
155 <t t-name="BackupDB">
156 <form name="backup_db_form" class="oe_forms" method="POST" target="backup-target"
157 action="/web/database/backup">
158 <input type="hidden" name="token"/>
161 <td class="option_string">
166 <table align="center" class="db_option_table">
168 <td><label for="backup_db">Database:</label></td>
170 <select t-if="db_list" name="backup_db" autofocus="autofocus">
171 <t t-foreach="db_list" t-as="db">
172 <option t-att-value="db"><t t-esc="db"/></option>
178 <td><label for="backup_pwd">Master Password:</label></td>
179 <td><input type="password" name="backup_pwd" class="required"/></td>
182 <td colspan="2" align="right"><input type="submit" value="Backup"/></td>
187 <t t-name="RestoreDB">
188 <form name="restore_db_form" class="oe_forms" method="POST">
191 <td class="option_string">
196 <table align="center" class="db_option_table">
198 <td><label for="restore_db">File:</label></td>
199 <td><input type="file" name="db_file" class="required"
200 autofocus="autofocus"/></td>
203 <td><label for="restore_pwd">Master Password:</label></td>
204 <td><input type="password" name="restore_pwd" class="required"/></td>
207 <td><label for="new_db">New database name:</label></td>
208 <td><input type="text" name="new_db" class="required"/></td>
211 <td colspan="2" align="right"><input type="submit" value="Restore"/></td>
216 <t t-name="Change_DB_Pwd">
217 <form name="change_pwd_form" class="oe_forms" method="POST">
220 <td class="option_string">
221 CHANGE MASTER PASSWORD
225 <table align="center" class="db_option_table">
227 <td><label for="old_pwd">Master password:</label></td>
228 <td><input type="password" name="old_pwd" class="required"
229 minlength="1" autofocus="autofocus"/></td>
232 <td><label for="new_pwd">New master password:</label></td>
233 <td><input type="password" name="new_pwd" class="required"
237 <td><label for="confirm_pwd">Confirm new master password:</label></td>
238 <td><input type="password" name="confirm_pwd" class="required"
239 equalTo="input[name=new_pwd]" minlength="1"/></td>
242 <td colspan="2" align="right"><input type="submit" value="Change Password"/></td>
248 <t t-name="Login_dblist">
250 <t t-foreach="db_list" t-as="db">
251 <t t-if="selected_db === db">
252 <option t-att-value="db" selected="true">
253 <t t-esc="db"/></option>
255 <t t-if="selected_db !== db">
256 <option t-att-value="db"><t t-esc="db"/></option>
264 <form class="oe_forms">
267 <img src="/web/static/src/img/stock_person.png" alt="" />
269 <div class="oe_box2">
270 <table align="center" cellspacing="2px" cellpadding="0">
272 <td><label for="db">Database:</label></td>
274 <input type="text" name="db" t-att-value="widget.selected_db || ''" autofocus="true"/>
278 <td><label for="login">User:</label></td>
279 <td><input type="text" name="login"
280 t-att-value="widget.selected_login || ''" autofocus="true"/></td>
283 <td><label for="password">Password:</label></td>
284 <td><input type="password" name="password"
285 t-att-value="widget.selected_password || ''"/></td>
290 <button type="button" id="oe-db-config">Database</button>
291 <button type="submit" name="submit">Login</button>
297 <div class="login_error_message">Bad username or password</div>
299 <div class="oe_login_right_pane">
300 <p>We think that daily job activities can be more intuitive, efficient, automated, .. and even fun.</p>
301 <h3>OpenERP's vision to be:</h3>
303 <table cellpadding="0" cellspacing="0" width="100%" style="border:none;">
307 <img src="/web/static/src/img/product.png"/>
310 <strong>Full featured</strong><br />
311 Today's enterprise challenges are multiple. We provide one module for each need.
316 <img src="/web/static/src/img/accessories-archiver.png"/>
319 <strong>Open Source</strong><br />
320 To Build a great product, we rely on the knowledge of thousands of contributors.
325 <img src="/web/static/src/img/partner.png" />
328 <strong>User Friendly</strong><br />
329 In order to be productive, people need clean and easy to use interface.
340 <a t-att-href="'/' + widget.qs" class="company_logo_link">
341 <div class="company_logo" />
345 <t t-name="Header-content">
346 <h1 class="header_title">
347 <t t-esc="user.company_id[1]"/> (<t t-esc="widget.session.db"/>)<br/>
348 <small class="username"><t t-esc="user.name"/></small>
350 <div class="header_corner">
353 <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>
355 <li class="preferences">
356 <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>
359 <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>
363 <a href="#logout" class="logout">LOGOUT</a>
367 <div class="oe-shortcuts"> </div>
369 <ul t-name="Shortcuts">
370 <li t-foreach="shortcuts" t-as="shortcut"
371 t-att-data-id="shortcut.res_id"
372 t-att-data-shortcut-id="shortcut.id"
373 ><t t-esc="shortcut.name"/></li>
376 <table align="center">
378 <td t-foreach="widget.data.data.children" t-as="menu">
379 <a href="#" t-att-data-menu="menu.id">
380 <t t-esc="menu.name"/>
386 <t t-name="Menu.secondary">
387 <div t-attf-class="oe_toggle_secondary_menu">
388 <span class="oe_menu_fold" title="Fold menu">&laquo;</span>
389 <span class="oe_menu_unfold" title="Unfold menu">&raquo;</span>
391 <div t-foreach="widget.data.data.children" t-as="menu" style="display: none" class="oe_secondary_menu" t-att-data-menu-parent="menu.id">
392 <t t-foreach="menu.children" t-as="menu">
393 <t t-set="classname">oe_secondary_menu_item</t>
394 <t t-set="level" t-value="0"/>
395 <t t-call="Menu.secondary.children"/>
399 <t t-name="Menu.secondary.children">
400 <t t-set="level" t-value="level + 1"/>
401 <a href="#" t-att-id="menu.children.length ? 'menu_' + menu.id : undefined"
402 t-att-class="classname + (menu.children.length ? ' submenu' : ' leaf') + (menu_first and level == 1 ? ' opened' : '')"
403 t-att-data-menu="menu.children.length ? undefined : menu.id">
404 <span t-attf-style="padding-left: #{(level - 2) * 20}px"> <t t-esc="menu.name"/></span>
406 <div t-attf-class="oe_secondary_submenu" t-if="menu.children.length" t-att-style="menu_first and level == 1 ? undefined : 'display: none'">
407 <t t-foreach="menu.children" t-as="menu">
408 <t t-set="classname">oe_secondary_submenu_item</t>
409 <t t-call="Menu.secondary.children"/>
413 <t t-name="ViewManager">
414 <table class="view-manager-main-table">
416 <td class="view-manager-main-content">
417 <div class="oe-view-manager-header">
418 <h2 class="oe_view_title" t-if="self.flags.display_title !== false">
419 <t t-esc="self.display_title()"/>
421 <div class="oe_vm_switch">
422 <t t-if="views.length != 1" t-foreach="views" t-as="view">
423 <button type="button" t-att-data-view-type="view.view_type">
424 <t t-esc="view.view_type"/>
429 <div t-attf-id="#{prefix}_search" t-opentag="true"/>
430 <t t-foreach="views" t-as="view">
431 <div t-attf-id="#{prefix}_view_#{view.view_type}"/>
434 <td class="view-manager-main-sidebar" height="100%">
435 <t t-foreach="views" t-as="view">
436 <div t-attf-id="#{prefix}_sidebar_#{view.view_type}" class="sidebar-main-div closed-sidebar" style="display: none"/>
443 <t t-extend="ViewManager" t-name="ViewManagerAction">
444 <t t-jquery=".oe-view-manager-header" t-operation="prepend">
445 <blockquote t-if="self.action.help and !self.flags.low_profile
446 and !(self.action.id in self.session.hidden_menutips)">
447 <p><t t-esc="self.action.help"/></p>
449 <button type="button" name="hide">Hide this tip</button>
450 <button type="button" name="disable">Disable all tips</button>
453 <a class="oe-shortcut-toggle" title="Add / Remove Shortcut..."
454 href="javascript: void(0)"> </a>
455 <button t-if="self.session.debug" class="oe_get_xml_view">
459 <t t-jquery=".oe-view-manager-header" t-operation="after">
460 <div class="oe-view-manager-logs oe-folded">
462 <a class="oe-more-logs" href="#">More…</a>
468 <a class="toggle-sidebar"></a>
469 <div class="sidebar-content">
470 <div class="sidebar-actions">
474 <t t-name="Sidebar.section">
475 <div t-att-id="section_id" t-att-class="classname">
476 <h2><t t-esc="name"/></h2>
479 <t t-name="Sidebar.section.items">
480 <li t-foreach="items" t-as="item" t-att-class="item.classname">
481 <a class="oe_sidebar_action_a" t-att-id="item.element_id" t-att-title="item.title" href="#">
482 <t t-esc="item.label"/>
487 <t t-name="TranslateDialog">
488 <ul class="oe_translate_tabs">
489 <li><a t-attf-href="##{widget.element_id}_fields">Fields</a></li>
490 <li><a t-attf-href="##{widget.element_id}_view">View labels</a></li>
491 <li><a t-attf-href="##{widget.element_id}_sidebar">Sidebar Relates</a></li>
493 <div t-attf-id="#{widget.element_id}_fields">
494 <table t-if="widget.view.translatable_fields" class="oe_frame oe_forms oe_translation_form" border="0" cellpadding="0" cellspacing="0" width="100%">
496 <td class="oe_form_separator" width="1%" nowrap="nowrap">
497 <div class="separator horizontal">Field</div>
499 <th t-foreach="widget.languages" align="left">
500 <div class="separator horizontal"><t t-esc="name"/></div>
503 <tr t-foreach="widget.view.translatable_fields" t-as="field">
504 <td class="oe_form_frame_cell" width="1%" nowrap="nowrap">
505 <label class="oe_label"><t t-esc="field.string"/>:</label>
507 <td t-foreach="widget.languages" t-as="lg" class="oe_form_frame_cell">
508 <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%"/>
509 <textarea t-if="field.type == 'text'" t-attf-name="#{lg.code}-#{field.name}" data-value="" class="oe_trad_field" style="width: 100%"></textarea>
514 <div t-attf-id="#{widget.element_id}_view">
517 <div t-attf-id="#{widget.element_id}_sidebar">
521 <t t-name="TreeView">
522 <select t-if="toolbar" style="width: 30%">
524 <table class="oe-treeview-table">
527 <th t-foreach="fields_view" t-as="field"
528 t-if="!field.attrs.modifiers.tree_invisible"
529 class="treeview-header">
530 <t t-esc="fields[field.attrs.name].string" />
538 <tr t-name="TreeView.rows"
539 t-foreach="records" t-as="record"
540 t-att-id="'treerow_' + record.id"
541 t-att-data-id="record.id" t-att-data-level="level + 1">
542 <t t-set="children" t-value="record[children_field]"/>
543 <t t-set="has_children" t-value="children and children.length"/>
545 <td t-foreach="fields_view" t-as="field"
546 t-if="!field.attrs.modifiers.tree_invisible"
547 t-att-data-id="record.id"
548 t-att-style="color_for(record) + (!field_index ? 'background-position: ' + 19*level + 'px; padding-left: ' + 19*level + 'px;' : '')"
549 t-att-class="!field_index and has_children ? 'treeview-tr' : 'treeview-td'">
550 <span t-if="!field.attrs.modifiers.invisible">
551 <t t-esc="render(record[field.attrs.name], fields[field.attrs.name])" />
556 <table t-name="ListView" class="oe-listview-content">
557 <t t-set="columns_count" t-value="visible_columns.length + (options.selectable ? 1 : 0) + (options.deletable ? 1 : 0)"/>
558 <thead class="ui-widget-header">
559 <tr t-if="options.action_buttons !== false or options.pager !== false">
560 <th t-att-colspan="columns_count">
563 <td t-if="options.action_buttons !== false" class="oe-actions">
564 <button type="button" class="oe-list-add"
565 t-if="options.addable">
566 <t t-esc="options.addable"/>
568 <button type="button" class="oe-list-delete"
569 t-if="options.selectable and options.deletable">
573 <t t-call="Listview.navigation.button"/>
578 <tr t-if="options.header" class="oe-listview-header-columns">
579 <t t-foreach="columns" t-as="column">
580 <th t-if="column.meta">
581 <t t-esc="column.string"/>
584 <th t-if="options.selectable" width="1" >
585 <input type="checkbox" class="all-record-selector"/> </th>
586 <t t-foreach="columns" t-as="column">
587 <th t-if="!column.meta and column.invisible !== '1'" t-att-data-id="column.id"
588 t-att-class="((options.sortable and column.tag !== 'button') ? 'oe-sortable' : null)">
589 <t t-if="column.tag !== 'button'"
590 ><t t-esc="column.string"/></t>
593 <th t-if="options.deletable" width="1"/>
596 <tfoot class="ui-widget-header">
598 <td t-if="options.selectable"/>
599 <td t-foreach="aggregate_columns" t-as="column" class="oe-list-footer oe-number"
600 t-att-data-field="column.id" t-att-title="column.label">
602 <td t-if="options.deletable"/>
605 <t t-call="Listview.navigation.button"/>
609 <th t-name="Listview.navigation.button" t-if="options.pager !== false"
610 class="oe-list-pager" t-att-colspan="columns_count">
611 <button type="button" disabled="disabled"
612 data-pager-action="first">First</button>
613 <button type="button" disabled="disabled"
614 data-pager-action="previous"><</button>
616 <span class="oe-pager-state">
619 <button type="button" disabled="disabled"
620 data-pager-action="next">></button>
621 <button type="button" disabled="disabled"
622 data-pager-action="last">Last</button>
624 <t t-name="ListView.rows" t-foreach="records.length" t-as="index">
625 <t t-call="ListView.row">
626 <t t-set="record" t-value="records.at(index)"/>
627 <t t-set="row_parity" t-value="index_parity"/>
630 <tr t-name="ListView.row" t-att-class="row_parity"
631 t-att-data-id="record.get('id')"
632 t-att-style="view.color_for(record)">
633 <t t-foreach="columns" t-as="column">
634 <td t-if="column.meta">
638 <t t-if="options.radio">
639 <th t-if="options.selectable" class="oe-record-selector" width="1">
640 <input type="radio" name ="radiogroup"/>
643 <t t-if="!options.radio">
644 <th t-if="options.selectable" class="oe-record-selector" width="1">
645 <input type="checkbox"/>
650 <t t-foreach="columns" t-as="column">
651 <t t-set="align" t-value="column.type === 'integer' or column.type == 'float'"/>
652 <td t-if="!column.meta and column.invisible !== '1'" t-att-title="column.help"
653 t-att-class="'oe-field-cell' + (align ? ' oe-number' : '')"
654 t-att-data-field="column.id">
655 <t t-raw="render_cell(record, column)"/>
658 <td t-if="options.deletable" class='oe-record-delete' width="1">
659 <button type="button" name="delete">♻</button>
662 <t t-name="ListView.row.form">
663 <t t-raw="frame.render()"/>
666 <t t-name="FormView">
667 <div class="oe_form_header">
668 <div class="oe_form_buttons" t-if="widget.options.action_buttons !== false">
669 <button type="button" class="oe_form_button_save oe_form_on_editable">Save</button>
670 <button type="button" class="oe_form_button_toggle">
671 <span class="oe_form_on_editable">Cancel</span>
672 <span class="oe_form_on_readonly">Edit</span>
674 <button type="button" class="oe_form_button_new oe_form_on_readonly">Create</button>
675 <button type="button" class="oe_form_button_duplicate oe_form_on_readonly">Duplicate</button>
676 <button type="button" class="oe_form_button_delete oe_form_on_readonly">Delete</button>
678 <div class="oe_form_pager" t-if="widget.options.pager !== false">
679 <button type="button" data-pager-action="first">First</button>
680 <button type="button" data-pager-action="previous"><<</button>
682 <span class="oe_pager_index">0</span> / <span class="oe_pager_count">0</span>
684 <button type="button" data-pager-action="next">>></button>
685 <button type="button" data-pager-action="last">Last</button>
688 <t t-raw="frame.render()"/>
690 <t t-name="FormView.sidebar.attachments">
691 <div class="oe-sidebar-attachments-toolbar">
692 <div class="oe-binary-file-set" style="float: right">
693 <form class="oe-binary-form" t-attf-target="#{element_id}_iframe"
694 method="post" enctype="multipart/form-data" action="/web/binary/upload_attachment">
695 <input type="hidden" name="session_id" t-att-value="session.session_id"/>
696 <input type="hidden" name="callback" t-attf-value="#{element_id}_iframe"/>
697 <input type="hidden" name="model" t-att-value="view.dataset.model"/>
698 <input type="hidden" name="id" t-att-value="view.datarecord.id"/>
699 <button class="button" type="button">
700 <img src="/web/static/src/img/throbber.gif" width="16" height="16" style="display: none"/>
703 <input type="file" class="oe-binary-file" name="ufile" title="Add attachment"
704 t-att-onclick="view.datarecord.id ? null : 'alert(\'No record selected ! You can only attach to existing record.\'); return false;'"/>
706 <iframe t-attf-id="#{element_id}_iframe" t-attf-name="#{element_id}_iframe" style="display: none"> </iframe>
709 <br style="clear: both"/>
710 <ul class="oe-sidebar-attachments-items">
711 <li t-foreach="attachments" t-as="attachment">
712 <t t-if="attachment.type == 'binary'" t-set="attachment.url" t-value="'/web/binary/saveas?session_id='
713 + session.session_id + '&model=ir.attachment&id=' + attachment.id
714 + '&field=datas&fieldname=name&t=' + (new Date().getTime())"/>
715 <a class="oe-sidebar-attachments-link" t-att-href="attachment.url" target="_blank">
716 <t t-esc="attachment.name"/>
718 <a href="#" class="oe-sidebar-attachment-delete" t-att-data-id="attachment.id" t-attf-title="Delete the attachment #{attachment.name}">
719 <img src="/web/static/src/img/attachments-close.png" width="15" height="15" border="0"/>
726 <t t-raw="console.log('Unhandled widget', widget)"/>
728 <t t-name="WidgetFrame">
729 <table border="0" width="100%" cellpadding="0" cellspacing="0" class="oe_frame oe_forms">
730 <tr t-foreach="widget.table" t-as="row">
731 <t t-foreach="row" t-as="td">
732 <td t-att-colspan="td.colspan gt 1 ? td.colspan : undefined"
733 t-att-width="td.width"
734 t-att-nowrap="td.nowrap or td.is_field_m2o? 'true' : undefined"
735 t-att-valign="td.table ? 'top' : undefined"
736 t-attf-class="oe_form_frame_cell #{td.classname} #{td.element_class}"
738 <t t-raw="td.render()"/>
744 <t t-name="WidgetNotebook">
746 <li t-foreach="widget.pages" t-as="page">
748 <t t-esc="page.string"/>
752 <t t-foreach="widget.pages" t-as="page">
753 <t t-raw="page.render()"/>
756 <t t-name="WidgetNotebookPage">
758 <t t-call="WidgetFrame"/>
761 <t t-name="WidgetSeparator">
762 <div t-if="widget.orientation !== 'vertical'" t-att-class="'separator ' + widget.orientation">
763 <t t-esc="widget.string"/>
766 <t t-name="WidgetLabel">
767 <label t-att-for="widget.element_id"
768 t-attf-class="oe_label#{widget.help ? '_help' : ''} oe_align_#{widget.align}"
769 t-att-title="widget.help">
770 <t t-esc="widget.string"/>
771 <span t-if="widget.help">?</span>
772 <t t-if="widget.string and widget.node.tag != 'label'">:</t>
775 <t t-name="WidgetParagraph">
776 <p t-attf-class="oe_form_paragraph oe_align_#{widget.align}"><t t-esc="widget.string"/></p>
778 <t t-name="FieldChar">
779 <input t-att-type="widget.password ? 'password' : 'text'" size="1"
780 t-att-name="widget.name"
781 t-att-id="widget.element_id"
782 t-attf-class="field_#{widget.type}"
783 t-attf-style="width: #{widget.field.translate ? '99' : '100'}%"
785 <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"/>
787 <t t-name="FieldChar.readonly">
789 t-att-id="widget.element_id"
790 t-attf-class="field_#{widget.type}"
791 t-attf-style="width: #{widget.field.translate ? '99' : '100'}%">
794 <t t-name="FieldURI.readonly">
797 <t t-name="FieldEmail">
798 <table cellpadding="0" cellspacing="0" border="0" width="100%">
801 <t t-call="FieldChar"/>
804 <button type="button" class="button" title="Send an e-mail with your default e-mail client">
805 <img src="/web/static/src/img/icons/terp-mail-message-new.png"/>
811 <t t-name="FieldUrl">
812 <table cellpadding="0" cellspacing="0" border="0" width="100%">
815 <t t-call="FieldChar"/>
818 <button type="button" class="button" title="Open this resource">
819 <img src="/web/static/src/img/icons/gtk-ok.png"/>
825 <t t-name="FieldText">
827 t-att-name="widget.name"
828 t-att-id="widget.element_id"
829 t-attf-class="field_#{widget.type}"
830 t-attf-style="width: #{widget.field.translate ? '99' : '100'}%"
832 <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"/>
834 <t t-name="web.datetimepicker">
835 <div class="oe_datepicker_root">
836 <input type="text" size="1" style="width: 100%"/>
837 <img class="oe_input_icon oe_datepicker_trigger" src="/web/static/src/img/ui/field_calendar.png"
838 title="Select date" width="16" height="16" border="0"/>
839 <div class="oe_datepicker ui-widget-content ui-corner-all" style="display: none; position: absolute; z-index: 1;">
840 <div class="oe_datepicker_container"/>
841 <button type="button" class="oe_datepicker_close ui-state-default ui-priority-primary ui-corner-all" style="float: right;">Done</button>
845 <t t-name="FieldSelection">
847 t-att-name="widget.name"
848 t-att-id="widget.element_id"
849 t-attf-class="field_#{widget.type}"
851 <t t-foreach="widget.values" t-as="option">
852 <option><t t-esc="option[1]"/></option>
856 <t t-name="FieldMany2One">
858 <input type="text" size="1" style="width: 100%;"
859 t-att-id="widget.element_id"/>
860 <span class="oe-m2o-drop-down-button">
861 <img src="/web/static/src/img/down-arrow.png" /></span>
862 <span class="oe-m2o-cm-button" t-att-id="widget.name + '_open'">
863 <img src="/web/static/src/img/icons/gtk-index.png"/></span>
864 <div t-att-id="widget.cm_id" class="contextMenu" style="display:none">
868 <t t-name="FieldMany2One.context_menu">
870 <li t-att-id="widget.cm_id + '_open'" style="color:grey" class="oe_m2o_menu_item_mandatory">Open...</li>
871 <li t-att-id="widget.cm_id + '_create'" class="oe_m2o_menu_item_noreadonly">Create...</li>
872 <li t-att-id="widget.cm_id + '_search'" class="oe_m2o_menu_item_noreadonly">Search...</li>
873 <t t-set="i" t-value="0"/>
874 <t t-foreach="widget.related_entries" t-as="entry">
875 <li t-att-id="widget.cm_id + '_related_' + i" style="color:grey" class="oe_m2o_menu_item_mandatory">
876 ... <t t-esc="(entry[2] || {})['name'] || ''"/>
878 <t t-set="i" t-value="i+1"/>
882 <t t-name="FieldOne2Many">
884 <t t-name="FieldMany2Many">
885 <div t-att-id="widget.list_id"></div>
887 <t t-name="FieldReference">
888 <table border="0" width="100%" cellpadding="0" cellspacing="0" class="oe_frame oe_forms">
890 <td t-attf-class="oe_form_frame_cell oe_form_selection #{widget.selection.element_class}">
891 <t t-raw="widget.selection.render()"/>
893 <td t-attf-class="oe_form_frame_cell oe_form_many2one #{widget.m2o.element_class}" nowrap="true" style="display: none">
894 <t t-raw="widget.m2o.render()"/>
899 <t t-name="FieldBoolean">
900 <input type="checkbox"
901 t-att-name="widget.name"
902 t-att-id="widget.element_id"
903 t-attf-class="field_#{widget.type}"/>
905 <t t-name="FieldProgressBar">
906 <div t-opentag="true" class="oe-progressbar">
910 <t t-name="FieldBinaryImage">
911 <table cellpadding="0" cellspacing="0" border="0">
914 <img src="/web/static/src/img/placeholder.png" class="oe-binary-image"
915 t-att-border="widget.readonly ? 0 : 1"
916 t-att-id="widget.element_id + '_field'"
917 t-att-name="widget.name"
918 t-attf-class="field_#{widget.type}"
919 t-att-width="widget.node.attrs.img_width || widget.node.attrs.width"
920 t-att-height="widget.node.attrs.img_height || widget.node.attrs.height"
925 <td align="center" valign="bottom" height="25">
926 <div class="oe-binary">
927 <table cellspacing="0" cellpadding="0" border="0">
930 <div class="oe-binary-file-set" style="width: 40px; height:22px;">
931 <form class="oe-binary-form" t-att-target="widget.iframe"
932 method="post" enctype="multipart/form-data" action="/web/binary/upload">
933 <input type="hidden" name="session_id" value=""/>
934 <input type="hidden" name="callback" t-att-value="widget.iframe"/>
935 <button class="button" type="button" title="Set Image">
936 <img src="/web/static/src/img/icons/STOCK_DIRECTORY.png"/>
938 <input type="file" class="oe-binary-file" name="ufile"/>
943 <button class="button oe-binary-file-clear" type="button" title="Clear">
944 <img src="/web/static/src/img/icons/STOCK_MISSING_IMAGE.png"/>
950 <div class="oe-binary-progress" style="display: none">
951 <img src="/web/static/src/img/throbber.gif" width="16" height="16"/>
954 <iframe t-att-id="widget.iframe" t-att-name="widget.iframe" style="display: none"> </iframe>
959 <t t-name="FieldBinaryFile">
960 <table cellpadding="0" cellspacing="0" border="0" width="100%">
963 <input type="text" size="1"
964 t-att-name="widget.name"
965 t-att-id="widget.element_id + '_field'"
966 t-attf-class="field_#{widget.type}" style="width: 100%"
969 <td class="oe-binary" nowrap="true">
970 <table cellspacing="0" cellpadding="0" border="0">
973 <div class="oe-binary-file-set" style="width: 80px; height:22px;">
974 <form class="oe-binary-form" t-att-target="widget.iframe"
975 method="post" enctype="multipart/form-data" action="/web/binary/upload">
976 <input type="hidden" name="session_id" value=""/>
977 <input type="hidden" name="callback" t-att-value="widget.iframe"/>
978 <button class="button" type="button" title="Set Image">
979 <img src="/web/static/src/img/icons/STOCK_DIRECTORY.png"/>
982 <input type="file" class="oe-binary-file" name="ufile"/>
987 <button class="button oe-binary-file-save" type="button" title="Save As">
988 <img src="/web/static/src/img/icons/gtk-save.png"/>
993 <button class="button oe-binary-file-clear" type="button" title="Clear">
994 <img src="/web/static/src/img/icons/STOCK_MISSING_IMAGE.png"/>
1001 <td class="oe-binary-progress" style="display: none" nowrap="true">
1002 <img src="/web/static/src/img/throbber.gif" width="16" height="16"/>
1003 <b>Uploading ...</b>
1004 <iframe t-att-id="widget.iframe" t-att-name="widget.iframe" style="display: none"> </iframe>
1009 <t t-name="WidgetButton">
1010 <button type="button"
1011 t-att-title="widget.help"
1012 style="width: 100%" class="button">
1013 <img t-if="widget.node.attrs.icon" t-att-src="'/web/static/src/img/icons/' + widget.node.attrs.icon + '.png'" width="16" height="16"/>
1014 <span t-if="widget.string"><t t-esc="widget.string"/></span>
1018 <t t-name="SearchView">
1019 <form class="oe_forms">
1020 <t t-call="SearchView.render_lines"/>
1021 <div class="oe_search-view-buttons" style="text-align: right;">
1022 <input type="submit" value="Search"/>
1023 <input type="reset" value="Clear"/>
1024 <button class="oe_search-view-custom-filter-btn"><span>Advanced Filter</span></button>
1025 <select class="oe_search-view-filters-management">
1030 <t t-name="SearchView.managed-filters">
1031 <option value="_filters">-- Filters --</option>
1032 <t t-set="i" t-value="0"/>
1033 <t t-foreach="filters" t-as="filter">
1034 <option t-att-value="'get:' + i"><t t-esc="filter.name"/></option>
1035 <t t-set="i" t-value="i+1"/>
1037 <option value="_actions">-- Actions --</option>
1038 <option value="save_filter">Save Filter</option>
1039 <option value="manage_filters">Manage Filters</option>
1041 <t t-name="SearchView.managed-filters.add">
1044 <input type="text"/>
1045 <p>(Any existing filter with the same name will be replaced)</p>
1048 <t t-name="SearchView.render_lines">
1049 <table class="oe-searchview-render-line" border="0" cellspacing="0" cellpadding="0"
1050 t-foreach="lines" t-as="line">
1052 <td t-foreach="line" t-as="widget">
1053 <t t-raw="widget.render(defaults)"/>
1058 <button t-name="SearchView.filter" type="button"
1059 t-att-id="element_id"
1060 t-att-title="attrs.help"
1061 t-att-class="classes.join(' ')"
1062 t-att-autofocus="attrs.default_focus === '1' ? 'autofocus' : undefined">
1063 <img t-if="attrs.icon" t-att-src="'/web/static/src/img/icons/' + attrs.icon + '.png'" width="16" height="16"/>
1064 <br t-if="attrs.icon and attrs.string"/>
1065 <t t-esc="attrs.string"/>
1067 <span t-name="SearchView.filters" class="filter_label_group"
1068 ><t t-foreach="filters" t-as="filter"
1069 ><t t-raw="filter.render(defaults)"/></t
1071 <t t-name="SearchView.field">
1072 <label t-att-class="'oe_label' + (attrs.help ? '_help' : '')"
1073 t-att-title="attrs.help"
1074 t-att-for="element_id">
1075 <t t-esc="attrs.string || attrs.name"/>
1076 <span t-if="attrs.help">?</span>
1078 <div style="white-space: nowrap;">
1079 <input type="text" size="15" t-att-name="attrs.name"
1080 t-att-autofocus="attrs.default_focus === '1' ? 'autofocus' : undefined"
1081 t-att-id="element_id"
1082 t-att-value="defaults[attrs.name] || ''"/>
1083 <t t-if="filters.length" t-raw="filters.render(defaults)"/>
1086 <t t-name="SearchView.date">
1087 <label t-att-class="'oe_label' + (attrs.help ? '_help' : '')"
1088 t-att-title="attrs.help"
1089 t-att-for="element_id">
1090 <t t-esc="attrs.string || attrs.name"/>
1091 <span t-if="attrs.help">?</span>
1093 <div style="white-space: nowrap;">
1094 <span t-att-id="element_id"></span>
1095 <t t-if="filters.length" t-raw="filters.render(defaults)"/>
1098 <t t-name="SearchView.field.selection">
1099 <label t-att-title="attrs.help"
1100 t-att-class="'oe_label' + (attrs.help ? '_help' : '')"
1101 t-att-for="element_id">
1102 <t t-esc="attrs.string || attrs.name"/>
1103 <span t-if="attrs.help">?</span>
1105 <div style="white-space: nowrap;">
1106 <select t-att-name="attrs.name" t-att-id="element_id"
1107 t-att-autofocus="attrs.default_focus === '1' || undefined">
1108 <option t-if="prepend_empty"/>
1109 <t t-foreach="attrs.selection" t-as="option">
1110 <t t-set="selected" t-value="defaults[attrs.name] === option[0]"/>
1111 <option t-if="selected"
1112 t-att-value="option_index" selected="selected">
1113 <t t-esc="option[1]"/>
1115 <option t-if="!selected" t-att-value="option_index">
1116 <t t-esc="option[1]"/>
1120 <t t-if="filters.length" t-raw="filters.render(defaults)"/>
1123 <t t-name="SearchView.util.expand">
1124 <div t-att-class="'searchview_group ' + (expand == '0' ? 'folded' : 'expanded')"
1125 t-att-id="element_id">
1126 <a t-if="label" class="searchview_group_string" href="#">
1129 <div class="searchview_group_content">
1130 <t t-raw="content"/>
1134 <t t-name="SearchView.group">
1135 <t t-call="SearchView.util.expand">
1136 <t t-set="expand" t-value="attrs.expand"/>
1137 <t t-set="label" t-value="attrs.string"/>
1139 <t t-call="SearchView.render_lines"/>
1143 <t t-name="SearchView.extended_search">
1144 <t t-call="SearchView.util.expand">
1145 <t t-set="expand" t-value="false"/>
1146 <t t-set="label" t-value="'Advanced Filters'"/>
1148 <div class="searchview_extended_groups_list">
1153 <t t-name="SearchView.extended_search.group">
1154 <div t-att-id="element_id" class="searchview_extended_group">
1155 <select class="searchview_extended_group_choice">
1156 <option value="any">Any of the following conditions must match</option>
1157 <option value="all">All the following conditions must match</option>
1158 <option value="none">None of the following conditions must match</option>
1160 <a class="searchview_extended_delete_group"
1161 href="javascript:void(0)"><span></span></a>
1162 <div class="searchview_extended_propositions_list">
1164 <a class="searchview_extended_add_proposition" href="javascript:void(0)">
1165 <span>Add condition</span></a>
1166 <div class="oe_adv_filters_and"><span>and</span></div>
1169 <t t-name="SearchView.extended_search.proposition">
1170 <div t-att-id="element_id">
1171 <select class="searchview_extended_prop_field">
1172 <t t-foreach="attrs.fields" t-as="field">
1173 <option t-if="typeof field.store === 'undefined' || field.store || field.fnct_search"
1174 t-att="{'selected': field === attrs.selected ? 'selected' : null}"
1175 t-att-value="field.name">
1176 <t t-esc="field.string"/>
1180 <select class="searchview_extended_prop_op"/>
1181 <span class="searchview_extended_prop_value"/>
1182 <a class="searchview_extended_delete_prop"
1183 href="javascript:void(0)"><span> </span></a>
1186 <t t-name="SearchView.extended_search.proposition.char">
1187 <input t-att-id="element_id" class="field_char"/>
1189 <t t-name="SearchView.extended_search.proposition.empty">
1190 <span t-att-id="element_id"></span>
1192 <t t-name="SearchView.extended_search.proposition.integer">
1193 <input type="number" t-att-id="element_id" class="field_integer" step="1"/>
1195 <t t-name="SearchView.extended_search.proposition.float">
1196 <input type="number" t-att-id="element_id" class="field_float" step="0.01"/>
1198 <t t-name="SearchView.extended_search.proposition.boolean">
1200 <t t-name="SearchView.extended_search.proposition.selection">
1201 <select t-att-id="element_id">
1202 <t t-foreach="field.selection" t-as="element">
1203 <option t-att-value="element[0]"><t t-esc="element[1]"/></option>
1207 <t t-name="DialogWarning">
1208 <table cellspacing="0" cellpadding="0" border="0" class="oe-dialog-warning">
1210 <td><img src="/web/static/src/img/warning.png" class="oe-dialog-icon"/></td>
1214 var message = d.message ? d.message : d.error.data.fault_code;
1215 d.html_error = context.engine.tools.html_escape(message)
1216 .replace(/\n/g, '<br/>');
1218 <t t-raw="html_error"/>
1224 <t t-name="DialogTraceback">
1225 <pre><t t-esc="error.message"/></pre>
1227 <pre><t t-esc="error.data.debug"/></pre>
1229 <t t-name="SelectCreatePopup">
1230 <div t-att-id="element_id">
1231 <table style="width:100%">
1232 <tr style="width:100%">
1233 <td style="width:100%">
1234 <div t-att-id="element_id + '_search'" style="width:100%"></div>
1237 <tr style="width:100%">
1238 <td style="width:100%">
1239 <div t-att-id="element_id + '_view_list'" style="width:100%"></div>
1243 <div t-att-id="element_id + '_view_form'" style="width:100%"></div>
1246 <t t-name="SelectCreatePopup.search.buttons">
1247 <button type="button" class="oe_selectcreatepopup-search-select" disabled="disabled">Select</button>
1248 <button type="button" class="oe_selectcreatepopup-search-close">Cancel</button>
1250 <t t-name="SelectCreatePopup.form.buttons">
1251 <t t-if="widget.options.disable_multiple_selection">
1252 <button type="button" class="oe_selectcreatepopup-form-save">Save</button>
1254 <t t-if="! widget.options.disable_multiple_selection">
1255 <button type="button" class="oe_selectcreatepopup-form-save-new">Save & New</button>
1256 <button type="button" class="oe_selectcreatepopup-form-save">Save & Close</button>
1258 <button type="button" class="oe_selectcreatepopup-form-close">Cancel</button>
1260 <t t-name="FormOpenPopup">
1261 <div t-att-id="element_id">
1262 <div t-att-id="element_id + '_view_form'" style="width:100%"></div>
1265 <t t-name="FormOpenPopup.form.buttons">
1266 <button type="button" class="oe_formopenpopup-form-save">Save</button>
1267 <button type="button" class="oe_formopenpopup-form-close">Cancel</button>
1269 <t t-name="ListView.row.frame" t-extend="WidgetFrame">
1271 $(document.createElement('t'))
1272 .append(this.contents())
1274 't-foreach': this.attr('t-foreach'),
1275 't-as': this.attr('t-as')
1278 .after($(document.createElement('td')).append(
1279 $(document.createElement('button')).attr({
1280 'class': 'oe-edit-row-save', 'type': 'button'}).text('Save')))
1281 .before($(document.createElement('td')).append(
1282 $(document.createElement('button')).attr({
1283 'class': 'oe-edit-row-cancel', 'type': 'button'}).text('Cancel')))
1287 <t t-name="view_editor">
1288 <table class="oe_view_editor">
1289 <t t-call="view_editor.row"/>
1292 <tr t-name="view_editor.row" class="oe_view_editor_row" t-att-id="'viewedit-' + rec.id" t-att-level="rec.level" t-foreach="data" t-as="rec">
1293 <td class="oe_view_editor_colum" width="85%">
1294 <table class="oe_view_editor_tree_grid">
1296 <td width="16px" t-att-style="'background-position: ' + 20*rec.level + 'px; padding-left: ' + 20*rec.level + 'px'">
1297 <img t-if="rec.child_id.length" t-att-id="'parentimg-' + rec.id"
1298 src="/web/static/src/img/collapse.gif" width="16" height="16" border="0"/>
1300 <td style="cursor: pointer;">
1301 <a style="text-decoration:none" href="javascript:void(0);"> <t t-esc="rec.name"/> </a>
1306 <td align="left" class="oe_view_editor_colum" width="15%">
1307 <table width="100%">
1310 <img t-if="rec.att_list.length"
1311 id="side-add" src="/web/static/src/img/icons/gtk-add.png" style="cursor: pointer;"/>
1314 <img id="side-remove" src="/web/static/src/img/icons/gtk-remove.png" style="cursor: pointer;"/>
1317 <img t-if="rec.att_list.length"
1318 id="side-edit" src="/web/static/src/img/icons/gtk-edit.png" style="cursor: pointer;"/>
1321 <img t-if="rec.att_list.length"
1322 id="side-up" src="/web/static/src/img/icons/gtk-go-up.png" style="cursor: pointer;"/>
1325 <img t-if="rec.att_list.length"
1326 id="side-down" src="/web/static/src/img/icons/gtk-go-down.png" style="cursor: pointer;"/>
1331 <t t-if="rec.child_id.length">
1332 <t t-set="data" t-value="rec.child_id"/>
1333 <t t-call="view_editor.row"/>
1337 <t t-name="ExportView">
1338 <a id="exportview" href="javascript: void(0)" style="text-decoration: none;color: #3D3D3D;">Export</a>
1340 <table t-name="ExportTreeView" class="oe-export"
1341 style="background-color: #F3F3F3;">
1344 This wizard will export all data that matches the current search criteria to a CSV file.
1345 You can export all data or only the fields that can be reimported after modification.
1350 <label for="import_compat">Export Type:</label>
1351 <select id="import_compat" name="import_compat">
1352 <option value="yes">Import Compatible Export</option>
1353 <option value="">Export all Data</option>
1356 <label for="export_format">Export Formats</label>
1357 <select id="export_format" name="export_format"></select>
1362 <th>Available fields</th>
1366 <a style="color: blue; text-decoration: none;" href="#" id="export_new_list">Save fields list</a>
1367 <div id="savenewlist"></div>
1368 <div id="ExistsExportList"></div>
1371 <tr style="height: 400px;">
1372 <td class="oe_export_fields_selector_left">
1373 <div id="left_field_panel">
1376 <td class="oe_export_fields_selector_center">
1377 <button id="add_field">Add</button>
1378 <button id="remove_field">Remove</button>
1379 <button id="remove_all_field">Remove All</button>
1381 <td class="oe_export_fields_selector_right">
1382 <select name="fields_list" id="fields_list"
1383 multiple="multiple"></select>
1388 <table t-name="ExportTreeView-Secondary"
1389 id="field-tree-structure" class="oe_export_fields_selector_export"
1390 cellspacing="0" cellpadding="0">
1391 <tr><th class="oe_export_tree_header"> Name </th></tr>
1392 <t t-call="ExportTreeView-Secondary.children"/>
1394 <tr t-name="ExportTreeView-Secondary.children"
1395 t-foreach="fields" t-as="field"
1396 t-att-id="'treerow-' + field.id" class="oe_export_row">
1398 <table class="tree_grid" border="0">
1399 <tr class="oe_export_row">
1400 <t t-foreach="(field.id).split('/')" t-as="level" >
1401 <t t-if="(field.id).split('/')[0] != level">
1402 <td width="18">&nbsp;</td>
1405 <td valign="top" align="left" style="cursor: pointer;" width="18">
1406 <t t-if="field.children">
1407 <t t-if="(field.id).split('/').length != 3">
1408 <img t-att-id="'parentimg-' + field.id" src="/web/static/src/img/expand.gif" width="16" height="16" border="0"/>
1412 <td id="tree-column" valign="middle" align="left" style="cursor: pointer;">
1413 <a t-att-id="'export-' + field.id" t-att-string="field.string" href="javascript: void(0);" style="text-decoration: none;">
1414 <t t-esc="field.string"/>
1422 <t t-name="ExportNewList">
1424 <th><label>Save as:</label></th>
1425 <td><input size="10" type="text" id="savelist_name"/></td>
1426 <td><button class="oe_export_button_export" id="add_export_list">Ok</button></td>
1430 <t t-name="Exists.ExportList">
1431 <label for="saved_export_list">Saved exports:</label>
1433 <select id="saved_export_list">
1435 <t t-foreach="existing_exports" t-as="export">
1436 <option t-att-value="export.id"><t t-esc="export.name"/></option>
1439 <button class="oe_export_button_export" id="delete_export_list" type="button">Delete</button>
1441 <t t-name="Change_Pwd">
1442 <form name="change_password_form" class="oe_forms" method="POST">
1443 <table align="center">
1445 <td><label for="old_pwd">Old Password:</label></td>
1446 <td><input type="password" name="old_pwd"
1447 minlength="1" autofocus="autofocus"/></td>
1450 <td><label for="new_password">New Password:</label></td>
1451 <td><input type="password" name="new_password"
1452 minlength="1" autofocus="autofocus"/></td>
1455 <td><label for="confirm_pwd">Confirm Password:</label></td>
1456 <td><input type="password" name="confirm_pwd"
1457 minlength="1"/></td>
1460 <td colspan="2" align="right"><input type="submit" value="Change Password"/></td>
1466 <t t-name="ImportView">
1467 <a id="importview" href="javascript: void(0)" style="text-decoration: none;color: #3D3D3D;">Import</a>
1469 <t t-name="ImportDataView">
1470 <form name="import_data" id="import_data" action="" method="post" enctype="multipart/form-data"
1471 class="oe-import oe-import-no-result">
1472 <input type="hidden" name="session_id" t-att-value="session.session_id"/>
1473 <h2 class="separator horizontal">1. Import a .CSV file</h2>
1474 <p>Select a .CSV file to import. If you need a sample of file to import,
1475 you should use the export tool with the "Import Compatible" option.
1478 <label for="csvfile">CSV File:</label>
1479 <input type="file" id="csvfile" size="50" name="csvfile"/>
1481 <h2 class="separator horizontal oe-import-result">2. Check your file format</h2>
1482 <div id="result" class="oe-import-result"></div>
1483 <fieldset class="oe-closed oe-import-result">
1484 <legend>Import Options</legend>
1488 <label for="file_has_headers">Does your file have titles?</label>
1489 <input type="checkbox" checked="checked"
1490 id="file_has_headers"/>
1494 <td><label for="csv_separator">Separator:</label></td>
1495 <td><input type="text" name="csvsep" id="csv_separator" value=","/></td>
1496 <td><label for="csv_delimiter">Delimiter:</label></td>
1497 <td><input type="text" name="csvdel" id="csv_delimiter" value='"'/></td>
1500 <td><label for="csv_encoding">Encoding:</label></td>
1502 <select name="csvcode" id="csv_encoding">
1503 <option value="utf-8">UTF-8</option>
1504 <option value="latin1">Latin 1</option>
1507 <td><label for="csv_skip" title="For use if CSV files have titles on multiple lines, skips more than a single line during import">
1508 Lines to skip<sup>?</sup>:</label></td>
1509 <td><input type="number" id="csv_skip" value="0" min="0"/></td>
1515 <t t-name="ImportView.result">
1516 <table class="oe_import_grid" width="100%" style="margin: 5px 0;">
1517 <tr t-if="headers" class="oe_import_grid-header">
1518 <td t-foreach="headers" t-as="header" class="oe_import_grid-cell">
1519 <t t-esc="header"/></td>
1522 <td t-foreach="records[0]" t-as="column">
1523 <input class="sel_fields" placeholder="--- Don't Import ---"/><span class="oe-m2o-drop-down-button">
1524 <img src="/web/static/src/img/down-arrow.png" /></span>
1527 <tr t-foreach="records" t-as="record" class="oe_import_grid-row">
1528 <td t-foreach="record" t-as="cell" class="oe_import_grid-cell">
1529 <t t-esc="cell"/></td>
1533 <t t-name="ImportView.error">
1534 <p style="white-space:pre-line;">The import failed due to:<t t-esc="error.message"/></p>
1535 <t t-if="error.preview">
1536 <p>Here is a preview of the file we could not import:</p>
1537 <pre><t t-esc="error.preview"/></pre>
1541 <t t-name="About-Page">
1543 <h1>OpenERP Web</h1>
1544 <h3 style="padding:0 5px 5px">Version <t t-esc="version_info.version"/></h3>
1546 Copyright © 2011-TODAY OpenERP SA. All Rights Reserved.<br />
1547 OpenERP is a trademark of the <a target="_blank" href="http://openerp.com/" style="text-decoration: underline;">OpenERP SA Company</a>.
1550 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>
1553 <h1>About OpenERP</h1>
1555 <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
1556 productivity and profit through data integration. It connects, improves and
1557 manages business processes in areas such as sales, finance, supply chain,
1558 project management, production, services, CRM, etc...
1561 The system is platform-independent, and can be installed on Windows, Mac OS X,
1562 and various Linux and other Unix-based distributions. Its architecture enables
1563 new functionality to be rapidly created, modifications to be made to a
1564 production system and migration to a new version to be straightforward.
1567 Depending on your needs, OpenERP is available through a web or application client.
1571 <t t-name="FieldStatus.content">
1572 <ul class="oe-arrow-list">
1573 <t t-set="size" t-value="widget.to_show.length"/>
1574 <t t-foreach="_.range(size)" t-as="i">
1575 <li t-att-class="widget.to_show[i][0] === widget.selected_value ? 'oe-arrow-list-selected' : ''">
1576 <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>
1581 <t t-name="EmptyComponent">