- I created a new module for target
- I need to add a button beside the new button
- I tried butting it inside <header> tag it did not work
- I tried using js file it did not work
- I tried using the studio also did not work
<record id="view_employee_target_list" model="ir.ui.view"> <field name="name">employee.target.list</field> <field name="model">employee.target</field> <field name="arch" type="xml"> <tree js_class="employee_target_list"> <field name="employee_id" string="Employee" readonly="1"/> <field name="team_id" string="Sales Team" readonly="1"/> <field name="year" string="Year" required="1"/> <field name="target_amount" /> <field name="achieved_amount" string="Achieved Amount" readonly="1"/> <field name="commission_percentage"/> <field name="progress_percentage" widget="progressbar" string="Progress"/> <button name="action_recompute_achieved_amount" string="Recompute Achieved Amount" type="object" class="oe_highlight"/> </tree> </field> </record>