Commit Graph

240 Commits

Author SHA1 Message Date
OCA-git-bot
8048b860e0 [BOT] post-merge updates 2024-09-20 06:47:13 +00:00
josep-tecnativa
7d9d5400fc [IMP] account_payment_order: test performance improvement
- Create setUpClass method
- Switch to setUpClass (if needed) for avoiding repeat the same setup for each test.
- Include context keys for avoiding mail operations overhead.
2024-09-19 10:43:10 +02:00
josep-tecnativa
8a3b280057 [IMP] account_banking_mandate: test performance improvement
- Include context keys for avoiding mail operations overhead.
2024-09-19 10:23:34 +02:00
OCA-git-bot
6165f87df2 [BOT] post-merge updates 2024-09-16 08:36:30 +00:00
OCA-git-bot
f82cd63e28 Merge PR #1346 into 16.0
Signed-off-by pedrobaeza
2024-09-16 08:32:54 +00:00
OCA-git-bot
58519ad962 [BOT] post-merge updates 2024-09-13 06:05:17 +00:00
Graeme Gellatly
9ffd86f0af [FIX] account_payment_order: Correct payment date 2024-09-13 09:10:37 +12:00
Weblate
9ac1db21fb 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-09-12 15:51:49 +00:00
OCA-git-bot
0fc6af3506 [BOT] post-merge updates 2024-09-12 15:51:41 +00:00
oca-ci
b2c5338bae [UPD] Update account_payment_order.pot 2024-09-12 15:47:21 +00:00
OCA-git-bot
5e627305ad Merge PR #1333 into 16.0
Signed-off-by adrienpeiffer
2024-09-12 15:43:51 +00:00
Pedro M. Baeza
7768143563 [FIX] account_payment_order: Assure partner bank account in payments
On certain v16 instances, although the partner bank account that is
being pre-set in the account.payment creation values dictionary:

https://github.com/OCA/bank-payment/blob/fc7783669f40d85/account_payment_order/models/account_payment_line.py#L206

it's being marked as dirty (it's a computed writable field), and thus,
being recomputed before being saved, getting an invalid value (on
direct debits, the company's bank account).

The triggers that lead to this situation are unknown due to the low
level where it's happening and the tons of interactions being taken in
place, so the best way to deal with this is to override the compute
method that computes this value, so even if the field is recomputed, it
gets the correct value.

Let's be pragmatic...

TT50804
2024-09-11 20:44:09 +02:00
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
Stéphane Bidoul
bd88cecd2f [IMP] account_payment_order: add button to view business document
Quick access to business document on payment lines.
2024-08-17 12:45:14 +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