Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
1403 Widoki

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!


Awatar
Odrzuć
Autor Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
cze 24
1903
2
lip 25
2061
0
mar 25
1142
4
paź 24
1481
1
lip 24
2007