Commit Graph

10 Commits

Author SHA1 Message Date
Pedro M. Baeza
b8d818967b [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
2022-12-25 12:51:03 +01:00
João Marques
a5b65631e3 [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
2021-05-17 08:51:23 +01:00
Andrea
81d2b406e7 [FIX] multicompany rule 2021-01-05 14:03:52 +01:00
Raf Ven
001bd7e976 [IMP] account_payment_order: black, isort 2021-01-05 14:03:52 +01:00
Thomas Binsfeld
c32321e7b5 [REF] Account Payment Order: add Admin in security group 2021-01-05 14:03:52 +01:00
Carlos Dauden
197e8a21e0 [FIX] account_payment_order: Add bank payment line multi-company rule 2021-01-05 14:03:52 +01:00
Alexis de Lattre
337fc2ccf0 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)
2021-01-05 14:03:52 +01:00
Yannick Vaucher
8200535270 Reactivate company rules in account_payment_order 2021-01-05 14:03:52 +01:00
Yannick Vaucher
b0ea7d832c Move the account_payment_mode ir.rule in account_payment_mode module 2021-01-05 14:03:52 +01:00
Alexis de Lattre
d052cc7274 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
2021-01-05 14:03:52 +01:00