Commit Graph

336 Commits

Author SHA1 Message Date
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
Alexis de Lattre
f6143e4e06 Add hooks for l10n_ch_sepa (pain.001.001.03.ch.02)
Move code of account_banking_pain_base/models/banking_export_pain.py to account_banking_pain_base/models/account_payment_order.py
Allow cancel when payment order is in "File Generated" state
Add postal address in party block
2017-11-16 15:16:39 +01:00
Alexis de Lattre
e2b1b44653 Take into accounts the remarks of Eric Caudal 2017-11-16 15:16:39 +01:00
Alexis de Lattre
075871ad64 FIX use of communication type 2017-11-16 15:16:39 +01:00
Alexis de Lattre
9703a0f56d Avoid empty group in payment mode
Code cleanup in views
2017-11-16 15:16:39 +01:00
Alexis de Lattre
71d1e3883d Move fields mandate_required and export_ascii from payment mode to payment method
Display chatter on payment orders
Several small usability improvements
2017-11-16 15:16:39 +01:00
Alexis de Lattre
7c3a7892a6 Add support for non-SEPA DD and CT without without IBANs 2017-11-16 15:16:39 +01:00
Alexis de Lattre
d7b616102c Add module account_banking_mandate_sale
Add option 'mandate_required' on payment orders
Autoselect first valid mandate on customer invoice that have a payment mode 'mandate_required' = True
Add option on select move lines to pay wizard to allow selection of litigation moves (unchecked by default), in order to integrate the feature of the module account_payment_blocking
2017-11-16 15:16:39 +01:00
Alexis de Lattre
de23d92e82 Finalise merge of account_banking_payment_transfer into account_payment_order
Add support for transfer moves
Display transfer moves in a dedicated tab in payment order view
Code cleanup
2017-11-16 15:16:39 +01:00
Alexis de Lattre
d616d19564 bank_bic on res.partner.bank is a related field in v9 and is not displayed in form view, so no need for explainations any more 2017-11-16 15:16:39 +01:00
Alexis de Lattre
30c723a562 Finalise the wizard of selection of move lines to pay
Add button "Add to payment/debit order" on invoice form view
Started to integrate payment transfer in account_payment_order (not finished at all though)
Various fixes/changes/improvements/...
2017-11-16 15:16:39 +01:00