Commit Graph

10 Commits

Author SHA1 Message Date
Pedro M. Baeza
05c6c0111f [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 19:44:00 +01:00
João Marques
5bf4b9bda5 [FIX] account_payment_order: Change security group category + Make post move field invisible in payment modes + fix account move views
- 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
- Make post move field invisible in payment modes
  When the generate_moves option is not selected, the post_move option should not be available
  TT29182
- fix account move views
  Current spec was causing weird display in account move view, both for customer invoices and vendor bills
  Changing the placement and adding back the label fixes the issue
  TT29027
2023-03-04 19:42:52 +01:00
Andrea
f1930ad52e [FIX] multicompany rule 2023-03-04 19:39:08 +01:00
Raf Ven
284fe5c01c [IMP] account_payment_order: black, isort 2023-03-04 19:39:08 +01:00
Thomas Binsfeld
4f8844a9fd [REF] Account Payment Order: add Admin in security group 2023-03-04 11:17:15 +01:00
Carlos Dauden
9fe7a6a2c2 [FIX] account_payment_order: Add bank payment line multi-company rule 2023-03-04 11:17:14 +01:00
Alexis de Lattre
7e43ef753c 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-03-04 11:16:03 +01:00
Yannick Vaucher
28c6364c84 Reactivate company rules in account_payment_order 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
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