Skip to Content
Menú
This question has been flagged
1 Respondre
1459 Vistes

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
Descartar
Best Answer

Hi Raoufsirat,

You can achive this using

Odoo ORM method

default_get()

Thanks

Avatar
Descartar
Autor

thank youooooooooooooooo

Related Posts Respostes Vistes Activitat
2
d’ag. 23
5776
4
de nov. 15
6094
2
de gen. 24
12742
1
de març 15
3678
2
de juny 24
1648