Commit Graph

540 Commits

Author SHA1 Message Date
Alexis de Lattre
f377a391e8 Start code factoring between SCT and SDD. 2013-12-12 14:47:01 +01:00
Alexis de Lattre
0340ceff0c [MERGE] with lp:~akretion-team/banking-addons/70-sepa-direct-debit 2013-12-12 11:30:55 +01:00
Alexis de Lattre
3d39814b14 Merge with trunk revno 207 (translation update) 2013-12-12 11:28:14 +01:00
Launchpad Translations on behalf of banking-addons-team
d7a6408556 Launchpad automatic translations update. 2013-12-04 05:59:50 +00:00
Launchpad Translations on behalf of banking-addons-team
31da799f5a Launchpad automatic translations update. 2013-12-03 06:20:09 +00:00
unknown
836797f397 [ADD] support for pain.001.001.05, refactorings 2013-12-02 14:43:50 +01:00
Alexis de Lattre
87f2fc0af7 FIX label : Customer (which is wrong, it is most of the time a Supplier !)-> Creditor
More PEP8 stuff.
2013-11-25 22:49:05 +01:00
Alexis de Lattre
0125648c77 Akretion-Noviat code sprint dated 2013-11-21:
- add module account_banking_pain_base
- add support for initiating party identification, priority and structured remittance info in XML file
- the requested execution date now uses the fields date_prefered and date_scheduled (the field of the wizard has been removed)
- the 'convert to ascii' feature is now an option of the payment mode (enabled by default)
- set 'communication' field of payment.line to 140 chars and hide field 'communicatio
n2'
2013-11-22 00:41:32 +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
93079df879 [MERGE] with trunk revno 204 2013-11-13 22:01:33 +01:00
Alexis de Lattre
708949e735 Now OpenERP only propose 'debit' payment modes on Direct Debits and 'payment' payment modes on Payment Orders. 2013-11-13 21:53:00 +01:00
Alexis de Lattre
7ac9a4e486 Fix merge of translations. 2013-11-13 10:17:33 +01:00
Alexis de Lattre
7ad64af788 Revert the dependancy to account_banking_payment_export (the field payment_order_type on payment.mode.type has a default value of "payment" anyway). 2013-11-13 09:19:50 +01:00
Alexis de Lattre
664d049b57 [MERGE] trunk revno 204. 2013-11-13 09:13:18 +01:00
Alexis de Lattre
e581820927 Better prototype for the _prepare_field function.
Update help message, POT file and FR translation.
2013-11-12 22:38:21 +01:00
Alexis de Lattre
7c67ea60c3 FIX FR translation. 2013-11-12 22:36:13 +01:00
Launchpad Translations on behalf of banking-addons-team
33ecf1181e Launchpad automatic translations update. 2013-11-12 06:38:51 +00:00
Alexis de Lattre
297f4db691 Add logo. 2013-11-11 23:50:51 +01:00
Alexis de Lattre
3f6075541a Add logo. 2013-11-11 23:49:39 +01:00
Pedro M. Baeza
e010e113c0 [IMP] Translation template files for all modules. 2013-11-11 16:46:20 +01:00
Alexis de Lattre
13734b7cf4 Update strings and French translation. 2013-11-11 15:52:55 +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
46fbbebdd8 Fix a wrong import (osv was used but not imported !)
Coding style fix
2013-11-08 19:20:30 +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
8d27cb6501 [MERGE] with main branch revno 202 2013-11-07 12:54:02 +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
8d42ec649d [FIX] fields.date.context_today doesn't work with datetime => we now use the native field create_date
Coding style improvements.
2013-11-07 12:50:36 +01:00
Alexis de Lattre
360426c542 Update strings.
Update FR translation.
2013-11-06 17:25:41 +01:00
Alexis de Lattre
d82e84dc08 Add support for pain.001.001.05
Fix dependencies (I need the field "payment_order_type" which is in account_banking_payment)
Only use ASCII characters in the XML file (that's how banks use XML !)
Use the payment order reference as the Message Identification of the XML file.
Use the payment line sequence as the "End to End Identification"
Remove the Instruction Identification ('InstrId') because it is not a required field (only the End to End identification is required)
Rename variables in the function create_sepa() to include the number of each field as
used in the EPC guidelines
Reduce the number of flake8 warnings
Make code more modular :
- self.pool.get('banking.export.sepa').create() has a _prepare fonction
- most of the content of the XML file can be inherited via _prepare_field()
2013-11-06 16:42:24 +01:00
Alexis de Lattre
9dc7762aa4 Add python lib dependencies. 2013-11-06 10:02:09 +01:00
unknown
28b8336e88 [ADD] CAMT.053 parser 2013-10-28 15:54:32 +01:00
unknown
80281ff704 [ADD] Tests module 2013-10-28 15:53:55 +01:00
Pedro M. Baeza
0a9efddf19 [IMP] Translation template files for all modules. 2013-10-25 18:07:34 +02: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
unknown
4d67c33b1f [FIX] Retrieve current date in user's timezone 2013-10-21 10:43:20 +02:00
unknown
190bb76cb9 [ADD] translations to all banking modules in use in the Netherlands 2013-10-21 10:42:15 +02:00
Alexis de Lattre
819be28513 [FIX] correct parent menu entry
Remove unused variables
2013-10-19 17:29:17 +02:00
Stefan Rijnhart
6686734180 [FIX] Retrieve current date in user's timezone
[FIX] Default to current date instead of tomorrow
2013-10-18 10:42:48 +02:00
Erwin van der Ploeg
a889f04bd9 Added translations to all banking modules in use in the Netherlands 2013-10-17 11:20:26 +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
unknown
c72a2b6f8d [ADD] Basic tax processing from the bank statement line 2013-10-14 14:35:59 +02:00
unknown
cabdb560f0 [FIX] Sepa type in abnamro statement file has varying case 2013-10-14 14:34:50 +02:00
unknown
3678e2b202 [FIX] BBAN format for Ireland 2013-10-14 14:34:20 +02:00
unknown
9ddf2dd011 [FIX] Adapt to the new partner model in 7.0 2013-10-14 14:33:57 +02:00
unknown
ee4f5dd428 [FIX] Preserve bank statement order by date
[RFR] Improved doc
2013-10-14 14:33:26 +02:00