تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
4556 أدوات العرض

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

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
يوليو 17
3770
2
سبتمبر 15
9088
1
يوليو 15
6671
name_get تم الحل
2
يوليو 24
9855
1
أبريل 19
2652