Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
703 Widoki

Hello,


When I try to create a payment method, the system asks me to insert an image. When I do, I get the following error message:

"This payment method requires an accomplice; you must first activate a payment provider that supports this payment method."


When I try to modify an existing payment method, I get this message:


"L'opération ne peut pas être terminée : Missing required value for the field 'Code' (code). Model: 'Mode de paiement' (payment.method) - create/update: a mandatory field is not set - delete: another model requires the record being deleted, you can archive it instead"


Thank you for your help.

Awatar
Odrzuć
Najlepsza odpowiedź

To resolve this issue in Odoo, first go to Accounting > Configuration > Payment Providers, and make sure at least one payment provider (e.g. Bank, Stripe, PayPal) is enabled — this is required before a payment method can be used. Then, go to Accounting > Configuration > Payment Methods, and when creating or editing a payment method, ensure that all mandatory fields, especially the ‘Code’ field, are filled in correctly. If you attempt to delete a payment method and receive an error due to dependencies, you should archive the record instead by clicking the ‘Archive’ option from the action menu.

Yes, you're right, you should acitvate dev mode first to show the code field.

Regards, 

Appschef

Awatar
Odrzuć
Autor Najlepsza odpowiedź

It's okay, I fixed the problem, I had to activate developer mode to be able to display other invisible fields. Thank you.

Awatar
Odrzuć
Autor

hello,
Even after solving the problem, I noticed that the payment method is not complete in the odoo community version 18. There is only one type of active payment method, it is "manual payment". I have to install an add-on to configure other payment types: check, bill, cash?... if its true ,could you suggest an effective add-on?thanks .

Powiązane posty Odpowiedzi Widoki Czynność
2
sie 25
409
1
sie 25
207
1
sie 25
820
0
sie 25
112
1
sie 25
1187