Commit Graph

227 Commits

Author SHA1 Message Date
OCA-git-bot
e5c4e7d689 [BOT] post-merge updates 2024-08-27 21:20:50 +00:00
Stéphane Bidoul
a3aed62583 [FIX] account_payment_order: allow multiple payment lines without move line 2024-08-27 22:13:16 +02:00
OCA-git-bot
f498d2b72f [BOT] post-merge updates 2024-08-17 10:40:24 +00:00
Stéphane Bidoul
a8319e3ce5 [FIX] account_payment_order: use payment_reference if present for out payments
When a payment reference (field `payment_reference`) is provided on the vendor bill, it should be used in priority over the vendor bill number (field `ref`).

One reason is that the `ref` field is different for each invoice of the same supplier (it is used in Odoo's standard duplicate warning),
but the payment reference maybe the same for all payments to the
same supplier. For instance some suppliers request that the customer
id is used on the payment communication and it is the same on
all their invoices.

Another reason is that some supplier use a structured payment communication scheme, and that one only makes sense in
the payment_reference field.
2024-08-17 12:27:28 +02:00
Weblate
b6a3937ce8 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: bank-payment-16.0/bank-payment-16.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_order/
2024-07-16 08:44:25 +00:00
OCA-git-bot
b338bb4b42 [BOT] post-merge updates 2024-07-16 08:44:16 +00:00
oca-ci
173b6a9cc8 [UPD] Update account_payment_order.pot 2024-07-16 08:40:29 +00:00
OCA-git-bot
b96fcf12c1 Merge PR #1315 into 16.0
Signed-off-by pedrobaeza
2024-07-16 08:37:02 +00:00
Weblate
4d3c0765e4 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: bank-payment-16.0/bank-payment-16.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_order/
2024-07-15 07:30:40 +00:00
OCA-git-bot
0826f46fe7 [BOT] post-merge updates 2024-07-15 07:30:33 +00:00
oca-ci
ba00647552 [UPD] Update account_payment_order.pot 2024-07-15 07:26:55 +00:00
sbejaoui
2b75096e78 [FIX] account_payment_order: add missing option "structured" to payment line ref type
The payment line reference type takes its value from the invoice reference
type, and both fields must have the same options.
The missing option "structured" causes a bug during payment creation.

the test is modified to be able to reproduce the problem.
2024-07-15 09:23:07 +02:00
Víctor Martínez
a8867f4062 [IMP] account_payment_order*: Define the correct date in the files that are generated.
Compatibility with https://github.com/OCA/bank-payment/pull/1304

The payment (account.payment) and the account entry (account.move) are defined with today's date,
but the "important" date is the date of the line, therefore the payment_line_date field is created.

The modules account_banking_sepa_sepa_direct_debit + account_banking_sepa_credit_transfer
to use the payment_line_date field.

TT49988
2024-07-10 16:33:03 +02:00
Simone Rubino
0ca46be1bd Translated using Weblate (Italian)
Currently translated at 5.5% (12 of 218 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_order/it/
2024-07-02 14:47:28 +00:00
OCA-git-bot
1477376824 [BOT] post-merge updates 2024-07-01 20:46:17 +00:00
OCA-git-bot
9bd17d0738 Merge PR #1304 into 16.0
Signed-off-by pedrobaeza
2024-07-01 20:42:17 +00:00
OCA-git-bot
7d56033848 [BOT] post-merge updates 2024-07-01 17:48:46 +00:00
OCA-git-bot
862cd4e154 Merge PR #1301 into 16.0
Signed-off-by pedrobaeza
2024-07-01 17:44:57 +00:00
Víctor Martínez
337f6bf370 [IMP] account_payment_order: Add Transfer moves dates
In v13 the existing behavior was defined with today's date the Transfer Move, therefore, we define
that behavior by default without configuration since it is the expected behavior.

https://github.com/OCA/bank-payment/pull/805/files

TT49582
2024-07-01 08:34:40 +02:00
jakobkrabbe
b9d7a1e340 Translated using Weblate (Swedish)
Currently translated at 100.0% (218 of 218 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_order/sv/
2024-06-19 11:36:59 +00:00
Víctor Martínez
8b8e6ceff9 [IMP] account_payment_order: Apply readonly=True to Payment Date field of transactions
Transactions (payment_line_ids) are readonly=True when the payment order is confirmed
2024-06-19 12:56:19 +02:00
OCA-git-bot
657d187692 [BOT] post-merge updates 2024-06-03 15:13:06 +00:00
Pedro M. Baeza
73872800c3 [IMP] account_payment_order: Mark invoices in a payment order as in payment
Odoo core already includes a mechanism, only activated in enterprise,
to mark invoices reconciled against a payment as "In payment", not as
"Paid", and then when the bank reconciliation is done, passed to "Paid".

As we already refactored the payment order transfer entries generation
to be done by payments, the only missing bits is to override the method
that returns the payment state to put.

We have limited this new payment state though to those invoices that
are part of a payment order, not all including those which were paid
pressing the button "Register payment", as that's out of the scope
of this module.

TT49386
2024-05-28 14:08:02 +02:00
Sergio Ariel Ameghino
3289920816 Translated using Weblate (Spanish)
Currently translated at 100.0% (218 of 218 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_order/es/
2024-05-12 20:37:30 +00:00
Weblate
c34e97c8fb Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: bank-payment-16.0/bank-payment-16.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_order/
2024-04-24 07:49:44 +00:00
OCA-git-bot
82c495481b [BOT] post-merge updates 2024-04-24 07:49:36 +00:00
oca-ci
c979d2f44f [UPD] Update account_payment_order.pot 2024-04-24 07:45:41 +00:00
Alejandro Ji Cheung
bff6d34936 [IMP] account_payment_order: adds restriction for duplicated move lines in payment order 2024-04-24 08:56:00 +02:00
Ivorra78
adbf6ea91f Translated using Weblate (Spanish)
Currently translated at 100.0% (217 of 217 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_order/es/
2024-04-23 00:03:11 +00:00
Weblate
521f5b8625 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: bank-payment-16.0/bank-payment-16.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_order/
2024-04-20 09:26:38 +00:00
OCA-git-bot
0a16cf7430 [BOT] post-merge updates 2024-04-20 09:26:18 +00:00
oca-ci
7059343c71 [UPD] Update account_payment_order.pot 2024-04-20 09:22:33 +00:00
Luc De Meyer
d05aba74c2 [IMP] update payment reference on open payment order
This commits adds the possibility to update the payment reference on a
payment transaction before generating XML file.
2024-04-20 09:33:04 +02:00
Weblate
c7dbfef71c Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: bank-payment-16.0/bank-payment-16.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_order/
2024-04-19 14:57:15 +00:00
OCA-git-bot
cbe580f818 [BOT] post-merge updates 2024-04-19 14:56:53 +00:00
oca-ci
f283a2ffe0 [UPD] Update account_payment_order.pot 2024-04-19 14:53:12 +00:00
Luc De Meyer
7c7fbfa999 [FIX]account_payment_order transfer journal
The transfer journal functionality has been broken by commit
65a19492a8

This fix adds transfer journal support to this constraint.
2024-04-15 00:03:26 +02:00
Luc De Meyer
73d857295f [IMP] integrate transfer journal option into account_payment_order 2024-04-14 19:52:49 +02:00
Ivorra78
3bf5c869b0 Translated using Weblate (Spanish)
Currently translated at 100.0% (211 of 211 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_order/es/
2024-03-27 15:37:24 +00:00
Weblate
9dc761d5fe Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: bank-payment-16.0/bank-payment-16.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_order/
2024-03-01 17:38:07 +00:00
OCA-git-bot
59792d7725 [BOT] post-merge updates 2024-03-01 17:37:49 +00:00
oca-ci
629aed3e7e [UPD] Update account_payment_order.pot 2024-03-01 17:34:30 +00:00
Víctor Martínez
ef05873365 [IMP] account_payment_order: Display a message with the archived bank accounts
TT47789
2024-03-01 17:36:52 +01:00
Weblate
ab584e0765 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: bank-payment-16.0/bank-payment-16.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_order/
2024-02-18 14:01:21 +00:00
OCA-git-bot
886ea3418a [BOT] post-merge updates 2024-02-18 14:01:06 +00:00
oca-ci
fb5f2b3cb8 [UPD] Update account_payment_order.pot 2024-02-18 13:57:44 +00:00
Pedro M. Baeza
ca9135e361 [IMP] account_payment_order: No error on unknown payment method codes
Since v14, the tool for changing the target transfer account is to
create new payment methods, and put a method line in the journal with
such account.

Thus, there will be "fake" payment methods with no export handler
with the only goal of having a different target account.

Raising an error on such methods when finishing the payment order, forcing
to add custom code for returning (False, False), is too much, so better
to simply return that by default and don't block in these cases.

TT47723
2024-02-16 17:21:43 +01:00
OCA-git-bot
8ce292ac62 [BOT] post-merge updates 2024-01-30 08:16:49 +00:00
OCA-git-bot
0a3854e22b Merge PR #1169 into 16.0
Signed-off-by pedrobaeza
2024-01-30 08:13:34 +00:00
OCA-git-bot
9f3f2cdd15 [BOT] post-merge updates 2023-11-27 09:25:36 +00:00