- 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
25 lines
1.1 KiB
XML
25 lines
1.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<odoo>
|
|
<data>
|
|
<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>
|
|
<field name="mode">form</field>
|
|
<field name="trigger_selector">.o_form_buttons_view:visible,div.oe_button_box > button</field>
|
|
<field name="highlight_selector">div.oe_button_box:visible > button:nth-child(1)</field>
|
|
<field name="placement">bottom</field>
|
|
</record>
|
|
|
|
<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>
|
|
<field name="mode">kanban</field>
|
|
<field name="trigger_selector">.o_progressbar_value</field>
|
|
<field name="highlight_selector">.o_progressbar_value:eq(0)</field>
|
|
<field name="placement">bottom</field>
|
|
</record>
|
|
</data>
|
|
</odoo>
|