Commit Graph

24 Commits

Author SHA1 Message Date
Marçal Isern
f268125f3e [MIG] account_payment_partner: Migration to 14.0 2020-10-20 07:32:03 +02:00
Atchuthan Ubendran
04887b91bd [FIX] account_payment_partner: payment_mode_id default not set for Refund 2020-10-20 07:32:03 +02:00
mreficent
057c034215 [MIG] account_payment_purchase: Migration to 13.0 2020-10-20 07:32:03 +02:00
mreficent
235d5ae222 [IMP] account_payment_purchase: black, isort 2020-10-20 07:32:03 +02:00
Raf Ven
0f23ec3a97 [MIG] account_payment_sale: Migration to 13.0 2020-10-20 07:32:03 +02:00
Raf Ven
832bdb54fe [MIG] account_payment_partner: Migration to 13.0 2020-10-20 07:32:03 +02:00
Raf Ven
615dc1bdf0 [IMP] account_payment_partner: black, isort 2020-10-20 07:32:03 +02:00
Guewen Baconnier
36b37cc343 Add indexes on account payment models
The fields where the indexes are added are used in searches in
account_payment_order, which becomes really slow when a database have
many lines.
2020-10-20 07:32:03 +02:00
Pedro M. Baeza
104a3fda20 [MIG] account_banking_pain_base: Migration to 12.0
* Standard migration procedure
* README by fragments
* Fixed tests
* Change
* Fix related no readonly in account_banking_pain_base
* Override default partner bank account check on account_payment_partner
* Convert Python date to string
2020-10-20 07:32:03 +02:00
Pedro M. Baeza
e18d94343d [MIG] account_payment_partner: Adapt tests + code to latest version 2020-10-20 07:32:03 +02:00
cubells
1eac10f419 [IMP] account_payment_partner: Add several tests 2020-10-20 07:32:03 +02:00
Carlos Dauden
06dad984f8 [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.
2020-10-20 07:32:03 +02:00
Adrien Peiffer (ACSONE)
5cb20dd568 [CHG] account_payment_partner: Prevent to delete bank account linked on invoices. 2020-10-20 07:32:03 +02:00
Andrea
a8046cb3b5 [11.0][FIX] account_payment_partner: onchange if more than one bank 2020-10-20 07:32:03 +02:00
oihane
f7c9f99737 [FIX] account_payment_partner: impossible to define if there was no company in partner (#438) 2020-10-20 07:32:03 +02:00
Jordi Ballester
59f244b456 add tests and small fixes 2020-10-20 07:32:03 +02:00
etobella
6226f64fa1 [MIG] account_payment_partner 2020-10-20 07:32:03 +02:00
Pedro M. Baeza
361ca7a813 [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
2020-10-20 07:32:03 +02:00
Alexis de Lattre
2033a69b8d 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)
2020-10-20 07:32:03 +02:00
Alexis de Lattre
b000259c80 [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
2020-10-20 07:32:03 +02:00
Pedro M. Baeza
2bed641fd9 [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
2020-10-20 07:32:03 +02:00
Alexis de Lattre
d56cd97c2f [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
2020-10-20 07:32:03 +02:00
Alexis de Lattre
8ef2c8b143 [IMP] account_payment_partner: Several things:
* move unused file + cleanup code
* Add sale_ok and purchase_ok filters in partner/sale/purchase form views
* Use widget=selection for payment_mode_id fields
* Update demo data
* Return res in inherit (even if res is empty in this case)
2020-10-20 07:32:03 +02:00
Pedro M. Baeza
451a7dda0a [MIG] account_payment_partner: Migration to v8
* Migration and enhancement of all modules involved in SEPA
* Clean files
* Replace deprecated workflow calls
* Translation template files
* Translations to spanish
* Use sale_ok and purchase_ok instead of tweaking payment type
2020-10-20 07:32:03 +02:00