Commit Graph

115 Commits

Author SHA1 Message Date
Guewen Baconnier
672d8697c7 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.
2021-12-28 15:40:12 +01:00
altoch
c5b634b764 Update invoice_supplier_form view
Set proper context to partner_bank_id field so on bank account number creation it's set the correct owner
2021-12-28 15:40:12 +01:00
Jaume Planas
afb03f5f7d Translated using Weblate (Catalan)
Currently translated at 10.0% (3 of 30 strings)

Translation: bank-payment-12.0/bank-payment-12.0-account_payment_partner
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-12-0/bank-payment-12-0-account_payment_partner/ca/
2021-12-28 15:40:12 +01:00
OCA Transbot
88926b1c12 Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2021-12-28 15:40:12 +01:00
Pedro M. Baeza
8f3d062a6a [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
2021-12-28 15:40:12 +01:00
oca-travis
5f8f307515 [UPD] Update account_payment_partner.pot 2021-12-28 15:40:12 +01:00
Pedro M. Baeza
420c728554 [MIG] account_payment_partner: Fix tests for new version 2021-12-28 15:40:12 +01:00
Mourad
b0eceb5192 [MIG] account_payment_partner: migrate to 12.0 2021-12-28 15:40:12 +01:00
Pedro M. Baeza
217673e242 [MIG] account_payment_partner: Adapt tests + code to latest version 2021-12-28 15:40:12 +01:00
cubells
1df716b56f [IMP] account_payment_partner: Add several tests 2021-12-28 15:40:12 +01:00
Carlos Dauden
250e7a2f0c [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.
2021-12-28 15:40:12 +01:00
Enric Tobella
a50955d0b3 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/
2021-12-28 15:40:12 +01:00
OCA Transbot
27c89b79c0 OCA Transbot updated translations from Transifex 2021-12-28 15:40:12 +01:00
Adrien Peiffer (ACSONE)
cedfcf55a1 [CHG] account_payment_partner: Prevent to delete bank account linked on invoices. 2021-12-28 15:40:12 +01:00
Andrea
cab3543e95 [11.0][FIX] account_payment_partner: onchange if more than one bank 2021-12-28 15:40:12 +01:00
François Honoré
ba32114ebb [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
2021-12-28 15:40:12 +01:00
oihane
e2e755843f [FIX] account_payment_partner: impossible to define if there was no company in partner (#438) 2021-12-28 15:40:12 +01:00
OCA Transbot
117d8236f5 OCA Transbot updated translations from Transifex 2021-12-28 15:40:12 +01:00
Jordi Ballester
c93ea9fc34 add tests and small fixes 2021-12-28 15:40:12 +01:00
etobella
73d7f2d984 [MIG] account_payment_partner 2021-12-28 15:40:12 +01:00
OCA Transbot
ae5d29e83c OCA Transbot updated translations from Transifex 2021-12-28 15:40:12 +01:00
Pedro M. Baeza
7f11b30b7c [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
2021-12-28 15:40:12 +01:00
Alexis de Lattre
d51a2c4c85 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)
2021-12-28 15:40:12 +01:00
OCA Transbot
0f53509db2 OCA Transbot updated translations from Transifex 2021-12-28 15:40:12 +01:00
Alexis de Lattre
76675ef83f [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
2021-12-28 15:40:12 +01:00
Pedro M. Baeza
82f66dd908 [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
2021-12-28 15:40:12 +01:00
Alexis de Lattre
0e0765c910 [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
2021-12-28 15:40:12 +01:00
Holger Brunn
d4fe4b14ef [RFR] decorate overridable methods in wizard as api.multi 2021-12-28 15:40:12 +01:00
AngelMoya-Domatix
4c5cb6ec98 ADD description on payment mode and show it on invoice report
FIX tabs

FIX translate
2021-12-28 15:40:12 +01:00
Philippe Schmidt
8c116bbf8c Add requested descriptions in an OCA README.rst file 2021-12-28 15:40:12 +01:00
Pedro M. Baeza
4a1e70986a [IMP] Expand authors + manifest cleaning 2021-12-28 15:40:12 +01:00
Pedro M. Baeza
4f3ba5bdd3 [FIX] account_payment_partner: Fix for finding account move lines without invoice (manual entries in receivables/payables) 2021-12-28 15:40:12 +01:00
Alexis de Lattre
1892e98787 Add read access on payment.mode to employees 2021-12-28 15:40:12 +01:00
Danimar Ribeiro
7bfbe84855 Portuguese translations 2021-12-28 15:40:12 +01:00
Alexis de Lattre
d625e89c26 [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)
2021-12-28 15:40:12 +01:00
Roberto Lizana
a1f03bad47 [FIX+IMP] account_payment_partner: 2 things:
* IMP: Add filter group by payment mode in account invoices
* FIX: Remove deprecated tag type
2021-12-28 15:40:12 +01:00
Pedro M. Baeza
4dc7d6c10d [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
2021-12-28 15:40:12 +01:00
Launchpad Translations on behalf of banking-addons-team
944c013e40 Launchpad automatic translations update. 2021-12-28 15:40:12 +01:00
Alexis de Lattre
58004e6bca 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.
2021-12-28 15:40:12 +01:00
OCA-git-bot
68981a58fc [ADD] setup.py 2021-12-28 09:09:41 +00:00
OCA-git-bot
919f2dcae4 [UPD] README.rst 2021-12-28 09:09:41 +00:00
OCA-git-bot
2b988c388d [UPD] addons table in README.md 2021-12-28 09:09:40 +00:00
oca-ci
ef1de11613 [UPD] Update account_payment_mode.pot 2021-12-28 09:07:33 +00:00
OCA-git-bot
0dc788dc27 Merge PR #870 into 15.0
Signed-off-by simahawk
2021-12-28 09:05:34 +00:00
Marçal Isern
234535bdfd [MIG] account_payment_mode: Migration to 15.0 2021-12-27 16:54:24 +01:00
Simon S
f22e6370f8 Translated using Weblate (Swedish)
Currently translated at 100.0% (52 of 52 strings)

Translation: bank-payment-14.0/bank-payment-14.0-account_payment_mode
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_payment_mode/sv/
2021-12-27 16:54:24 +01:00
Simon S
a584f68c86 Added translation using Weblate (Swedish) 2021-12-27 16:54:24 +01:00
jabelchi
af910b1fb3 Translated using Weblate (Catalan)
Currently translated at 100.0% (52 of 52 strings)

Translation: bank-payment-14.0/bank-payment-14.0-account_payment_mode
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_payment_mode/ca/
2021-11-23 09:53:16 +01:00
Francesco Foresti
c44913c016 Translated using Weblate (Italian)
Currently translated at 61.5% (32 of 52 strings)

Translation: bank-payment-14.0/bank-payment-14.0-account_payment_mode
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_payment_mode/it/
2021-11-23 09:53:16 +01:00
Alexis de Lattre
a602dc92f1 Update test suite
Fix bug in account_banking_mandate when a res.partner.bank is not attached to a particular company (company_id is NOT required on res.partner.bank)
2021-11-23 09:53:16 +01:00