diff options
| author | Yannick Tivisse <yti@odoo.com> | 2016-03-03 13:34:38 +0100 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2016-06-17 12:14:57 +0200 |
| commit | 717f9217bb323fa03c03bfc188a7f2cdb797eaa6 (patch) | |
| tree | fa93065def62217b4bf28ebf7e4a6f6f750f210f /addons/hr_expense/data/web_tip_data.xml | |
| parent | 5aa9bde34a1fac3e437d92e6daaf72029730a2f1 (diff) | |
[IMP] hr_expense: bring back the sheets + other new features
NB:
- The option no_delete is not working, a fix will come from chm
- The many2many widget on a sheet creation is not working correctly as
the called command is a (1, id, values) without a (4, id, _) before.
A fix will also come from chm, but a disgusting hack has been
provided for this particular case (to remove after chm fix)
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..e45b329cd89 --- /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.hr_expense_actions_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 Action to submit multiple expenses to your manager.</field> + <field name="action_id" ref="hr_expense.hr_expense_actions_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 and attach a document to the expense. (e.g. scan of the bill)</field> + <field name="action_id" ref="hr_expense.hr_expense_actions_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> |
