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

i'm a new with odoo studio , i created new model , places field for customer , field many2one bring all sales order number.
i want to able this field to show only the sales order for the customer i selected in customer filed 

what can i do ?

الصورة الرمزية
إهمال
الكاتب

thanks , i try to ost as you mentioned

[('partner_id','=',x_studio_field_XApDC)]

which is x_studio_field_XApDC field of customer name , but still not work

أفضل إجابة

i have the Same problem, 

did any one get it done in odoo studio?

الصورة الرمزية
إهمال
أفضل إجابة

Dear ,

you can make something like by add domain


[('partner_id','=',your_customer_field)]

where the partner_id refer to the customer on sales order. and  your_customer_field  refer to your customer field.

Add above domain in your sale order relation field.

I hope I helped you...

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يوليو 25
1479
2
مارس 25
1696
0
فبراير 25
1334
0
فبراير 25
1562
0
فبراير 25
1464