Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

What is the usage of these tags and definitions in odoo

By
Odoo
on 3/3/15, 2:31 AM 324 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 

 

 

2

Vasanth

--Vasanth--
3458
| 5 3 8
Pondicherry, India
--Vasanth--
Vasanth
On 3/3/15, 2:51 AM

<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.

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

Odoo
on 3/3/15, 2:58 AM

ok...All the best

Vasanth
on 3/3/15, 3:00 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 3/3/15, 2:31 AM
Seen: 324 times
Last updated: 3/16/15, 8:10 AM