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

I have created a field using studio in customer bank accounts called "Sort Code".  

(Vendor record, accounting tab)


(Click through to view bank accounts)

(Click through to the form view)


the problem i am having is when i go to payments. I went to a payment, and add a related field to the sort code. (partner_id.bank_ids.x_studio_sort_code).

If i change the Vendor Bank account field, the "sort code" field will not change. How can i set this up correctly so the correct sort code from the bank account line shows when another account number is selected?



อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

I think that partner_id.bank_ids.x_studio_sort_code will always get the (sort code from the) first bank account for the partner.

To get the sort code from the selected bank account, go direct to res.partner.bank.x_studio_sort_code

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
มี.ค. 22
1505
0
มี.ค. 19
3490
2
ธ.ค. 18
3561
1
ก.ย. 18
3180
0
ก.ย. 24
1458