Commit Graph

33 Commits

Author SHA1 Message Date
Roger Escolà
c70e81cd9b [13.0][FIX] account_banking_mandate: fixes singleton error when posting some records with mandate 2020-12-04 19:32:36 +01:00
Carlos Dauden
00df30e20c [IMP] account_banking_mandate: Improve inheritability
TT26356
2020-10-22 11:21:06 +02:00
Enric Tobella
8471334a54 [13.0][FIX] account_banking_mandate: Set Force company 2020-06-11 12:29:19 +02:00
Marçal Isern
8b3718282d [MIG] account_banking_mandate: Migration to 13.0 2020-03-27 06:57:36 +01:00
Marçal Isern
8a3d6e90a4 [IMP] account_banking_madante: black, isort 2020-03-26 20:58:31 +01:00
Carlos Dauden
f0dd1eab88 [IMP] account_banking_mandate: Show acc number end in name_get 2020-03-26 20:44:59 +01:00
Pedro M. Baeza
43e25e8073 [IMP] account_banking_mandate: Put binary field as attachment
For not wasting space in DB. Migration scripts included (requires openupgradelib).
2020-03-26 07:20:06 +01:00
Thomas Binsfeld
f7077932ff [IMP] Banking Mandate: set reference at creation if falsy value in dict 2020-03-26 07:20:06 +01:00
Thomas Binsfeld
510a31b778 [REF] Banking Mandate: indexes on bank account and partner 2020-03-26 07:20:06 +01:00
Thomas Binsfeld
93a236fc39 [IMP] Banking Mandate: deletion of bank accounts linked to mandates
It should not be possible to delete a bank account linked to mandate(s).
2020-03-26 07:20:06 +01:00
Thomas Binsfeld
81128480b6 [FIX] Banking Mandate: local variable referenced before assignment 2020-03-26 07:20:06 +01:00
Thomas Binsfeld
bef94474c8 [REF] Banking Mandate: move payment lines list in shortcut button
It allows a user with no access on payment line to open mandates
2020-03-26 07:20:06 +01:00
Thomas Binsfeld
8f5b0a3d64 [REF] Banking Mandate: searches with sudo in constraint
The searches in the constraint should be done as sudo since it should not depend on the access of the user
2020-03-26 07:20:06 +01:00
Pedro M. Baeza
4baa18deca [MIG] account_banking_mandate: Finish migration to v12
* Adapted test
* Removed unneeded constraint
* Fixed view for accessibility
2020-03-26 07:20:06 +01:00
Pedro M. Baeza
71eff511d6 [FIX] account_banking_mandate: Condition is reversed
So multi-company environment won't work correctly.
2020-03-26 07:20:06 +01:00
lembregtse
b3f85d1d5c [FIX] account_banking_mandate: Add signature_date for _check_valid_state constraint (#445) 2020-03-26 07:20:05 +01:00
Pedro M. Baeza
abc0ea6a4e [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.
2020-03-26 07:20:05 +01:00
Francisco Iván Antón Prieto
83f7666cf2 [FIX] account_banking_mandate: _onchange_partner_id missing return (#451) 2020-03-26 07:20:05 +01:00
rgarnau
d914da724f [FIX] minor fix 2020-03-26 07:20:05 +01:00
Jordi Ballester
7fbb6f46b3 add rests. Add better multicompany support
add tests and constrains
2020-03-26 07:20:05 +01:00
Carlos Dauden
8e25bb524c [IMP] account_banking_mandate: Fill payment line with first valid mandate + Add valid_mandate field and fix onchange
(cherry picked from commit 25d2e4d)
2020-03-26 07:20:05 +01:00
etobella
00ec9b24b5 [MIG] account_payment_mandate: Migration to 11.0 2020-03-26 07:20:05 +01:00
Cédric Pigeon
58ce13cde1 [UPD] if a mandate is linked to the bank account used, put it automatically on the payment line' 2020-03-26 07:20:05 +01:00
Andrea Stirpe
168901e911 [FIX][10.0] account_banking_mandate: onchange return value missing (#382) 2020-03-26 07:20:05 +01:00
Pedro M. Baeza
81542dd780 [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.
2020-03-26 07:20:05 +01:00
Alexis de Lattre
3729e77939 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)
2020-03-26 07:20:05 +01:00
Alexis de Lattre
800b41e424 [MIG] account_banking_mandate: Migration to v9 2020-03-26 07:20:05 +01:00
Sergio Incaser
7adc2aa4fc [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
2020-03-26 07:20:05 +01:00
Pedro M. Baeza
ff4be27b68 [IMP] account_banking_mandate: Cleanup
* Short headers
* Bump version numbers
* es translations
2020-03-26 07:20:05 +01:00
Alexis de Lattre
6d0fc0b50e Add bank.payment.lines object to allow grouping in the payments 2020-03-26 07:20:05 +01:00
Pedro M. Baeza
0a3a742523 [FIX] account_banking_mandate: Fix name_get call 2020-03-26 07:20:05 +01:00
Alexis de Lattre
f99f14e54a [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
2020-03-26 07:20:05 +01:00
Pedro M. Baeza
57fbd63cc5 [ADD] account_banking_mandate, spliting functionality in two modules 2020-03-26 07:20:05 +01:00