Commit Graph

18 Commits

Author SHA1 Message Date
lembregtse
fe7d70cee4 [FIX] account_banking_mandate: Add signature_date for _check_valid_state constraint (#445) 2023-03-13 08:58:32 +01:00
Pedro M. Baeza
9e10cee711 [FIX] account_banking_sepa_direct_debit:
* Fix tests due to upstream change

  Odoo has added a constraint for avoiding a company currency change if there
  are move lines, making these tests to fail, as the currency is changed to EUR.

  With this commit, we create a new company with EUR currency for avoiding the
  problem.

  This commit also changes account_banking_mandate for not duplicating mandate
  number, as it was detected during the test creation.

  Similar to 1f8e345469695d1fb1a2ba2109ddea3adbdf1f78
* Avoid errors in tests when run with other modules
* More adaptations to make tests to work properly

  All these problems comes from using demo data.
2023-03-13 08:58:32 +01:00
Francisco Iván Antón Prieto
ada448e78f [FIX] account_banking_mandate: _onchange_partner_id missing return (#451) 2023-03-13 08:58:32 +01:00
rgarnau
f7bd8db23c [FIX] minor fix 2023-03-13 08:58:32 +01:00
Jordi Ballester
a7c23c5f32 add rests. Add better multicompany support
add tests and constrains
2023-03-13 08:58:32 +01:00
Carlos Dauden
649c548590 [IMP] account_banking_mandate: Fill payment line with first valid mandate + Add valid_mandate field and fix onchange
(cherry picked from commit 25d2e4d)
2023-03-13 08:58:32 +01:00
etobella
e7f520e410 [MIG] account_payment_mandate: Migration to 11.0 2023-03-13 08:58:32 +01:00
Cédric Pigeon
15eb8d72e6 [UPD] if a mandate is linked to the bank account used, put it automatically on the payment line' 2023-03-13 08:58:32 +01:00
Andrea Stirpe
cc6dcc231f [FIX][10.0] account_banking_mandate: onchange return value missing (#382) 2023-03-13 08:58:32 +01:00
Pedro M. Baeza
1e50143246 [IMP] account_banking_mandate: Fill mandate in invoices if none is provided
Using same method as in upstream, mandate is filled on invoice creation if no
one is provided. This way, we don't need to install account_banking_mandate_sale
if we don't want to handle several mandates at sales level.
2023-03-13 08:58:32 +01:00
Alexis de Lattre
85e99b716a 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-13 08:58:32 +01:00
Alexis de Lattre
fa4c820db1 [MIG] account_banking_mandate: Migration to v9 2023-03-13 08:58:32 +01:00
Sergio Incaser
fc8cab3b60 [FIX+IMP] account_banking_mandate: Several fixes and imps:
* Add creditor identifier field to report mandate.
* Translate.
* Split basic and sepa mandate
* Use api.multi instead
* Make format field required
2023-03-13 08:58:32 +01:00
Pedro M. Baeza
5943556fa4 [IMP] account_banking_mandate: Cleanup
* Short headers
* Bump version numbers
* es translations
2023-03-13 08:58:32 +01:00
Alexis de Lattre
b74125e848 Add bank.payment.lines object to allow grouping in the payments 2023-03-13 08:58:32 +01:00
Pedro M. Baeza
ec73fba185 [FIX] account_banking_mandate: Fix name_get call 2023-03-13 08:58:32 +01:00
Alexis de Lattre
fa94ed19ba [FIX+IMP] account_banking_mandate: Several things
* Bug #96 bad use of new API
* [Usability] mandates: search by reference, add group_by, add seq type in tree view
* Add scheme in mandate tree+search view
* Replace tabs by spaces in mandate views
* account_banking_mandate/views/account_banking_mandate_view.xml: convert from dos to unix format
* Add multi-company rule on account.banking.mandate
2023-03-13 08:58:32 +01:00
Pedro M. Baeza
c6917f4d9f [ADD] account_banking_mandate, spliting functionality in two modules 2023-03-13 08:58:32 +01:00