This question has been flagged
1 Reply
3751 Views

Hi All,

please guide me with this questions

<button name="set_open" string="Re-open project" type="object">

<button name="set_open" string="Re-open project" type="action">

Here button type="action",    button type="object"   ,what is the difference between these two ?when we can use this action and object ?

why we used  <field name="arch" type="xml">   ,here what is arch meaing and how we can define this tag?

why we use      this tag exactly what is the definition and meaning of this tag <record model="ir.ui.view" id="view_id">,                 exact  usage of this model 'ir.actions.act_window',Give a proper definition in a simple way 

 

 

Avatar
Discard
Best Answer

<field name="arch" type="xml">

It will append or edit the content of this tag. If this tag has some attributes, it will look in the parent view for a node with matching attributes (except position).

<record model="ir.ui.view" id="view_id">

This part calls the view for the object.

The views are used to display records of an object to the user.

'ir.actions.act_window':

this part calls an window actions.An action opens a window and defines which view to show.

Avatar
Discard
Author

Thanks Vasanth for your replay.......

ok...All the best