콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

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
5856
4
11월 15
6199
2
1월 24
12836
1
3월 15
3839
2
6월 24
1747