コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
1469 ビュー

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
5791
4
11月 15
6097
2
1月 24
12743
1
3月 15
3683
2
6月 24
1651