xml - Add button inside a notebook tab -
how add button inside notebook tab before one2many field? example, want add button in notebook tab before one2many field.
hello gautam bothra,
solution
try below code,
<page string="tab_name"> <group> <button type="object" name="python_method_name" string="button_name" /> <field name="one2many_field_name"> <tree> <field name="name" string="name" /> </tree> </field> </group> </page>
if query comment please.
hope answer helpful.
Comments
Post a Comment