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

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 Best Answer

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
Best Answer

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
Related Posts Respostes Vistes Activitat
0
de juny 24
1824
2
de jul. 25
1994
0
de març 25
1091
4
d’oct. 24
1424
1
de jul. 24
1950