İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
1481 Görünümler

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
Vazgeç
En İyi Yanıt

Hi Raoufsirat,

You can achive this using

Odoo ORM method

default_get()

Thanks

Avatar
Vazgeç
Üretici

thank youooooooooooooooo

İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Ağu 23
5818
4
Kas 15
6112
2
Oca 24
12761
1
Mar 15
3701
2
Haz 24
1680