Ir al contenido
Menú
Se marcó esta pregunta
257 Vistas
  1. I created a new module for target
  2. I need to add a button beside the new button 
  3. I tried butting it inside <header> tag it did not work
  4. I tried using js file it did not work
  5. 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>

Avatar
Descartar