Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
1395 Tampilan

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
Buang
Penulis Jawaban Terbai

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
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
0
Jun 24
1896
2
Jul 25
2049
0
Mar 25
1135
4
Okt 24
1477
1
Jul 24
1985