Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
2013 Vues

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 ?



Avatar
Ignorer
Meilleure réponse

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

Avatar
Ignorer
Publications associées Réponses Vues Activité
1
mai 24
1572
4
mai 25
2071
2
mai 25
5389
1
mars 25
1314
4
mars 25
4088