Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
1446 Tampilan

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


Avatar
Buang
Jawaban Terbai

Hi Raoufsirat,

You can achive this using

Odoo ORM method

default_get()

Thanks

Avatar
Buang
Penulis

thank youooooooooooooooo

Post Terkait Replies Tampilan Aktivitas
2
Agu 23
5764
4
Nov 15
6088
2
Jan 24
12737
1
Mar 15
3675
2
Jun 24
1645