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

Hi guys

I am a Unity developer and like every single Unity dev we go here https://docs.unity3d.com/ScriptReference/GameObject.html to learn and use api's such as the GameObject class.

Is there a place like that for Odoo where I can look up an core add-on's members? Like this:

sale_line_id.order_id.validity_date

I can't seem to find out a source where I can find documentation that shows sale_line_id has a member order_id and so on.

Any ideas?

Thanks!

German

Avatar
Discard

Hi @Hazem

Very cool, thanks!

How do I see which members belong to sale_line_id? That part isn't quite clear.

And which belong to order_id?

So it looks like this: sale_line_id.order_id.validity_date

Thanks


UPDATE: Just learned sale_line_id is part of the Task model, see above for new question

Best Answer

Hi German

In odoo you can see all fields in specific page by enabling the developer mode > Click in the bug shown in the upper right of the screen > View Fields > this will show you all the fields involved in this module, this example for product page 


this is the main defination of the fields, to know the fields values you have to access the database :)

Avatar
Discard