Commit Graph

335 Commits

Author SHA1 Message Date
Alexis de Lattre
2eecdcda41 Creation/Modification of bank info only for Account Payment group 2024-02-26 22:06:40 +01:00
Jose Maria Alzaga
3b67901cc4 Remove internal_type=other restriction for transfer account (#311) 2024-02-26 22:06:40 +01:00
Adrien Peiffer (ACSONE)
0ccd35cf4b [FIX] account_payment_order: Use 'index' instead of 'select' 2024-02-26 22:06:40 +01:00
Alexis de Lattre
7444be2bd5 Port almost all modules to v10 (#305)
Port almost all modules to v10

* Update to EPC Rulebook v9.2 that start to apply on 2016-11-20 (bug #300)
2024-02-26 22:06:40 +01:00
Yannick Vaucher
f1238260ba Reactivate company rules in account_payment_order 2024-02-26 22:06:40 +01:00
Stéphane Bidoul (ACSONE)
c9d0a51b45 [IMP] set partner on offsetting account move line if possible
fixes #277
2024-02-26 22:06:40 +01:00
Alexis de Lattre
ec57ebd3ed [FIX] account_payment_order: 4 things:
* Fix crash when selecting a customer that has a direct debit payment mode but no mandate
* Hide many fields when payment_order_ok is False on a payment_mode
* Fix payment line communication when the move line is not linked to an invoice (problem found when porting donation_debit_debit to v9)
* For the communication field, if self.move_id.ref is False, fallback on self.move_id.name
2024-02-26 22:06:40 +01:00
Stéphane Bidoul (ACSONE)
e042f4cb48 [FIX+IMP] account_payment_order: 2 more things:
* IMP: extensibility of _prepare_move

  Pass the list of bank lines to _prepare_move so it is possible to customize the move (eg it's name) based on the lines being paid.

* FIX: payment order: add missing onchange dependencies in move selection wizard
2024-02-26 22:06:39 +01:00
Yannick Vaucher
ded9f155a4 Move the account_payment_mode ir.rule in account_payment_mode module 2024-02-26 22:06:39 +01:00
Pedro M. Baeza
fbb5e544b8 [IMP] account_payment_order: Remove useless migration script 2024-02-26 22:06:39 +01:00
Alexis de Lattre
714aa03bbf Add support for multi-currency in the generation of the account move.
Take into account all the remaining remarks of Frederic Clementi dated May 30:
- see multi-currency amounts in the wizard to add transaction lines
- add help msg on bank payment lines
2024-02-26 22:06:39 +01:00
Stéphane Bidoul
e8a1881305 [FIX+IMP] account_payment_order: 2 things:
* IMP: prevent deleting a move-line that is linked to a payment order line
* FIX: better filtering of move lines already included in open payment order
2024-02-26 22:06:39 +01:00
Alexis de Lattre
57042c58ff Start to port bank-payment to v9 (with a lot of improvements) during the Sorrento Code sprint 2016
Improvements include:
- full re-organisation of modules and big re-organisation of the code
- simplification of the code related to the fact that support for direct debit is now in t
he base module, not added by an optional module account_direct_debit (module was removed)
- new design of the wizard to select move lines to pay
- support for non-SEPA file transfer-
- support for German direct debit SEPA files (fixes bug #129)
- remove workflow of payment.order
- add wizard of selection of move lines to pay
2024-02-26 22:06:39 +01:00
mymage
8e6e563dda Translated using Weblate (Italian)
Currently translated at 100.0% (47 of 47 strings)

Translation: bank-payment-17.0/bank-payment-17.0-account_payment_mode
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-17-0/bank-payment-17-0-account_payment_mode/it/
2024-02-13 09:42:26 +00:00
mymage
fbaa34548a Translated using Weblate (Italian)
Currently translated at 100.0% (37 of 37 strings)

Translation: bank-payment-17.0/bank-payment-17.0-account_payment_partner
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-17-0/bank-payment-17-0-account_payment_partner/it/
2024-02-13 09:42:26 +00:00
mymage
0b525ee6b1 Translated using Weblate (Italian)
Currently translated at 100.0% (47 of 47 strings)

Translation: bank-payment-17.0/bank-payment-17.0-account_payment_mode
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-17-0/bank-payment-17-0-account_payment_mode/it/
2024-02-04 20:36:12 +00:00
mymage
c5371ed66e Translated using Weblate (Italian)
Currently translated at 100.0% (4 of 4 strings)

Translation: bank-payment-17.0/bank-payment-17.0-account_payment_sale
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-17-0/bank-payment-17-0-account_payment_sale/it/
2024-02-04 20:36:12 +00:00
mymage
b09ead36ba Translated using Weblate (Italian)
Currently translated at 100.0% (8 of 8 strings)

Translation: bank-payment-17.0/bank-payment-17.0-account_payment_purchase
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-17-0/bank-payment-17-0-account_payment_purchase/it/
2024-02-04 20:36:11 +00:00
Weblate
7422bb04ab Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: bank-payment-17.0/bank-payment-17.0-account_payment_mode
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-17-0/bank-payment-17-0-account_payment_mode/
2024-02-03 19:51:34 +00:00
OCA-git-bot
edfefee0d9 [BOT] post-merge updates 2024-01-04 15:26:28 +00:00
OCA-git-bot
38e7956712 Merge PR #1206 into 17.0
Signed-off-by pedrobaeza
2024-01-04 15:24:08 +00:00
GuillemCForgeFlow
eee8c33159 [FIX]account_payment_purchase: return result from onchange and get properties with correct company 2024-01-04 10:21:29 +01:00
OCA-git-bot
7c04134f85 [BOT] post-merge updates 2023-12-13 07:39:20 +00:00
oca-ci
be6ec3928b [UPD] Update account_payment_purchase.pot 2023-12-13 07:36:49 +00:00
OCA-git-bot
21179276f7 Merge PR #1185 into 17.0
Signed-off-by pedrobaeza
2023-12-13 07:34:42 +00:00
David Ramia
f5cad36ca9 [MIG] account_payment_purchase: Migration to 17.0 2023-12-12 20:34:42 +01:00
David Ramia
4c76dc6527 [IMP] account_payment_purchase: pre-commit auto fixes 2023-12-12 20:08:15 +01:00
OCA-git-bot
f63ab8cc3e [BOT] post-merge updates 2023-12-11 20:55:11 +00:00
oca-ci
9d26d78f57 [UPD] Update account_payment_sale.pot 2023-12-11 20:52:35 +00:00
OCA-git-bot
dbc6b621f0 Merge PR #1186 into 17.0
Signed-off-by pedrobaeza
2023-12-11 20:50:31 +00:00
David Ramia
6d4af78f71 [MIG] account_payment_sale: Migration to 17.0 2023-11-26 20:28:23 +01:00
David Ramia
32e09ecb89 [IMP] account_payment_sale: pre-commit auto fixes 2023-11-26 20:28:23 +01:00
Alexis de Lattre
902041e766 account_payment_sale: remove unneeded code
Remove inherit of sale.advance.payment.inv: no need to inherit
_prepare_invoice_values() because it calls _prepare_invoice() from the
sale.order object
2023-11-26 20:28:23 +01:00
Alexis de Lattre
b1862a3605 account_payment_sale: payment_mode_id in sale.report 2023-11-26 20:28:23 +01:00
SodexisTeam
e10c26b62b [MIG] account_payment_sale: Migration to 16.0 2023-11-26 20:28:23 +01:00
manu
d4b2eadf17 [MIG]account_payment_sale: Migration to 15.0 2023-11-26 20:28:23 +01:00
Pedro M. Baeza
bdc37eae7f [FIX] account_payment_sale: Adapt tests to 18489012
The expected one is to not have partner bank set, as we don't want the
invoice is printed with such bank account forced.
2023-11-26 20:28:23 +01:00
Alexis de Lattre
74a758c9bd [MIG] account_payment_sale to 14.0 2023-11-26 20:28:23 +01:00
Carlos Dauden
6f96f10519 [FIX] account_payment_sale: Compatibility with account_banking_sepa_direct_debit
Steps to reproduce the problem:

- Set a payment mode with fixed journal and set the journal with bank account A.
- Create a sales order and put bank account B.
- Create invoice.
- Bank account in invoice is A instead of B.
2023-11-26 20:28:23 +01:00
OCA-git-bot
532a4c739e pre-commit update 2023-11-26 20:28:23 +01:00
Raf Ven
cf54f65fcf [MIG] account_payment_sale: Migration to 13.0 2023-11-26 20:28:23 +01:00
Raf Ven
653530ddf5 [IMP] account_payment_sale: black, isort 2023-11-26 20:28:23 +01:00
Laurent Mignon (ACSONE)
3e1f286ca0 [FIX] account_payment_sale: Propagate payment_mode to invoices created from a call to sale.action_invoice_create
Into the normal process of the invoice creation from a sale order by odoo, the onchange_partner is called. In some case, this call will reset the specific payment_mode and/or partner_bank_id set on the sale_order.
To fix this issue, we must override the _finalize_invoices method, take a snapshot of these values before the call to super and restore these values if these are changed.
fixes #536
2023-11-26 20:28:23 +01:00
Pedro M. Baeza
2f63cca7d2 [MIG] account_payment_sale: Adapt tests to v12 2023-11-26 20:28:23 +01:00
Mourad
50b6f50192 [MIG] account_payment_sale: migrate to 12.0 2023-11-26 20:28:22 +01:00
mpanarin
3c6f8722af [IMP] account_payment_sale: Add tests to increase coverage 2023-11-26 20:28:22 +01:00
Artem Kostyuk
6b07a2b6f0 [MIG] account_payment_sale: Migrate to 11.0 2023-11-26 20:28:22 +01:00
cubells
eec832ab3b [IMP] account_payment_sale: add payment mode to sale report 2023-11-26 20:28:22 +01:00
Alexis de Lattre
055dd400ad Port almost all modules to v10 (#305)
Port almost all modules to v10

* Update to EPC Rulebook v9.2 that start to apply on 2016-11-20 (bug #300)
2023-11-26 20:28:22 +01:00
Alexis de Lattre
165ef1b9bf [MIG] account_payment_sale: Migration to v9 2023-11-26 20:28:22 +01:00