Skip to Content
Menu
This question has been flagged
2 Replies
7558 Views

Hi,

I want to get details of All Field of sales order table in Odoo, for mapping with another database.

Is there any way to retrieve all Column name(parameter) of any table in Odoo (for eg. for Sales order) Or can you give me a details link for Column?

Avatar
Discard
Best Answer

Hai ghanshyam,
You can use PGadmin to see all the fields of any table. first just install the PGadmin app.

Connect the app with PSQL.

Server Group -->   Servers -->    localhost(localhost:5432) --> Databases --> <Data base name> --> Schemas --> public --> tables -->sale_order


Click the above table icon. and get the table.


Table fields depend on your modules be installed.

Thanks

Avatar
Discard
Best Answer

Hi Ghanshyam,

If you wanted to get all fields of any object using script, you perform search for ir.model.fields with doamin [('model_id.model,'=',model_name)]

Avatar
Discard
Related Posts Replies Views Activity
1
Oct 24
183
2
Mar 24
686
2
Mar 24
1321
0
Sep 23
353
1
Sep 23
457