Skip to Content
Menú
This question has been flagged
2 Respostes
658 Vistes

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.

Avatar
Descartar
Best Answer

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

Avatar
Descartar
Autor Best Answer

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

Avatar
Descartar
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 .

Related Posts Respostes Vistes Activitat
1
d’ag. 25
963
2
d’ag. 25
461
2
d’ag. 25
511
3
d’ag. 25
1338
1
d’ag. 25
740