xml - Add button inside a notebook tab -


enter image description herehow 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

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -