diff options
| author | Ravi Gohil <rgo@tinyerp.com> | 2016-03-25 11:12:40 +0100 |
|---|---|---|
| committer | Jérome Maes <jem@openerp.com> | 2016-04-13 12:28:34 +0200 |
| commit | 44c62e1b7f02bb43ed75615076bcbbc7195f72d4 (patch) | |
| tree | 0ae1aa7c0b7444fc68a7b221d9966f5a5eef7239 /addons/hr/data/web_tip_data.xml | |
| parent | c232e3cbcbeb0f84a5bcec4d12557eacc1fbc65a (diff) | |
[MIGR] hr : migrate to new api
- Rewrite the code to new api without changes
business behavior
- Remove old v7 backward compatibility method
- Regroup view definitions in the same xml file
- Use read_group for computed fields
Diffstat (limited to 'addons/hr/data/web_tip_data.xml')
| -rw-r--r-- | addons/hr/data/web_tip_data.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/addons/hr/data/web_tip_data.xml b/addons/hr/data/web_tip_data.xml index 2c675d52b36..df0911fad25 100644 --- a/addons/hr/data/web_tip_data.xml +++ b/addons/hr/data/web_tip_data.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> -<openerp> +<odoo> <data> - <record model="web.tip" id="hr_tip_1"> + <record id="hr_tip_1" model="web.tip"> <field name="title"></field> <field name="description">Get all applications related to this job position.</field> <field name="model">hr.job</field> @@ -11,7 +11,7 @@ <field name="placement">bottom</field> </record> - <record model="web.tip" id="hr_tip_2"> + <record id="hr_tip_2" model="web.tip"> <field name="title"></field> <field name="description">Click here to change the recruitment goal!</field> <field name="model">hr.job</field> @@ -21,4 +21,4 @@ <field name="placement">bottom</field> </record> </data> -</openerp> +</odoo> |
