Include field from other Objects of the same Module

Hello.

I’m making a new Module But I have 1 trouble.

I have 3 Objects in my Module. Then I want to include the rowid of one object in other object.

I took as an example the societe dropdown list:

integer:Societe:societe/class/societe.class.php:1:status=1 AND entity IN (SHARED_ENTITIES)

So I made something like this:

integer:objectOfMyModule:custom/myModule/class/objectOfMyModule.class.php:1:status=1

I want to display the label as in the same case that Societe.

Is there a way to make it as societe? or Do I have to edit o make a new function for fetch data?

1 Like

integer: objectOfMyModule:/custom/myModule/class/objectOfMyModule.class.php:1:(status:=:1)
that should be work