I have a requirement, suppose there is 2 table
table_A
field_1 = char()
field_2 = many2one('table_B')
table_b
name= char()
if i click on field_2 of table_A then it call name_search function of table_B, In name search i need value of that record ID of table_A
My requirement is i need customize name_search to return value based on the value of field_1 of table_A
Is this possible to do in odoo?
When should you use name_search method: https://goo.gl/7PHhPP