跳至內容
選單
此問題已被標幟
1 回覆
1456 瀏覽次數

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
3月 22
1473
0
3月 19
3450
2
12月 18
3528
1
9月 18
3156
0
9月 24
1423