Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
5552 มุมมอง

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...

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
Menu's with different default filter แก้ไขแล้ว
1
ก.ค. 25
1476
2
มี.ค. 25
1693
0
ก.พ. 25
1332
0
ก.พ. 25
1559
0
ก.พ. 25
1461