跳至內容
選單
此問題已被標幟
1 回覆
2222 瀏覽次數

Hello everyone,

In odoo there's only two types of payement : Manual & Checks

I want to add a new method : Bill Of Exchange

And as you may know, Bills requires the bank account of the provider / partner

If you try to create a new payment, the partner's bank account field is visible only if payment method's code is "Manual" :

@api.model
def _get_method_codes_using_bank_account(self):
return ['manual']

I can add a new "account.payment.method.line" using xml data and the new method code to the returned list :

@api.model
def _get_method_codes_using_bank_account(self):
return ['manual', 'bills']


But I don't want to tweak and change the system behavior regarding the payment process


Any suggestion ? What do you think ?



頭像
捨棄
最佳答案

I want to add ABA payment method. Only manual option is there. Where do we configure other methods?

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
5月 24
1790
4
5月 25
2685
2
5月 25
6115
1
3月 25
1801
4
3月 25
4673