Hi satish U can do this in 2ways by using selection field and many2one field. By using selection field u can create your own options in list menu. To access option list from other table use many2one.
In .py file
In xml file
<field name="my_item" widget="selection/"> <field name="erp_item" widget="selection/">
Remember widget is mandatory for man2one if u want to use it as a drop down list.
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
|Asked: 1/22/14, 2:08 AM|
|Seen: 3083 times|
|Last updated: 5/20/16, 12:24 PM|