Commit Graph

10 Commits

Author SHA1 Message Date
Pedro M. Baeza
e3d9930b04 [REF+IMP] account_payment_order: Use native payments
The previous approach creates manually the journal entries and does all
the hard work, plus not being 100% compatible with the bank statement
reconciliation widget (requiring a patch on OCB to see blue lines).

That decision made sense on the moment it was done (v9), where the
native payment model (account.payment) was very limited, and wasn't able
to store all the needed information for the bank transaction.

Now that the limitations are gone, we can get rid off this extra model,
and generate instead `account.payment` records, using both the native
model + methods to perform the same operations.

This serves also to workaround the problem found in #966.

All the code, views and tests of main module have been adapted to this
new approach in this commit. Later commits will adapt the rest of the
modules of the suite, and add migration scripts to transit from the
previous approach to this new one.

TT39832
2023-03-04 18:56:37 +01:00
João Marques
0f0d655899 [FIX] account_payment_order: Change security group category
Before this change, the group was creating a new section in each user's settings called "Other" with a field called "Other Extra Rights" that could select "Accounting / Payments" as an option
This places it in the correct location

TT29182
2022-03-09 17:58:47 +01:00
Andrea
f17666da24 [FIX] multicompany rule 2022-03-09 17:58:47 +01:00
Raf Ven
4f076b21f4 [IMP] account_payment_order: black, isort 2022-03-09 17:58:47 +01:00
Thomas Binsfeld
a9be800b25 [REF] Account Payment Order: add Admin in security group 2022-03-09 17:58:47 +01:00
Carlos Dauden
14739780a2 [FIX] account_payment_order: Add bank payment line multi-company rule 2022-03-09 17:58:47 +01:00
Alexis de Lattre
8c82f7af87 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)
2022-03-09 17:58:47 +01:00
Yannick Vaucher
16c76eda21 Reactivate company rules in account_payment_order 2022-03-09 17:58:47 +01:00
Yannick Vaucher
a6b02368c3 Move the account_payment_mode ir.rule in account_payment_mode module 2022-03-09 17:58:47 +01:00
Alexis de Lattre
1c15633dbf 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
2022-03-09 17:58:47 +01:00