Commit Graph

28 Commits

Author SHA1 Message Date
Launchpad Translations on behalf of banking-addons-team
c3556c96f6 Launchpad automatic translations update. 2014-02-12 06:27:48 +00:00
Launchpad Translations on behalf of banking-addons-team
5154e3488f Launchpad automatic translations update. 2014-02-11 06:47:45 +00:00
Launchpad Translations on behalf of banking-addons-team
fbbfafbeb1 Launchpad automatic translations update. 2014-02-02 06:05:02 +00:00
Launchpad Translations on behalf of banking-addons-team
61fe92445b Launchpad automatic translations update. 2014-02-01 06:56:49 +00:00
Alexis de Lattre
0f7bf84f7c 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 !) 2014-01-06 00:51:22 +01:00
Alexis de Lattre
cf20fa4882 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
2013-12-24 01:01:04 +01:00
Alexis de Lattre
58fefbf945 Mutualize more code between SCT and SDD. 2013-12-20 14:13:20 +01:00
Alexis de Lattre
a39b2e2038 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".
2013-12-16 00:46:50 +01:00
Alexis de Lattre
466a748ca4 Add support for direct debit migration from national format to SEPA
Source : Standard-XML-SDD-Initiation-v3-EN by Febelfin
2013-12-13 00:40:45 +01:00
Alexis de Lattre
681bad8fbf The requested collection date now uses the fields date_prefered and date_scheduled of payment.order, instead of the field in the SDD wizard. 2013-12-12 23:19:53 +01:00
Alexis de Lattre
2613ec77a7 More code factoring between SCT and SDD
As a consequence, we now have support for structured remittance info in SDD.
2013-12-12 22:46:16 +01:00
Alexis de Lattre
f377a391e8 Start code factoring between SCT and SDD. 2013-12-12 14:47:01 +01:00
Alexis de Lattre
56a6652e0e 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
2013-11-21 00:24:56 +01:00
Alexis de Lattre
7c67ea60c3 FIX FR translation. 2013-11-12 22:36:13 +01:00
Alexis de Lattre
3f6075541a Add logo. 2013-11-11 23:49:39 +01:00
Alexis de Lattre
22310df7e4 Remove code that is not relevant any more because we now have constraints on the mandates.
Update strings.
Add French translation.
2013-11-11 15:51:20 +01:00
Alexis de Lattre
37bfc5161b 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
2013-11-11 11:56:49 +01:00
Alexis de Lattre
ad0331ab10 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
2013-11-11 06:11:26 +01:00
Alexis de Lattre
004832acba 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
2013-11-11 02:10:35 +01:00
Alexis de Lattre
d8c36c2cef 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.
2013-11-09 15:05:07 +01:00
Alexis de Lattre
7aba0f0a00 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
2013-11-07 23:22:19 +01:00
Alexis de Lattre
112511e3b5 FIX payment_order_type : payment -> debit 2013-11-07 12:57:26 +01:00
Alexis de Lattre
30e5a45acd 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.
2013-11-07 12:52:08 +01:00
Alexis de Lattre
9dc7762aa4 Add python lib dependencies. 2013-11-06 10:02:09 +01:00
Alexis de Lattre
059c28ac04 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.
2013-10-23 00:25:06 +02:00
Alexis de Lattre
819be28513 [FIX] correct parent menu entry
Remove unused variables
2013-10-19 17:29:17 +02:00
Alexis de Lattre
05319329c6 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.
2013-10-15 23:29:28 +02:00
Alexis de Lattre
77a9e732f7 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 ?).
2013-08-03 01:12:36 +02:00