CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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
<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.
this part calls an window actions.An action opens a window and defines which view to show.
About This Community
Odoo Training Center
|Asked: 3/3/15, 2:31 AM|
|Seen: 473 times|
|Last updated: 3/16/15, 8:10 AM|