Commit Graph

346 Commits

Author SHA1 Message Date
Sandy Carter
97db07c396 PEP8 on account_banking_sepa_direct_debit 2017-11-22 10:49:30 +01:00
Alexis de Lattre
13d13312a5 ir.sequence : Replace deprecated get() by next_by_code() Avoid double increment of sequence when creating an SDD mandate. 2017-11-22 10:49:30 +01:00
Alexis de Lattre
7adc9eaf8c Add back2draft on SEPA Direct Debit mandates (in case it was cancelled by mistake). 2017-11-22 10:49:30 +01:00
Launchpad Translations on behalf of banking-addons-team
3fc07a1c61 Launchpad automatic translations update. 2017-11-22 10:49:30 +01:00
Alexis de Lattre
b4f57bc585 Add missing utf-8 header Update state field on SEPA file objects and display it in tree+form views. Migrate form views to version 7.0 and simplify them. 2017-11-22 10:49:30 +01:00
Alexis de Lattre
10035cb0e9 Add demo data 2017-11-22 10:49:30 +01:00
Stéphane Bidoul
3ec3534085 move SEPA direct debit menu entries to a menu that does not depend on the core account_banking 2017-11-22 10:49:30 +01:00
Alexis de Lattre
08e50ac66b For SCT, if BIC is not provided, we should not put the 'Creditor Agent' block at all, according to EPC guidelines (on this point, it is different from the Direct Debit !) 2017-11-22 10:49:30 +01:00
Alexis de Lattre
aac9974103 Replace unallowed ascii caracters by '-' Update some error messages Update translation files and FR translation Include sepa_export in gen_args Factorize more code between SDD and SCT Fix view of payment lines The modules account_banking_pain_base and account_banking_sepa_* are now fully PEP8 compliant 2017-11-22 10:49:30 +01:00
Alexis de Lattre
ba18bf3e91 Mutualize more code between SCT and SDD. 2017-11-22 10:49:30 +01:00
Alexis de Lattre
09af19ee2e Add group in order to mask the fields for "Original Mandate Indentification" for user s in countries that don't required it. Add tracking on important fields of the mandate. Better form view on company. Update constraint on mandate following my devs on "Original Mandate Identification". 2017-11-22 10:49:30 +01:00
Alexis de Lattre
2e3174c0de Add support for direct debit migration from national format to SEPA Source : Standard-XML-SDD-Initiation-v3-EN by Febelfin 2017-11-22 10:49:30 +01:00
Alexis de Lattre
27da3996bd The requested collection date now uses the fields date_prefered and date_scheduled of payment.order, instead of the field in the SDD wizard. 2017-11-22 10:49:30 +01:00
Alexis de Lattre
39d8b5c2a9 More code factoring between SCT and SDD As a consequence, we now have support for structured remittance info in SDD. 2017-11-22 10:49:30 +01:00
Alexis de Lattre
f65f2f3448 Start code factoring between SCT and SDD. 2017-11-22 10:49:30 +01:00
Alexis de Lattre
239ee148e4 Remove fields_view_get() on payment.order because dynamic domain is now possible and I implemented it in a previous commit. Minor usability improvements in mandate menu and views Refresh partner_id field on mandate in the on_change of partner_bank_id 2017-11-22 10:49:30 +01:00
Alexis de Lattre
ab2de30f92 FIX FR translation. 2017-11-22 10:49:30 +01:00
Alexis de Lattre
c7d69a8205 Add logo. 2017-11-22 10:49:30 +01:00
Alexis de Lattre
3a30a402c9 Remove code that is not relevant any more because we now have constraints on the mandates. Update strings. Add French translation. 2017-11-22 10:49:30 +01:00
Alexis de Lattre
a4160b7368 Add constraint in payment line to check that the mandate is linked to the bank account Fix in mandate views Move mandate and partner views in dedicated files 2017-11-22 10:49:30 +01:00
Alexis de Lattre
b96cfffd4e Now fully manage the scenario where the customer has a new bank account (in the same bank or in another bank) Warning : the signature of the function _prepare_field() has been changed 2017-11-22 10:49:30 +01:00
Alexis de Lattre
90c3dc1ab9 New field "recurrent_sequence_type" on mandate with tracking. The field "last_debit_date" is not used to compute the sequence type any more. When the bank account changes, the sequence type is set back to first FIX xml_id of expired mandate mail.message.subtype 2017-11-22 10:49:30 +01:00
Alexis de Lattre
1c7c1069d2 Add the ability to cancel a mandate. Add a field "SDD Mandate" on the customer invoice, to handle the scenario where one customer has multiple mandates with the company. 2017-11-22 10:49:30 +01:00
Alexis de Lattre
d8245177e2 More work on mandates : - constraints - display related payment lines - set mandates to expired after 36 months of inactivity (via a cron) - add tracking/chatter - add default draft state + validate button
[FIX] In Debit mode, don't use the partner_bank_id of the customer invoice !

In the wizard 'Select invoices to pay', add maturity date in the view of the account move lines
2017-11-22 10:49:30 +01:00
Alexis de Lattre
2144be6408 FIX payment_order_type : payment -> debit 2017-11-22 10:49:30 +01:00
Alexis de Lattre
e08ee1676e Reduce pep8 warnings Use create_date instead of a dedicated datetime field The creation of the SEPA file now has a _prepare function Other improvements in the code. 2017-11-22 10:49:30 +01:00
Alexis de Lattre
137377a445 Add python lib dependencies. 2017-11-22 10:49:30 +01:00
Alexis de Lattre
2d5c618c0a 2 modifications following a real-life SDD with a French bank: - convert accented chars to ascii chars (via the unidecode lib) - use "PrvtId" instead of "OrgId" in the XML Use the sequence of payment.order as the "Message identification" of the XML file (advantages : it is unique, users can easily customize the sequence and users can easily find the payment corresponding to the "Message Identification" in OpenERP). It is also used as the Payment Identification, combined with the sequence type. Use the sequence of payment.line in the "EndtoEnd Identification" field. Reduce flake8 warnings. 2017-11-22 10:49:30 +01:00
Alexis de Lattre
67ef15a5ce correct parent menu entry Remove unused variables 2017-11-22 10:49:30 +01:00
Alexis de Lattre
2eb4892f3f First implementation of mandates, but I still have a lot of hesitation about the data model so it may change. Manage different sequence types in the same file ; we just have to separate them in different payment info blocks. 2017-11-22 10:49:30 +01:00
Alexis de Lattre
fcf5ceb1e3 Add module account_banking_sepa_direct_debit that implements pain.008.001.02, pain.008.001.03 and pain.008.001.04. This module is not ready yet : the management of mandates is still missing. I am currently trying to get more information about these mandates to decide what is the best implemtation of the data model of the mandates (O2M on res.partner ? O2M os res.partner.bank ?). 2017-11-22 10:49:30 +01:00
OCA Git Bot
c420740b92 [ADD] setup.py 2017-11-18 04:34:59 +01:00
Jordi Ballester Alomar
408c8c4793 Merge pull request #405 from etobella/11.0-mig-account_payment_pain_base
[11.0] [MIG] account_payment_pain_base
2017-11-17 18:26:22 +01:00
Jordi Ballester Alomar
f41d8a4a3f Merge pull request #404 from etobella/11.0-mig-account_payment_mandate
[11.0] [MIG] account_payment_mandate
2017-11-17 18:23:31 +01:00
etobella
1fabf8ca23 [MIG] account_banking_pain_base 2017-11-16 15:16:55 +01:00
Pedro M. Baeza
f10ac25634 [IMP] account_banking*: Show identifiers at payment mode level
Now the visibility is controlled through a security group.
2017-11-16 15:16:39 +01:00
OCA Transbot
f2f639d677 OCA Transbot updated translations from Transifex 2017-11-16 15:16:39 +01:00
Alexis de Lattre
f787626993 Add support for ISO20022 "Category Purpose"
Add local instrument 'INST' for SEPA Instant Credit Transfer
2017-11-16 15:16:39 +01:00
Pedro M. Baeza
c803927b46 [CHG] *: Change copyright and author after company merging 2017-11-16 15:16:39 +01:00
Alexis de Lattre
59724e429c 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)
2017-11-16 15:16:39 +01:00
Pedro M. Baeza
8aadcd51dc [MIG] Rename manifest files 2017-11-16 15:16:39 +01:00
Pedro M. Baeza
4ed1e4d4f7 [MIG] Make modules uninstallable 2017-11-16 15:16:39 +01:00
Stéphane Bidoul (ACSONE)
b7875596db [FIX] remove en.po that was erroneously created by transbot 2017-11-16 15:16:39 +01:00
OCA Transbot
28d701cb97 OCA Transbot updated translations from Transifex 2017-11-16 15:16:39 +01:00
Pedro M. Baeza
2ce69f8f83 [IMP] Remove unused POT files 2017-11-16 15:16:39 +01:00
Alexis de Lattre
33d247cb57 Simpler variable names
Rename method
2017-11-16 15:16:39 +01:00
Alexis de Lattre
c9f5fe3992 Move the code that generate the bank account number in the SEPA XML file in a dedicated method 2017-11-16 15:16:39 +01:00
Alexis de Lattre
9720eb1079 Add the bank_line as argument to some methods that generate SEPA XML 2017-11-16 15:16:39 +01:00
Alexis de Lattre
872a34b8d5 Add field local_instrument in payment lines and bank payment lines 2017-11-16 15:16:39 +01:00
Alexis de Lattre
63946e09f3 Adds flexibility to support direct debit direct debit for switzerland (pain.008.001.02.ch.01)
Implement SEPA Core recommandations for postal address
2017-11-16 15:16:39 +01:00