Commit Graph

468 Commits

Author SHA1 Message Date
Philippe Schmidt
f2eba8ed50 Add requested descriptions in an OCA README.rst file 2022-04-08 16:50:45 +02:00
Alexis de Lattre
bc348b497a Use attachments instead of creating a specific object for each kind of payment order 2022-04-08 16:50:45 +02:00
Stéphane Bidoul
efc46da2d3 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.
2022-04-08 16:50:45 +02:00
Julien Laloux
567d6a78f0 Fix an error when no payment_order_ids 2022-04-08 16:50:45 +02:00
Pedro M. Baeza
2f8f59ae5a [MIG] account_banking_sepa_credit_transfer: Migration to v8 2022-04-08 16:50:45 +02:00
Launchpad Translations on behalf of banking-addons-team
648eed6a26 Launchpad automatic translations update. 2022-04-08 16:50:45 +02:00
Alexis de Lattre
d30e6a644d [RFR] account_banking_sepa_credit_transfer
* Start code factoring between SCT and SDD.
* More code factoring between SCT and SDD As a consequence, we now have support for structured remittance info in SDD.
* The requested collection date now uses the fields date_prefered and date_scheduled of payment.order, instead of the field in the SDD wizard.
* Mutualize more code between SCT and SDD.
* 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
* 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 !)
* Add demo data
* 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.
2022-04-08 16:50:45 +02:00
Launchpad Translations on behalf of banking-addons-team
36cbec1f4d Launchpad automatic translations update. 2022-04-08 16:50:45 +02:00
Alexis de Lattre
3f6ac31983 [IMP] account_banking_sepa_credit_transfer:
* Better prototype for the _prepare_field function. Update help message, POT file and FR translation.
* Revert the dependancy to account_banking_payment_export (the field payment_order_type on payment.mode.type has a default value of "payment" anyway).
* 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'
* FIX label : Customer (which is wrong, it is most of the time a Supplier !)-> Creditor More PEP8 stuff.
2022-04-08 16:50:45 +02:00
Launchpad Translations on behalf of banking-addons-team
c2b3d05602 Launchpad automatic translations update. 2022-04-08 16:50:45 +02:00
Alexis de Lattre
97dd61cb19 [IMP] account_banking_sepa_credit_transfer: Support new format + other things:
* 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()
* Update strings. Update FR translation.
* fields.date.context_today doesn't work with datetime => we now use the native field create_date Coding style improvements.
* Add logo
2022-04-08 16:50:45 +02:00
Pedro M. Baeza
9ce7ab2620 Translation template files for all modules. 2022-04-08 16:50:45 +02:00
Stefan Rijnhart
323f94b215 Retrieve current date in user's timezone [FIX] Default to current date instead of tomorrow 2022-04-08 16:50:45 +02:00
Erwin van der Ploeg
b4704466fe Added translations to all banking modules in use in the Netherlands 2022-04-08 16:50:45 +02:00
Stéphane Bidoul
13629b183f [RFR] 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
- clarified comment about workflow in account_banking_sepa_credit_transfer
- avoid generating invalid sepa credit transfer files when bank accounts have no BIC
2022-04-08 16:50:45 +02:00
Alexis de Lattre
aae4179267 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. 2022-04-08 16:50:45 +02:00
Stefan Rijnhart
40446888ba [IMP] account_banking_sepa_credit_transfer: 3 things
* Small API changes
* Updated two additional imports to new API
* A payment mode type needs a suitable bank type
2022-04-08 16:50:45 +02:00
unknown
d8293ed3ca account_banking_sepa_credit_transfer implementing SEPA SCT pain 2022-04-08 16:50:45 +02:00
OCA-git-bot
b44fa5b526 [ADD] setup.py 2022-04-06 15:49:38 +00:00
OCA-git-bot
36a7589f83 [UPD] README.rst 2022-04-06 15:49:38 +00:00
OCA-git-bot
9f2003b563 [UPD] addons table in README.md 2022-04-06 15:49:37 +00:00
oca-ci
c1d27b65b1 [UPD] Update account_banking_pain_base.pot 2022-04-06 15:46:28 +00:00
OCA-git-bot
e53819ada9 Merge PR #912 into 15.0
Signed-off-by HaraldPanten
2022-04-06 15:43:12 +00:00
OCA-git-bot
d55d6f619f [ADD] setup.py 2022-04-05 14:46:31 +00:00
OCA-git-bot
cdbbf87dab [UPD] README.rst 2022-04-05 14:46:31 +00:00
OCA-git-bot
22363b5ae3 [UPD] addons table in README.md 2022-04-05 14:46:29 +00:00
oca-ci
6664780024 [UPD] Update account_payment_sale.pot 2022-04-05 14:43:39 +00:00
OCA-git-bot
0d27be03e3 Merge PR #913 into 15.0
Signed-off-by HaraldPanten
2022-04-05 14:40:54 +00:00
manu
260445f5fb [MIG]account_payment_sale: Migration to 15.0 2022-04-05 11:17:25 +02:00
manu
adb1c07a8a [IMP]account_payment_sale: black, isort, prettier 2022-04-05 10:57:35 +02:00
Olga Marco Puértolas
e5b2517a39 Translated using Weblate (Spanish)
Currently translated at 80.0% (4 of 5 strings)

Translation: bank-payment-14.0/bank-payment-14.0-account_payment_sale
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_payment_sale/es/
2022-04-05 10:56:14 +02:00
Francesco Foresti
205c1a16c0 Translated using Weblate (Italian)
Currently translated at 100.0% (7 of 7 strings)

Translation: bank-payment-14.0/bank-payment-14.0-account_payment_sale
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_payment_sale/it/
2022-04-05 10:56:14 +02:00
Francesco Foresti
e79b31539e Added translation using Weblate (Italian) 2022-04-05 10:56:14 +02:00
Simon S
4f68a961d0 Translated using Weblate (Swedish)
Currently translated at 85.7% (6 of 7 strings)

Translation: bank-payment-14.0/bank-payment-14.0-account_payment_sale
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_payment_sale/sv/
2022-04-05 10:56:14 +02:00
Simon S
6abb3ec92d Added translation using Weblate (Swedish) 2022-04-05 10:56:14 +02:00
Pedro M. Baeza
b83a5f6835 [FIX] account_payment_sale: Adapt tests to 18489012
The expected one is to not have partner bank set, as we don't want the
invoice is printed with such bank account forced.
2022-04-05 10:56:14 +02:00
Bosd
02301453f9 Translated using Weblate (Dutch)
Currently translated at 80.0% (4 of 5 strings)

Translation: bank-payment-14.0/bank-payment-14.0-account_payment_sale
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_payment_sale/nl/
2022-04-05 10:56:14 +02:00
Yves Le Doeuff
6996189b7f Translated using Weblate (French (France))
Currently translated at 85.7% (6 of 7 strings)

Translation: bank-payment-14.0/bank-payment-14.0-account_payment_sale
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_payment_sale/fr_FR/
2022-04-05 10:56:14 +02:00
Yves Le Doeuff
6084cfab18 Added translation using Weblate (French (France)) 2022-04-05 10:56:14 +02:00
OCA Transbot
9aa0c0ee10 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: bank-payment-14.0/bank-payment-14.0-account_payment_sale
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_payment_sale/
2022-04-05 10:56:14 +02:00
OCA-git-bot
5b330029d8 [UPD] README.rst 2022-04-05 10:56:14 +02:00
oca-travis
4cb0657b7f [UPD] Update account_payment_sale.pot 2022-04-05 10:56:14 +02:00
Alexis de Lattre
b0f8015187 [MIG] account_payment_sale to 14.0 2022-04-05 10:56:14 +02:00
Carlos Dauden
7a05a97e67 [FIX] account_payment_sale: Compatibility with account_banking_sepa_direct_debit
Steps to reproduce the problem:

- Set a payment mode with fixed journal and set the journal with bank account A.
- Create a sales order and put bank account B.
- Create invoice.
- Bank account in invoice is A instead of B.
2022-04-05 10:56:14 +02:00
Ignacio Buioli
9ccd282b5b Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (5 of 5 strings)

Translation: bank-payment-13.0/bank-payment-13.0-account_payment_sale
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-13-0/bank-payment-13-0-account_payment_sale/es_AR/
2022-04-05 10:56:14 +02:00
OCA Transbot
c8bc075fdb Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: bank-payment-13.0/bank-payment-13.0-account_payment_sale
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-13-0/bank-payment-13-0-account_payment_sale/
2022-04-05 10:56:14 +02:00
Rodrigo Macedo
20bf473db2 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (5 of 5 strings)

Translation: bank-payment-13.0/bank-payment-13.0-account_payment_sale
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-13-0/bank-payment-13-0-account_payment_sale/pt_BR/
2022-04-05 10:56:14 +02:00
Ignacio Buioli
281cfa1816 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (5 of 5 strings)

Translation: bank-payment-13.0/bank-payment-13.0-account_payment_sale
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-13-0/bank-payment-13-0-account_payment_sale/es_AR/
2022-04-05 10:56:14 +02:00
Ignacio Buioli
7daff5ef91 Added translation using Weblate (Spanish (Argentina)) 2022-04-05 10:56:14 +02:00
OCA-git-bot
08d78c4306 pre-commit update 2022-04-05 10:56:14 +02:00