diff options
| author | Foram Katharotiya <fka@tinyerp.com> | 2015-09-04 17:22:39 +0200 |
|---|---|---|
| committer | qdp-odoo <qdp@odoo.com> | 2015-09-04 17:23:19 +0200 |
| commit | 52d72e61def41c80d3aa9b251f244eee88638ea6 (patch) | |
| tree | 1442f7681a10cc57ab38edcccc0a5282d7d7fe98 /addons/hr_expense/data/web_tip_data.xml | |
| parent | 4ce20c449f06664a30bc3800c187f953a4267e25 (diff) | |
[MERGE] hr_expense: module rewritten for more easiness and a better usability. Concept of expense sheet removed. Was PR #7387.
Diffstat (limited to 'addons/hr_expense/data/web_tip_data.xml')
| -rw-r--r-- | addons/hr_expense/data/web_tip_data.xml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/addons/hr_expense/data/web_tip_data.xml b/addons/hr_expense/data/web_tip_data.xml new file mode 100644 index 00000000000..eb24fcdcaa7 --- /dev/null +++ b/addons/hr_expense/data/web_tip_data.xml @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="utf-8"?> +<odoo> + + <record id="expense_tip_1" model="web.tip"> + <field name="title"></field> + <field name="description">Select the lines you want to submit to be reimbursed.</field> + <field name="action_id" ref="hr_expense.expense_all"/> + <field name="model">hr.expense</field> + <field name="mode">list</field> + <field name="trigger_selector">input.oe_list_record_selector:visible</field> + <field name="highlight_selector">input.oe_list_record_selector:visible</field> + <field name="placement">bottom</field> + </record> + + <record id="expense_tip_2" model="web.tip"> + <field name="title"></field> + <field name="description">Click on More to submit multiple expenses to your manager.</field> + <field name="action_id" ref="hr_expense.expense_all"/> + <field name="model">hr.expense</field> + <field name="mode">list</field> + <field name="trigger_selector">div.oe_sidebar.btn-group:visible</field> + <field name="highlight_selector">div.oe_sidebar.btn-group:visible</field> + <field name="placement">bottom</field> + </record> + + <record id="expense_tip_3" model="web.tip"> + <field name="title"></field> + <field name="description">Use the messaging tool to log a note about your expense or to attach a document</field> + <field name="action_id" ref="hr_expense.expense_all"/> + <field name="model">hr.expense</field> + <field name="mode">form</field> + <field name="trigger_selector">div.btn-group.btn-group-sm:visible > button</field> + <field name="highlight_selector">.o_timeline_compose_post.btn.btn-primary:visible</field> + <field name="placement">bottom</field> + </record> + +</odoo>
\ No newline at end of file |
