Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
602 Vistas

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
Mejor respuesta

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 Mejor respuesta

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 .

Publicaciones relacionadas Respuestas Vistas Actividad
2
ago 25
187
1
ago 25
756
2
ago 25
347
3
ago 25
1105
1
ago 25
637