Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
706 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Autor Nejlepší odpověď

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

Avatar
Zrušit
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 Odpovědi Zobrazení Aktivita
2
srp 25
427
1
srp 25
216
1
srp 25
831
0
srp 25
121
1
srp 25
1205