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

Hi everyone ! 

I'm on the last version of odoo community, running in docker.

I'm encountering an issue while trying to activate the "Wire Transfer" option within Payment Providers in Odoo. Whenever I attempt to enable it, I receive the following error message:

"Invalid Operation: You can't have two payment method lines of the same payment type (inbound) and with the same name (Manual) on a single journal."

I believe I might have inadvertently misconfigured this module while making adjustments. I've tried uninstalling and reinstalling the Wire Bank application, but unfortunately, it hasn't resolved the issue.

It seems there might be a duplication problem within the journal (accounting module), but unfortunately, access to it isn't available in the free version of Odoo. Could someone please provide some guidance on how to resolve this issue?

Any help would be greatly appreciated!

Thank you!


Avatar
Descartar
Autor Mejor respuesta

Thanks for reply, 

I dont have custom code. I find that in the database : 

--
-- Data for Name: account_payment_method; Type: TABLE DATA; Schema: public; Owner: -
--

COPY public.account_payment_method (id, create_uid, write_uid, code, payment_type, name, create_date, write_date) FROM stdin;
1 1 1 manual inbound ​{"en_US": "Manual", "fr_FR": "Manuel"} 2024-03-17 03:08:19.908659 2024-03-17 03:08:19.908659
2 1 1 manual outbound ​{"en_US": "Manual", "fr_FR": "Manuel"} 2024-03-17 03:08:19.908659 2024-03-17 03:08:19.908659
\.

--
-- Data for Name: account_payment_method_line; Type: TABLE DATA; Schema: public; Owner: -
--

COPY public.account_payment_method_line (id, sequence, payment_method_id, payment_account_id, journal_id, create_uid, write_uid, name, create_date, write_date, payment_provider_id) FROM stdin;
1 10 1 \N 6 1 1 Manual 2024-03-17 03:08:36.43771 2024-03-17 03:08:36.43771 \N
2 10 1 \N 7 1 1 Manual 2024-03-17 03:08:36.43771 2024-03-17 03:08:36.43771 \N
3 10 2 \N 6 1 1 Manual 2024-03-17 03:08:36.43771 2024-03-17 03:08:36.43771 \N
4 10 2 \N 7 1 1 Manual 2024-03-17 03:08:36.43771 2024-03-17 03:08:36.43771 \N
5 10 1 \N 6 2 2 Manuel 2024-03-19 04:10:16.902555 2024-03-19 04:10:16.902555 \N
\.

I think the probme is here, but idk where...

Avatar
Descartar
Mejor respuesta

Hi,
You have to check your db and see along with your custom codes to understands what exactly going on. 

The above message is raised when multiple records in account.payment.method with same name, journal and payment type is created.

Thanks

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
jun 24
1868
2
jul 25
2019
0
mar 25
1122
4
oct 24
1446
1
jul 24
1961