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

Hi!
in odoo accounting, I have one company and multi branches, each branch should do the payment in different Banks. how to set the default bank for each branch which user can directly pay to related bank without selection from list of banks.

I make relation to 'res.bank', with 'res.company', like this: "     bank_account = fields.Many2one('res.bank', string='Bank Account', nullable=True)", and when I select the bank in company or branches, that bank should appears in the register payment wizard in the bank field. 

now when I select the bank in branch it don't appear in the wizard by default.

thank you


頭像
捨棄
最佳答案

Hi Raoufsirat,

You can achive this using

Odoo ORM method

default_get()

Thanks

頭像
捨棄
作者

thank youooooooooooooooo

相關帖文 回覆 瀏覽次數 活動
2
8月 23
5764
4
11月 15
6088
2
1月 24
12736
1
3月 15
3675
2
6月 24
1645