跳至内容
菜单
此问题已终结

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
5766
4
11月 15
6090
2
1月 24
12741
1
3月 15
3676
2
6月 24
1645