Commit Graph

307 Commits

Author SHA1 Message Date
Yannick Vaucher
28c6364c84 Reactivate company rules in account_payment_order 2023-03-04 11:09:40 +01:00
Stéphane Bidoul (ACSONE)
c7b62075c2 [IMP] set partner on offsetting account move line if possible
fixes #277
2023-03-04 11:09:40 +01:00
Alexis de Lattre
da364295d1 [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
2023-03-04 11:09:40 +01:00
Stéphane Bidoul (ACSONE)
702fe99ac5 [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
2023-03-04 11:09:40 +01:00
Yannick Vaucher
4bfbcc4584 Move the account_payment_mode ir.rule in account_payment_mode module 2023-03-04 11:09:40 +01:00
Pedro M. Baeza
32f4d05a20 [IMP] account_payment_order: Remove useless migration script 2023-03-04 11:09:40 +01:00
Alexis de Lattre
4662104bd3 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
2023-03-04 11:09:40 +01:00
Stéphane Bidoul
1f24a20fb8 [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
2023-03-04 11:09:40 +01:00
Alexis de Lattre
5b8b35163e 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
2023-03-04 11:09:40 +01:00
Weblate
cd50a7f39f 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_mode
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_mode/
2023-03-03 12:47:19 +00:00
OCA-git-bot
afe2ad4f5a [UPD] addons table in README.md 2023-03-03 12:47:09 +00:00
OCA-git-bot
17a3411a78 account_payment_mode 16.0.1.1.0 2023-03-03 12:47:03 +00:00
oca-ci
86240e6d59 [UPD] Update account_payment_mode.pot 2023-03-03 12:43:49 +00:00
OCA-git-bot
e14d6ddefc Merge PR #1052 into 16.0
Signed-off-by pedrobaeza
2023-03-03 12:41:37 +00:00
Alexis de Lattre
0a68a44460 account_payment_mode: add sequence on payment mode
Currently, payment modes are ordered by name. With the introduction of a
sequence field on account.payment.mode, the user can now decide the
order.
2023-03-03 13:36:18 +01:00
OCA-git-bot
7333d91fc5 [UPD] addons table in README.md 2023-02-24 11:14:04 +00:00
OCA-git-bot
d3accbc1ff account_payment_partner 16.0.1.1.1 2023-02-24 11:13:59 +00:00
OCA-git-bot
3d6ee1eb97 Merge PR #1048 into 16.0
Signed-off-by pedrobaeza
2023-02-24 11:07:55 +00:00
Danny W. Adair
68a2624bed Add pre_init_hook to add computed columns
Add columns to avoid Memory error on an existing Odoo instance
with lots of data.

The payment_mode_id fields are introduced by this module and computed only
from each other or the also newly introduced supplier_payment_mode_id and
customer_payment_mode_id on res.partner, so they can stay NULL, nothing
to compute.
2023-02-24 11:10:17 +13:00
oca-git-bot
197052b876 [IMP] update dotfiles [ci skip] 2023-02-10 00:12:34 +01:00
Weblate
d59de8cb71 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_partner
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_partner/
2023-01-25 20:11:04 +00:00
OCA-git-bot
efdfd60fa9 [UPD] addons table in README.md 2023-01-25 20:10:56 +00:00
OCA-git-bot
ab97bc9f83 account_payment_partner 16.0.1.1.0 2023-01-25 20:10:51 +00:00
oca-ci
03e98fe9a0 [UPD] Update account_payment_partner.pot 2023-01-25 20:08:04 +00:00
OCA-git-bot
fcb054a1df Merge PR #1024 into 16.0
Signed-off-by pedrobaeza
2023-01-25 20:05:33 +00:00
Pedro M. Baeza
2b4bc079c2 [IMP] account_payment_partner: Make payment mode editable on entry
Complement of 998f8df6aa254266c015fab144ba290e1a386cf0

Extend the editability to the journal entry (account.move), taking
as criteria if there's no reconciliation made, which is the definitory
one.

It includes test for this new feature, both the mode propagation and
the editability check.

TT39850
2023-01-25 18:40:40 +01:00
Pedro M. Baeza
c816feb80d [IMP] account_payment_partner: Make payment mode editable on journal item
This field was editable in previous version before invoice > move
refactoring, and it's logic to allow to change payment mode once the
invoice has been posted without the need of resetting it to draft.

Thus, the field has been changed to computed writable field, taking care
of the consequences at model level (compute) and view level (add the
field in views + proper attrs).

This commits adds tracking=True to the payment mode field as well to be
aware when and who the payment mode is changed in the invoice, no matter
if directly changed in draft, or through the change on the journal item.

TT39850
2023-01-25 18:14:57 +01:00
Francesco Foresti
59242a758c Translated using Weblate (Italian)
Currently translated at 100.0% (7 of 7 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_payment_sale
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_sale/it/
2023-01-18 12:07:36 +00:00
Bole
69083802df Translated using Weblate (Croatian)
Currently translated at 100.0% (5 of 5 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_payment_sale
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_sale/hr/
2023-01-04 13:45:00 +00:00
Bole
f169d1d344 Translated using Weblate (Croatian)
Currently translated at 94.7% (36 of 38 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_payment_partner
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_partner/hr/
2023-01-04 13:44:59 +00:00
Bole
95069015bf Added translation using Weblate (Croatian) 2023-01-04 10:45:03 +00:00
OCA-git-bot
4bb286d3bd [UPD] addons table in README.md 2023-01-02 14:33:23 +00:00
OCA-git-bot
a0e614d7eb account_payment_partner 16.0.1.0.1 2023-01-02 14:33:19 +00:00
OCA-git-bot
4410d0d291 Merge PR #1009 into 16.0
Signed-off-by pedrobaeza
2023-01-02 14:30:22 +00:00
David Ramia
48be0b195d [FIX] account_payment_partner: fix error in _reverse_moves 2023-01-02 14:19:52 +01:00
OCA-git-bot
252f15169d [ADD] setup.py 2022-12-13 15:26:12 +00:00
OCA-git-bot
ffe49260c1 [UPD] README.rst 2022-12-13 15:26:11 +00:00
OCA-git-bot
0c2fbc5628 [UPD] addons table in README.md 2022-12-13 15:26:11 +00:00
oca-ci
3166e29481 [UPD] Update account_payment_sale.pot 2022-12-13 15:23:28 +00:00
OCA-git-bot
a2868657ce Merge PR #982 into 16.0
Signed-off-by alexis-via
2022-12-13 15:20:42 +00:00
Alexis de Lattre
2e2d1d8282 account_payment_sale: payment_mode_id in sale.report 2022-12-13 15:15:14 +05:30
oca-git-bot
f7ba006e07 [IMP] update dotfiles [ci skip] 2022-12-11 22:27:38 +01:00
SodexisTeam
e7b4edbe58 [MIG] account_payment_sale: Migration to 16.0 2022-12-07 15:34:47 +05:30
SodexisTeam
2b3ccb76b9 [IMP] account_payment_sale: pre-commit stuff 2022-12-07 15:34:47 +05:30
Noel estudillo
99126fdb49 Translated using Weblate (Catalan)
Currently translated at 100.0% (7 of 7 strings)

Translation: bank-payment-15.0/bank-payment-15.0-account_payment_sale
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-15-0/bank-payment-15-0-account_payment_sale/ca/
2022-12-07 15:34:47 +05:30
OCA-git-bot
25cae2fdbb [UPD] README.rst 2022-12-07 15:34:47 +05:30
oca-ci
fd766d45d0 [UPD] Update account_payment_sale.pot 2022-12-07 15:34:47 +05:30
manu
7fbb6b5d6a [MIG]account_payment_sale: Migration to 15.0 2022-12-07 15:34:47 +05:30
Olga Marco Puértolas
41fabf6e9a Translated using Weblate (Spanish)
Currently translated at 80.0% (4 of 5 strings)

Translation: bank-payment-14.0/bank-payment-14.0-account_payment_sale
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_payment_sale/es/
2022-12-07 15:34:47 +05:30
Francesco Foresti
ccb902f46f Translated using Weblate (Italian)
Currently translated at 100.0% (7 of 7 strings)

Translation: bank-payment-14.0/bank-payment-14.0-account_payment_sale
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_payment_sale/it/
2022-12-07 15:34:47 +05:30