Commit Graph

365 Commits

Author SHA1 Message Date
Alexis de Lattre
e4c5016dc3 Use attachments instead of creating a specific object for each kind of payment order 2017-11-22 10:50:55 +01:00
Pedro M. Baeza
db5bd80203 Expand authors + manifest cleaning 2017-11-22 10:50:55 +01:00
Alexandre Fayolle
8e0b3e2afa protect import of external dependencies
Odoo won't install an addon if the external dependencies are not met.
However, the python modules of the addons are imported at startup, and the
lack of an external dependency for an external addon will cause a crash,
therefore the import needs to be in a try..except block.
2017-11-22 10:50:55 +01:00
Stéphane Bidoul
e0026cda62 sepa credit tfr: get BIC from bank account if not available on bank
Since the bank is optional on bank accounts and the BIC can be set
on the bank account if there is no bank, we allow the system to
get the BIC from the bank account in case it is not on the bank.

We give priority to the BIC indicated on the bank, keeping
the same behaviour with existing data where the bank BIC is
available.
2017-11-22 10:50:55 +01:00
Alexandre Fayolle
a80304dc30 Add OCA as author of OCA addons
In order to get visibility on https://www.odoo.com/apps the OCA board has
decided to add the OCA as author of all the addons maintained as part of the
association.
2017-11-22 10:50:55 +01:00
Julien Laloux
f49cd7eb97 Improve code 2017-11-22 10:50:55 +01:00
Julien Laloux
c7a2e4a851 Fix an error when no payment_order_ids 2017-11-22 10:50:55 +01:00
Alexis de Lattre
54ff9076c9 Add sale_ok and purchase_ok filters in partner/sale/purchase form views Use widget=selection for payment_mode_id fields Update demo data 2017-11-22 10:50:55 +01:00
Pedro M. Baeza
81aea90441 Translation template files [IMP] Translations to spanish 2017-11-22 10:50:55 +01:00
Pedro M. Baeza
8a87120fdb account_payment_sale_stock: Split for removing stock dependency on sale [DEL] Remove old translations templates [IMP] More reorder on folder structure 2017-11-22 10:50:55 +01:00
Pedro M. Baeza
2f906bc428 Uncaught flake8 errors 2017-11-22 10:50:55 +01:00
Pedro M. Baeza
b04d278fc8 Replace deprecated workflow calls 2017-11-22 10:50:55 +01:00
Pedro M. Baeza
c741907814 Clean files 2017-11-22 10:50:55 +01:00
Pedro M. Baeza
833144982b Update icon files 2017-11-22 10:50:55 +01:00
Pedro M. Baeza
cf00ab76b9 Migration and enhancement of all modules involved in SEPA 2017-11-22 10:50:55 +01:00
Pedro M. Baeza
785979342f Initial adjustments for 8.0 repository 2017-11-22 10:50:55 +01:00
Sandy Carter
1d80f87318 PEP8 on account_banking_sepa_credit_transfer 2017-11-22 10:50:55 +01:00
Launchpad Translations on behalf of banking-addons-team
311251aa23 Launchpad automatic translations update. 2017-11-22 10:50:55 +01:00
Alexis de Lattre
4e466159a0 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:50:55 +01:00
Alexis de Lattre
373432c41c Add demo data 2017-11-22 10:50:55 +01:00
Alexis de Lattre
52364ea68c 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:50:55 +01:00
Alexis de Lattre
ffdd300b24 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:50:55 +01:00
Alexis de Lattre
b2102dffa6 Mutualize more code between SCT and SDD. 2017-11-22 10:50:55 +01:00
Alexis de Lattre
dfcd048ef7 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:50:55 +01:00
Alexis de Lattre
f719dfe897 More code factoring between SCT and SDD As a consequence, we now have support for structured remittance info in SDD. 2017-11-22 10:50:55 +01:00
Alexis de Lattre
bc0a87fed7 Start code factoring between SCT and SDD. 2017-11-22 10:50:55 +01:00
Launchpad Translations on behalf of banking-addons-team
660e8976b5 Launchpad automatic translations update. 2017-11-22 10:50:55 +01:00
Alexis de Lattre
de3d56fdfd FIX label : Customer (which is wrong, it is most of the time a Supplier !)-> Creditor More PEP8 stuff. 2017-11-22 10:50:55 +01:00
Alexis de Lattre
1b331c8392 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' 2017-11-22 10:50:55 +01:00
Alexis de Lattre
97ffeda921 Fix merge of translations. 2017-11-22 10:50:55 +01:00
Alexis de Lattre
b7f8732ec1 Revert the dependancy to account_banking_payment_export (the field payment_order_type on payment.mode.type has a default value of "payment" anyway). 2017-11-22 10:50:55 +01:00
Alexis de Lattre
ce7505b29d Better prototype for the _prepare_field function. Update help message, POT file and FR translation. 2017-11-22 10:50:55 +01:00
Launchpad Translations on behalf of banking-addons-team
f0a00835b2 Launchpad automatic translations update. 2017-11-22 10:50:55 +01:00
Alexis de Lattre
ac7dbac290 Add logo. 2017-11-22 10:50:55 +01:00
Alexis de Lattre
3ff606a1e4 Update strings and French translation. 2017-11-22 10:50:55 +01:00
Alexis de Lattre
0779669064 fields.date.context_today doesn't work with datetime => we now use the native field create_date Coding style improvements. 2017-11-22 10:50:55 +01:00
Alexis de Lattre
abedbfaa96 Update strings. Update FR translation. 2017-11-22 10:50:55 +01:00
Alexis de Lattre
f42492897c 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() 2017-11-22 10:50:55 +01:00
Pedro M. Baeza
56693ea1cf Translation template files for all modules. 2017-11-22 10:50:55 +01:00
Stefan Rijnhart
15fd3ae549 Retrieve current date in user's timezone [FIX] Default to current date instead of tomorrow 2017-11-22 10:50:55 +01:00
Erwin van der Ploeg
9e93495a4d Added translations to all banking modules in use in the Netherlands 2017-11-22 10:50:55 +01:00
Stéphane Bidoul
6d29e2a6ed avoid generating invalid sepa credit transfer files when bank accounts have no BIC 2017-11-22 10:50:55 +01:00
Stéphane Bidoul
543958abc8 whitespace and pep8 2017-11-22 10:50:55 +01:00
Stéphane Bidoul
b780c85555 clarified comment about workflow in account_banking_sepa_credit_transfer 2017-11-22 10:50:55 +01:00
Stéphane Bidoul
294c345a4b account_banking_payment refactoring to make payment export features available without pulling bank statement features
- introduce account_banking_payment_export module with all features from account_banking_payment that do not involve changing the payment order workflow or depend on bank statement changes
- account_banking_payment_export does not depend on account_banking
- account_banking_payment is consequently stripped of above features
- account_banking_sepa_credit_transfer depend on account_banking_payment_export and is compatible with the default payment order workflow
2017-11-22 10:50:55 +01:00
Alexis de Lattre
d0e86d5dcf Update strings to prepare the arrival of SEPA Direct Debit XSD validation of the SEPA XML file is now really working Update views to 7.0-style Better error handling when Bank account in missing on the invoice. 2017-11-22 10:50:55 +01:00
Stefan Rijnhart
1caa762d52 A payment mode type needs a suitable bank type 2017-11-22 10:50:55 +01:00
Stefan Rijnhart
8841813599 Updated two additional imports to new API 2017-11-22 10:50:55 +01:00
Stefan Rijnhart
abd3988c54 Small API changes 2017-11-22 10:50:55 +01:00
unknown
1eed32f330 account_banking_sepa_credit_transfer implementing SEPA SCT pain 2017-11-22 10:50:55 +01:00