Commit Graph

81 Commits

Author SHA1 Message Date
Alexis de Lattre
d05b404796 [FIX] account_payment_order: 4 things:
* Fix crash when selecting a customer that has a direct debit payment mode but no mandate
* Hide many fields when payment_order_ok is False on a payment_mode
* Fix payment line communication when the move line is not linked to an invoice (problem found when porting donation_debit_debit to v9)
* For the communication field, if self.move_id.ref is False, fallback on self.move_id.name
2018-12-13 16:49:59 +01:00
Stéphane Bidoul (ACSONE)
e3f19d9d1b [FIX+IMP] account_payment_order: 2 more things:
* IMP: extensibility of _prepare_move

  Pass the list of bank lines to _prepare_move so it is possible to customize the move (eg it's name) based on the lines being paid.

* FIX: payment order: add missing onchange dependencies in move selection wizard
2018-12-13 16:49:11 +01:00
Yannick Vaucher
03684a5092 Move the account_payment_mode ir.rule in account_payment_mode module 2018-12-13 16:48:31 +01:00
Pedro M. Baeza
ec7c3facc3 [IMP] account_payment_order: Remove useless migration script 2018-12-13 16:48:31 +01:00
Alexis de Lattre
3a135fcba8 Add support for multi-currency in the generation of the account move.
Take into account all the remaining remarks of Frederic Clementi dated May 30:
- see multi-currency amounts in the wizard to add transaction lines
- add help msg on bank payment lines
2018-12-13 16:48:31 +01:00
Stéphane Bidoul
d8494aef0d [FIX+IMP] account_payment_order: 2 things:
* IMP: prevent deleting a move-line that is linked to a payment order line
* FIX: better filtering of move lines already included in open payment order
2018-12-13 16:48:12 +01:00
Alexis de Lattre
c51c659623 Start to port bank-payment to v9 (with a lot of improvements) during the Sorrento Code sprint 2016
Improvements include:
- full re-organisation of modules and big re-organisation of the code
- simplification of the code related to the fact that support for direct debit is now in t
he base module, not added by an optional module account_direct_debit (module was removed)
- new design of the wizard to select move lines to pay
- support for non-SEPA file transfer-
- support for German direct debit SEPA files (fixes bug #129)
- remove workflow of payment.order
- add wizard of selection of move lines to pay
2018-12-13 16:47:14 +01:00
OCA-git-bot
5f51370795 [ADD] setup.py 2018-12-13 15:33:25 +00:00
Pedro M. Baeza
4b441842a1 Merge pull request #511 from akretion/12.0-mig-account_payment_sale
12.0 mig account payment sale
2018-12-13 16:33:20 +01:00
Pedro M. Baeza
9ca9ef343d [MIG] account_payment_sale: Adapt tests to v12 2018-12-13 16:13:37 +01:00
Mourad
2ea517a97a [MIG] account_payment_sale: migrate to 12.0 2018-12-13 16:13:37 +01:00
Enric Tobella
04799016d3 Translated using Weblate (Español (España))
Currently translated at 100,0% (4 of 4 strings)

Translation: bank-payment-11.0/bank-payment-11.0-account_payment_sale
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-11-0/bank-payment-11-0-account_payment_sale/es/
2018-12-13 16:13:37 +01:00
OCA Transbot
2a76328586 OCA Transbot updated translations from Transifex 2018-12-13 16:13:37 +01:00
mpanarin
cb1ebadcc0 [IMP] account_payment_sale: Add tests to increase coverage 2018-12-13 16:13:37 +01:00
Artem Kostyuk
405b9bd98b [MIG] account_payment_sale: Migrate to 11.0 2018-12-13 16:12:25 +01:00
cubells
b21033958b [IMP] account_payment_sale: add payment mode to sale report 2018-12-13 16:12:25 +01:00
Alexis de Lattre
da03d8883a 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)
2018-12-13 16:12:25 +01:00
OCA Transbot
4d3a8b97a6 OCA Transbot updated translations from Transifex 2018-12-13 16:12:25 +01:00
Pedro M. Baeza
0b435c220c [IMP] Remove unused POT files 2018-12-13 16:12:25 +01:00
Alexis de Lattre
94fd37425a [MIG] account_payment_sale: Migration to v9 2018-12-13 16:12:25 +01:00
Philippe Schmidt
16502067bf Add requested descriptions in an OCA README.rst file 2018-12-13 16:11:58 +01:00
Danimar Ribeiro
4479446a46 Portuguese translations 2018-12-13 16:11:58 +01:00
Pedro M. Baeza
b47ad9b771 [MIG] account_payment_sale: Migration to 8.0
* Migration and enhancement of all modules involved in SEPA
* Remove duplicated files
* Check if payment mode is set in the propagation
* Clean files
* account_payment_sale_stock: Split for removing stock dependency on sale
* Remove old translations templates
* Reorder on folder structure
* Translation template files
* Translations to spanish
* Use sale_ok and purchase_ok instead of tweaking payment type
* Add sale_ok and purchase_ok filters in partner/sale/purchase form views
* Use widget=selection for payment_mode_id fields
* Update demo data
2018-12-13 16:11:58 +01:00
Launchpad Translations on behalf of banking-addons-team
cdf1be4673 Launchpad automatic translations update. 2018-12-13 16:09:10 +01:00
Alexis de Lattre
83212fccfb Add 4 new modules to handle payment type and bank accounts:
- account_payment_partner
- account_payment_sale
- account_payment_sale_stock
- account_payment_purchase

Filter the selection of invoices per payment type.
Add active field on payment.mode and payment.mode.type.
Add menu entry for Payment Types.
2018-12-13 16:09:10 +01:00
oca-travis
dbabdebec7 [UPD] Update account_payment_partner.pot 2018-12-13 13:31:25 +00:00
OCA-git-bot
8671b19208 [ADD] setup.py 2018-12-13 13:24:00 +00:00
Pedro M. Baeza
906a5e363b Merge pull request #510 from akretion/12.0-mig-account_payment_partner
12.0 mig account payment partner
2018-12-13 14:23:55 +01:00
Pedro M. Baeza
98de40cbd5 [MIG] account_payment_partner: Fix tests for new version 2018-12-13 14:11:48 +01:00
Mourad
c54bdbdeba [MIG] account_payment_partner: migrate to 12.0 2018-12-13 13:26:24 +01:00
Pedro M. Baeza
d6070a5481 [MIG] account_payment_partner: Adapt tests + code to latest version 2018-12-13 13:22:10 +01:00
cubells
2fd992a284 [IMP] account_payment_partner: Add several tests 2018-12-13 13:22:10 +01:00
Carlos Dauden
8f2fa4eace [FIX+IMP] account_payment_partner: Fix invoice bank account assignation + show it on invoice report
* IMP: Add options to show partner bank account on invoice report
* FIX: Don't auto-assign partner bank account due to problems when you have a direct debit payment
  method with bank_account_link = 'fixed'. Bank account is shown through new mechanism.
2018-12-13 13:22:10 +01:00
Enric Tobella
05b56e7a19 Translated using Weblate (Español (España))
Currently translated at 100,0% (18 of 18 strings)

Translation: bank-payment-11.0/bank-payment-11.0-account_payment_partner
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-11-0/bank-payment-11-0-account_payment_partner/es/
2018-12-13 13:15:35 +01:00
OCA Transbot
c3b5dd4880 OCA Transbot updated translations from Transifex 2018-12-13 13:15:35 +01:00
Adrien Peiffer (ACSONE)
352ab88577 [CHG] account_payment_partner: Prevent to delete bank account linked on invoices. 2018-12-13 13:15:15 +01:00
Andrea
3f260c86ca [11.0][FIX] account_payment_partner: onchange if more than one bank 2018-12-13 13:15:15 +01:00
François Honoré
f989f92e37 [FIX] Fix issue when the bank_id of partner_bank_id is not set (field not mandatory) and create a traceback for the user
Use t-if
2018-12-13 13:15:15 +01:00
oihane
2a364ad32c [FIX] account_payment_partner: impossible to define if there was no company in partner (#438) 2018-12-13 13:15:15 +01:00
OCA Transbot
858c22c90b OCA Transbot updated translations from Transifex 2018-12-13 13:15:15 +01:00
Jordi Ballester
3de15f92fb add tests and small fixes 2018-12-13 13:11:23 +01:00
etobella
f42373abf9 [MIG] account_payment_partner 2018-12-13 13:11:23 +01:00
OCA Transbot
77e8dc6a0c OCA Transbot updated translations from Transifex 2018-12-13 13:11:23 +01:00
Pedro M. Baeza
e9f2133e76 [IMP] account_payment_partner: Several things:
* Change copyright and author after company merging
* Fill payment mode in invoices if none is provided

  Using same method as in upstream, payment mode is filled on invoice creation if
  no payment method is provided. This way, we don't need to install
  account_payment_sale if we don't want to handle several payment modes at sales
  level. Even more, if we install the module later and we have already existing
  sales orders without payment mode filled, those orders will be invoiced with
  the customer payment mode.

* Signature changed in convert_to_write
2018-12-13 13:11:23 +01:00
Alexis de Lattre
909bcbd72d 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)
2018-12-13 13:11:01 +01:00
OCA Transbot
ccda1ad44b OCA Transbot updated translations from Transifex 2018-12-13 13:11:01 +01:00
Alexis de Lattre
318287f085 [MIG] account_payment_partner: Start to port bank-payment to v9 (with a lot of improvements) during the Sorrento Code sprint 2016
Improvements include:
- full re-organisation of modules and big re-organisation of the code
- simplification of the code related to the fact that support for direct debit is now in t
he base module, not added by an optional module account_direct_debit (module was removed)
- new design of the wizard to select move lines to pay
- support for non-SEPA file transfer-
- support for German direct debit SEPA files (fixes bug #129)
- remove workflow of payment.order
* 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)
* Copy payment mode and mandate from invoice to refund
* Run dos2unix on the few files that had DOS carriage return
* Add _id suffix on M2O fields customer_payment_mode and supplier_payment_mode (Odoo did the same on all the M2O property fields of res.partner)
* Better handling of partner_bank_id and mandate_id on invoice: invisible/required/onchange
* Move field bank_account_required from module account_payment_partner to account_payment_mode
2018-12-13 13:07:56 +01:00
Pedro M. Baeza
93ae52c506 [IMP] account_payment_partner: Several things
* Short headers
* Remove label field

  There's already a field in the payment mode called 'note' that is
  printed on the invoices, so there's no need of another field for
  that purpose. This field is added by account_banking_payment_export

* Bump version numbers
* es translations
* Name to filter for better inheratiblity
2018-12-13 13:06:47 +01:00
Alexis de Lattre
85e753eb4a [FIX+IMP] account_payment_partner: Several things:
* Forgot to remove a usecase of debit_denied
* Add ACL
* Better filters on payment.order.create wizard
* Add default values for those filters on payment.mode
* FIX remove coma at end of line
* Add translatable 'label' field on payment.mode, designed to be used in invoice report
2018-12-13 13:06:01 +01:00
Holger Brunn
e79e5b3c9c [RFR] decorate overridable methods in wizard as api.multi 2018-12-13 13:04:12 +01:00