Jump to content


Custom Model for Dropdown (Set Relation)

custom model set relation

  • Please log in to reply
No replies to this topic

#1 Toro

Toro

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 23 March 2016 - 09:31 AM

I have a question. I already search the forum for my issues but I don't quite successful in understanding custom model for dropdown.

 

Table Sales --> id, no_so, id_services, id_organization, ..

Table Services --> id, name, ...

Table Organization --> id, name, ...

Table Project --> id, date, id_sales, ...

 

My problem is in table project. In table project, I want to show id_sales as dropdown, but I need not only no_so, but also id_services in name from table services and id_organization in name from table organization. I search the forum and perhaps I need to used custom model. But I don't quite get it. Anyone can help me? Thank you.







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users