Commit Graph

221 Commits

Author SHA1 Message Date
oca-ci
1e07c461a6 [UPD] Update account_payment_order.pot 2024-02-16 11:35:27 +00:00
OCA-git-bot
ca0ebb8030 Merge PR #1217 into 15.0
Signed-off-by pedrobaeza
2024-02-16 11:31:51 +00:00
OCA-git-bot
18f3fc35aa [BOT] post-merge updates 2024-02-14 16:30:24 +00:00
Pedro M. Baeza
d3cc4ec28d [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-13 13:31:19 +01:00
Luc De Meyer
e080a84edf [FIX] payment order: fix compute_partner_bank_id
Fix _compute_partner_bank_id on account.move.line.
The bank account number of then invoice was not selected when a supplier has
multiple bank account numbers and there is no payment mode set on the
vendor bill. This PR corrects this issue.
2023-11-06 10:00:33 +01:00
OCA-git-bot
6d6ab1e0f4 [BOT] post-merge updates 2023-11-05 10:05:54 +00:00
Luc De Meyer
f591233751 [IMP]grouped invoices: " - ".join in stead of "-".join 2023-11-05 10:56:44 +01:00
Weblate
4242317d92 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: bank-payment-15.0/bank-payment-15.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-15-0/bank-payment-15-0-account_payment_order/
2023-10-29 06:59:57 +00:00
oca-ci
d3000b363c [UPD] Update account_payment_order.pot 2023-10-27 21:17:29 +00:00
OCA-git-bot
d09fc4c84b [BOT] post-merge updates 2023-10-17 06:52:28 +00:00
josep-tecnativa
1c9703f53c [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.
2023-10-17 08:35:41 +02:00
josep-tecnativa
e063bddd97 [IMP] account_banking_mandate: test performance improvement
- Include context keys for avoiding mail operations overhead.
2023-10-17 08:35:41 +02:00
OCA-git-bot
acba9e1be9 [BOT] post-merge updates 2023-10-04 08:01:06 +00:00
Víctor Martínez
057483b9ea Revert "[FIX] account_payment_order: Add readonly=1 to prevent open move line in edit mode"
This reverts commit b579d5ef0e.
2023-10-04 09:48:10 +02:00
OCA-git-bot
4df66f26f0 [BOT] post-merge updates 2023-10-02 19:19:52 +00:00
Víctor Martínez
9252fbceb6 [IMP] account_payment_order: Add payment_ref field to account.payment tree and form views
Co-authored-by: luc-demeyer

TT45153
2023-10-02 17:17:47 +02:00
Víctor Martínez
84282d211f [FIX] account_payment_order: Define the value of the communication field correctly
- Purchases: Ref field from invoice always.
- Sales: Payment_ref or ref field from invoice.

TT45153
2023-10-02 17:17:47 +02:00
OCA-git-bot
0118b10a94 [BOT] post-merge updates 2023-09-22 15:09:26 +00:00
Víctor Martínez
b579d5ef0e [FIX] account_payment_order: Add readonly=1 to prevent open move line in edit mode
TT45211
2023-09-22 16:52:55 +02:00
Ivorra78
b93a890848 Translated using Weblate (Spanish)
Currently translated at 100.0% (209 of 209 strings)

Translation: bank-payment-15.0/bank-payment-15.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-15-0/bank-payment-15-0-account_payment_order/es/
2023-09-21 17:37:20 +00:00
Ivorra78
f593c32a4d Translated using Weblate (Spanish)
Currently translated at 98.5% (206 of 209 strings)

Translation: bank-payment-15.0/bank-payment-15.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-15-0/bank-payment-15-0-account_payment_order/es/
2023-09-20 20:03:06 +00:00
OCA-git-bot
22314960d6 [UPD] README.rst 2023-09-04 07:05:03 +00:00
OCA-git-bot
8200381d3a account_payment_order 15.0.2.0.6 2023-09-04 07:04:57 +00:00
Carlos Lopez
61d1711ff0 [FIX] account_payment_order: change result_payorder_ids to list to show action correctly 2023-09-04 08:57:57 +02:00
Weblate
4c316e8ebb Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: bank-payment-15.0/bank-payment-15.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-15-0/bank-payment-15-0-account_payment_order/
2023-09-03 19:33:40 +00:00
OCA-git-bot
71c9042210 [UPD] README.rst 2023-09-03 11:48:49 +00:00
OCA-git-bot
dcb5a4eba8 account_payment_order 15.0.2.0.5 2023-08-21 06:53:21 +00:00
oca-ci
49a66a9c83 [UPD] Update account_payment_order.pot 2023-08-21 06:49:05 +00:00
Pedro M. Baeza
f14ea80664 [FIX+IMP] account_payment_order: Better error messages on "Add to order"
- The filter for payment order lines should be applied after checking
  the lack of payment mode.
- Added message when the payment mode is not valid for payment orders.
- Added message specifying the payment order where the line is already
  present.

TT44762
2023-08-18 17:41:38 +02:00
OCA-git-bot
350d3f66ad account_payment_order 15.0.2.0.4 2023-07-31 18:36:07 +00:00
Ethan Hildick
00cabc5236 [FIX] account_payment_order: incorrect inbound partial reconciliations
- Also added float_compare to avoid possible rounding issues
2023-07-31 15:51:53 +02:00
Danny W. Adair
9b25d3d3a2 [FIX] account_payment_order: Grouped partial reconcile
When using a mode with "Group Transactions in Payment Orders"
in a payment order with multiple bills from the same supplier,
if e.g. the first bill's payment amount is reduced, the
reduction was applied to the last bill instead of the specified one.
2023-07-31 15:51:46 +02:00
OCA-git-bot
042c640372 account_payment_order 15.0.2.0.3 2023-07-24 12:24:52 +00:00
Víctor Martínez
4059b738f0 [IMP] account_payment_order: Add a custom message if the invoice does not have a payment method
The message will be displayed when trying to create a line of a payment order to better clarify the reason.

TT44551
2023-07-24 08:27:22 +02:00
Ivorra78
4579d5ec48 Translated using Weblate (Spanish)
Currently translated at 100.0% (207 of 207 strings)

Translation: bank-payment-15.0/bank-payment-15.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-15-0/bank-payment-15-0-account_payment_order/es/
2023-07-01 20:08:13 +00:00
Ivorra78
6a18a209a3 Translated using Weblate (Spanish)
Currently translated at 94.2% (195 of 207 strings)

Translation: bank-payment-15.0/bank-payment-15.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-15-0/bank-payment-15-0-account_payment_order/es/
2023-07-01 17:08:34 +00:00
Ivorra78
3870879378 Translated using Weblate (Spanish)
Currently translated at 93.7% (194 of 207 strings)

Translation: bank-payment-15.0/bank-payment-15.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-15-0/bank-payment-15-0-account_payment_order/es/
2023-06-28 18:08:17 +00:00
Jesarregui
02aafcb2f3 Translated using Weblate (Spanish)
Currently translated at 93.7% (194 of 207 strings)

Translation: bank-payment-15.0/bank-payment-15.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-15-0/bank-payment-15-0-account_payment_order/es/
2023-06-05 13:08:22 +00:00
OCA-git-bot
123ccdbf51 account_payment_order 15.0.2.0.2 2023-05-12 17:44:02 +00:00
Pedro M. Baeza
a87c68cdbb [FIX] account_payment_order: Set payment method line for account.payment
On v15+, a new model account.payment.method.line is introduced for
fine-graining the outstanding account, being `payment_method_id` a
related field referred to this new model, so we need to change the
previous approach to select the proper method line only if found. If not
found, it will be auto-selected by standard code.

TT43278
2023-05-11 20:44:13 +02:00
Weblate
a474ba8667 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: bank-payment-15.0/bank-payment-15.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-15-0/bank-payment-15-0-account_payment_order/
2023-04-18 09:50:14 +00:00
OCA-git-bot
a7823360c4 account_payment_order 15.0.2.0.1 2023-04-18 08:45:38 +00:00
oca-ci
be4b9ef4fd [UPD] Update account_payment_order.pot 2023-04-18 08:39:24 +00:00
Simon Gonzalez
d5822ee1e7 [IMP] account_payment_order: Concatenate all UserError messages
Gather all the errors to only show one with all the problem on the current debit order. This will avoid for the users to have to make multiple time the same process.
2023-04-18 08:22:28 +02:00
mymage
139ff68500 Translated using Weblate (Italian)
Currently translated at 5.3% (11 of 206 strings)

Translation: bank-payment-15.0/bank-payment-15.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-15-0/bank-payment-15-0-account_payment_order/it/
2023-03-30 15:22:40 +00:00
Miquel Raïch
d3b5e17d06 [OU-FIX] account_payment_order: refactor migration script 2023-03-09 16:51:22 +01:00
Weblate
cfcc848fbb Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: bank-payment-15.0/bank-payment-15.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-15-0/bank-payment-15-0-account_payment_order/
2023-03-04 18:39:42 +00:00
OCA-git-bot
75d65952b8 account_payment_order 15.0.2.0.0 2023-03-04 18:39:25 +00:00
oca-ci
92a89588fc [UPD] Update account_payment_order.pot 2023-03-04 18:34:34 +00:00
Pedro M. Baeza
ccad6d34a8 [FIX] account_payment_order: Do correctly the fix on tests
Previous patch by Alexis created a co-dependency between
account_payment_order and account_banking_sepa_direct_debit, which is
not correct.

This patch avoids such problem and fix properly the test, although
the utility of some of them is debatible.
2023-03-04 19:25:27 +01:00