Commit Graph

1245 Commits

Author SHA1 Message Date
Pedro M. Baeza
c98da0d121 [FIX] account_payment_purchase: Don't propagate empty payment mode
Steps to reproduce the problem:

- Have a partner without payment mode.
- Create a PO with such partner.
- No payment mode is filled.
- Now fill the payment mode in the partner.
- Create the invoice for the PO.

Current behavior:

The invoice has empty payment mode.

Expected behavior:

The invoice has the partner payment mode. Someone may think that having
no payment mode in the PO may prevail over the partner's payment mode,
or even their flows may consist in empyting the payment mode in the PO
for not binding it with anything yet, but that strategy has more holes
than the one implemented here, as the flow presented proves.

You can then use another one like having an extra payment mode
"Undetermined" or similar for doing such classification as a more
resilient strategy.

It includes a regression test that fails before the change and now is
correct.

TT38608
2024-09-19 11:47:23 +02:00
OCA-git-bot
aa84fb2432 [BOT] post-merge updates 2024-09-02 14:41:14 +00:00
OCA-git-bot
171510e8df Merge PR #1341 into 15.0
Signed-off-by pedrobaeza
2024-09-02 14:36:49 +00:00
Pedro M. Baeza
26b258a83b [IMP] account_payment_order_grouped_output: Maturity date in grouped moves
For propagating maturity dates from the individual payment moves to the
grouped ones, 2 actions are taken:

- For the counterpart that will neutralize each payment, we put the
  maturity date according to the same logic as the payment one.
- For the grouped AR/AP, we put the first payment date  of all the
  grouped payments, as all of them should be the same after grouping
  by this criterium in _prepare_trf_moves.

TT50671
2024-09-02 15:20:05 +02:00
mymage
323fde8c3e Translated using Weblate (Italian)
Currently translated at 31.7% (54 of 170 strings)

Translation: bank-payment-15.0/bank-payment-15.0-account_banking_pain_base
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-15-0/bank-payment-15-0-account_banking_pain_base/it/
2024-08-31 12:06:41 +00:00
OCA-git-bot
dda1dfa2ae [BOT] post-merge updates 2024-07-25 12:25:16 +00:00
OCA-git-bot
615cb1264d Merge PR #1323 into 15.0
Signed-off-by pedrobaeza
2024-07-25 12:20:36 +00:00
Víctor Martínez
0669c26a54 [IMP] account_banking_mandate: Set sequence when creating a mandate with empty mandate reference
TT50317
2024-07-25 13:54:38 +02:00
Weblate
d5f77861d9 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/
2024-07-08 11:26:30 +00:00
OCA-git-bot
f065dbd4ec [BOT] post-merge updates 2024-07-08 11:26:20 +00:00
oca-ci
1af930d251 [UPD] Update account_payment_order.pot 2024-07-08 11:23:03 +00:00
OCA-git-bot
2e4fb0f3d9 Merge PR #1309 into 15.0
Signed-off-by pedrobaeza
2024-07-08 11:19:53 +00:00
Víctor Martínez
80b99acc2c [IMP] account_payment_order*: Define the correct date in the files that are generated.
Compatibility with https://github.com/OCA/bank-payment/pull/1297

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-08 12:21:30 +02:00
Weblate
ba888befcf 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/
2024-06-28 16:34:09 +00:00
OCA-git-bot
cd222535e0 [BOT] post-merge updates 2024-06-28 16:34:02 +00:00
oca-ci
aa26733aa7 [UPD] Update account_payment_order.pot 2024-06-28 16:30:28 +00:00
OCA-git-bot
53e9d6f823 Merge PR #1297 into 15.0
Signed-off-by pedrobaeza
2024-06-28 16:27:21 +00:00
OCA-git-bot
35527e313c [BOT] post-merge updates 2024-06-19 09:43:02 +00:00
OCA-git-bot
d871816aa3 Merge PR #1299 into 15.0
Signed-off-by pedrobaeza
2024-06-19 09:36:27 +00:00
Víctor Martínez
8409f7c640 [FIX] 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 09:14:15 +02:00
Weblate
423619633c 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/
2024-06-18 15:33:11 +00:00
OCA-git-bot
061c2a76ca [BOT] post-merge updates 2024-06-18 15:32:25 +00:00
oca-ci
5f95204af5 [UPD] Update account_payment_order.pot 2024-06-18 15:28:55 +00:00
OCA-git-bot
265b44ebab Merge PR #1296 into 15.0
Signed-off-by pedrobaeza
2024-06-18 15:25:37 +00:00
Víctor Martínez
2526b93059 [IMP] account_payment_order: Move Payments (from Payment line form view) to a more appropriate (and readable) place 2024-06-18 08:05:16 +02:00
Víctor Martínez
cffe2f32d2 [IMP] account_payment_order: Prevent Payment Date from being defined in transactions to avoid confusion.
It is appropriate not to allow Payment Date to be defined in the transactions because the
'Confirm Payments' process will re-define
2024-06-18 08:05:16 +02:00
Víctor Martínez
074e6769b8 [IMP] account_payment_order: Integrate Default Tranfer Move Date option (now_date_maturity)
Related to https://github.com/OCA/bank-payment/pull/1289

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-06-17 17:23:31 +02:00
Weblate
ada23ab61c 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/
2024-06-17 11:45:23 +00:00
OCA-git-bot
54d77c1e0a [BOT] post-merge updates 2024-06-17 11:43:21 +00:00
oca-ci
7e7839c88b [UPD] Update account_payment_order.pot 2024-06-17 11:39:45 +00:00
OCA-git-bot
6d8f1cdb85 Merge PR #1289 into 15.0
Signed-off-by pedrobaeza
2024-06-17 11:35:59 +00:00
Víctor Martínez
5e283b8c33 [IMP] account_payment_order: Add Transfer moves dates configuration
Options:
- Payment date: Set the payment date in the transfer entry (similar to the existing so far).
- Now + Payment date as due date: Set now date the payment date in the transfer entry and t
he corresponding due date in journal items.

TT49582
2024-06-17 08:22:59 +02:00
OCA-git-bot
87c513ba11 [BOT] post-merge updates 2024-05-27 17:32:09 +00:00
OCA-git-bot
3b07041841 Merge PR #1247 into 15.0
Signed-off-by pedrobaeza
2024-05-27 17:28:47 +00:00
Pedro M. Baeza
b4a5b8de63 [OU-FIX] account_payment_order: Don't execute on DB cleaned up
If v14 database has been cleaned up before migrating to v15, these
scripts will fail, as the checks are not taking into account this
possibility. This commit adds such possibility.
2024-05-24 09:13:35 +02:00
Rodrigo Macedo
cc2164e7de Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (8 of 8 strings)

Translation: bank-payment-15.0/bank-payment-15.0-account_payment_purchase
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-15-0/bank-payment-15-0-account_payment_purchase/pt_BR/
2024-05-17 20:37:02 +00:00
OCA-git-bot
ed21feafcc [BOT] post-merge updates 2024-05-17 07:40:49 +00:00
OCA-git-bot
f5d80f9e1b Merge PR #1259 into 15.0
Signed-off-by pedrobaeza
2024-05-17 07:34:42 +00:00
Víctor Martínez
0b2a4cbc75 [IMP] account_banking_mandate_contact: Improve tests (remove mock)
Changes done:
- Add _get_payment_method_information() compatibility from account_banking_mandate
- Remove mock from account_banking_mandate_contact tests
2024-05-15 08:54:08 +02:00
OCA-git-bot
f698e1c709 [BOT] post-merge updates 2024-05-06 19:12:58 +00:00
OCA-git-bot
e2011d7166 Merge PR #1263 into 15.0
Signed-off-by pedrobaeza
2024-05-06 19:09:33 +00:00
sygel
69ecc91e55 [IMP] account_banking_sepa_direct_debit: increase report signature space 2024-05-06 15:50:56 +02:00
mymage
d218369727 Translated using Weblate (Italian)
Currently translated at 78.3% (83 of 106 strings)

Translation: bank-payment-15.0/bank-payment-15.0-account_banking_mandate
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-15-0/bank-payment-15-0-account_banking_mandate/it/
2024-05-03 14:39:14 +00:00
oca-git-bot
fd555e5ccd [IMP] update dotfiles 2024-05-01 17:50:36 +00:00
Víctor Martínez
05a1eec0a1 [FIX] account_payment_purchase: Leave the partner_bank_id field empty in purchase invoice process
Example use case:
- Create a Supplier and set a bank account.
- Creating a purchase order with a Supplier Bank Account
- The payment method of the payment method must have the Bank Account Required box unchecked.
- Confirm the purchase order and create the invoice with the "Create Bill" button.
- The invoice must have the bank account empty.

TT46502
2024-04-04 14:54:06 +02:00
Ivorra78
08bafd97ce Translated using Weblate (Spanish)
Currently translated at 100.0% (81 of 81 strings)

Translation: bank-payment-15.0/bank-payment-15.0-account_banking_sepa_direct_debit
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-15-0/bank-payment-15-0-account_banking_sepa_direct_debit/es/
2024-03-26 20:35:26 +00:00
Weblate
972b200886 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_banking_sepa_direct_debit
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-15-0/bank-payment-15-0-account_banking_sepa_direct_debit/
2024-03-25 18:32:03 +00:00
Ivorra78
7ca5ced807 Translated using Weblate (Spanish)
Currently translated at 100.0% (210 of 210 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/
2024-03-25 18:32:03 +00:00
OCA-git-bot
ee59f61d3c [BOT] post-merge updates 2024-03-25 18:31:48 +00:00
oca-ci
7f73cdd72d [UPD] Update account_banking_sepa_direct_debit.pot 2024-03-25 18:28:09 +00:00