Commit Graph

51 Commits

Author SHA1 Message Date
mreficent
1704e8ae8a [IMP] account_payment_purchase: black, isort 2023-11-22 22:13:18 +01:00
OCA-git-bot
d2f07eba34 pre-commit update 2023-11-22 22:13:18 +01:00
Raf Ven
6fb95bbd95 [MIG] account_payment_sale: Migration to 13.0 2023-11-22 22:13:18 +01:00
OCA Transbot
0508a1fcb8 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_partner
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-13-0/bank-payment-13-0-account_payment_partner/
2023-11-22 22:13:18 +01:00
OCA-git-bot
9c405389c1 [UPD] README.rst 2023-11-22 22:13:18 +01:00
oca-travis
0dc043faed [UPD] Update account_payment_partner.pot 2023-11-22 22:13:18 +01:00
Raf Ven
c291c0f6fc [MIG] account_payment_partner: Migration to 13.0 2023-11-22 22:13:18 +01:00
Raf Ven
1ec4093c3a [IMP] account_payment_partner: black, isort 2023-11-22 22:13:18 +01:00
Jaume Planas
0f4304d0b9 Translated using Weblate (Catalan)
Currently translated at 100.0% (30 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/
2023-11-22 22:13:18 +01:00
OCA-git-bot
c90a6bb92f [UPD] README.rst 2023-11-22 22:13:18 +01:00
Raf Ven
95acc9500a [FIX] test_invoice_refund
The test checks on empty bank account but with Odoo commit d5688e6ca0 (diff-f3712147f4b25231caa371bd83265dbe) the company bank account gets defaulted when not specified
2023-11-22 22:13:18 +01:00
Guewen Baconnier
abcd792808 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.
2023-11-22 22:13:18 +01:00
altoch
f3f1b00bbd 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
2023-11-22 22:13:18 +01:00
Jaume Planas
cd01837c6b 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/
2023-11-22 22:13:18 +01:00
OCA Transbot
1b00c14066 Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2023-11-22 22:13:18 +01:00
Pedro M. Baeza
50048895c9 [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
2023-11-22 22:13:18 +01:00
oca-travis
2d83b9c078 [UPD] Update account_payment_partner.pot 2023-11-22 22:13:18 +01:00
Pedro M. Baeza
aaf4d65c7e [MIG] account_payment_partner: Fix tests for new version 2023-11-22 22:13:18 +01:00
Mourad
4bfab09b3b [MIG] account_payment_partner: migrate to 12.0 2023-11-22 22:13:18 +01:00
Pedro M. Baeza
dd68f62db7 [MIG] account_payment_partner: Adapt tests + code to latest version 2023-11-22 22:13:18 +01:00
cubells
ab3c2f0cc5 [IMP] account_payment_partner: Add several tests 2023-11-22 22:13:18 +01:00
Carlos Dauden
b9ad9f3076 [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.
2023-11-22 22:13:18 +01:00
Enric Tobella
b1852a0efd 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/
2023-11-22 22:13:18 +01:00
OCA Transbot
4f1ecbffbc OCA Transbot updated translations from Transifex 2023-11-22 22:13:18 +01:00
Adrien Peiffer (ACSONE)
b5fcacd2ca [CHG] account_payment_partner: Prevent to delete bank account linked on invoices. 2023-11-22 22:13:18 +01:00
Andrea
10ce669a9e [11.0][FIX] account_payment_partner: onchange if more than one bank 2023-11-22 22:13:18 +01:00
François Honoré
864cc768fb [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
2023-11-22 22:13:18 +01:00
oihane
c4be6a810a [FIX] account_payment_partner: impossible to define if there was no company in partner (#438) 2023-11-22 22:13:18 +01:00
OCA Transbot
1eab6352e3 OCA Transbot updated translations from Transifex 2023-11-22 22:13:18 +01:00
Jordi Ballester
450142073b add tests and small fixes 2023-11-22 22:13:18 +01:00
etobella
b0efca7955 [MIG] account_payment_partner 2023-11-22 22:13:18 +01:00
OCA Transbot
af567f6c7a OCA Transbot updated translations from Transifex 2023-11-22 22:13:18 +01:00
Pedro M. Baeza
d8358bb035 [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
2023-11-22 22:13:18 +01:00
Alexis de Lattre
9f682697ef 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)
2023-11-22 22:13:18 +01:00
OCA Transbot
14f293e5b4 OCA Transbot updated translations from Transifex 2023-11-22 22:13:18 +01:00
Alexis de Lattre
ae429549ce [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
2023-11-22 22:13:18 +01:00
Pedro M. Baeza
75fa499e4e [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
2023-11-22 22:13:18 +01:00
Alexis de Lattre
bc636ae56f [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
2023-11-22 22:13:18 +01:00
Holger Brunn
e233e41a2f [RFR] decorate overridable methods in wizard as api.multi 2023-11-22 22:13:18 +01:00
AngelMoya-Domatix
b45e947b72 ADD description on payment mode and show it on invoice report
FIX tabs

FIX translate
2023-11-22 22:13:18 +01:00
Philippe Schmidt
30651cee2b Add requested descriptions in an OCA README.rst file 2023-11-22 22:13:18 +01:00
Pedro M. Baeza
7ec9ad730e [IMP] Expand authors + manifest cleaning 2023-11-22 22:13:18 +01:00
Pedro M. Baeza
52babc8f1e [FIX] account_payment_partner: Fix for finding account move lines without invoice (manual entries in receivables/payables) 2023-11-22 22:13:18 +01:00
Alexis de Lattre
6e2d618370 Add read access on payment.mode to employees 2023-11-22 22:13:18 +01:00
Danimar Ribeiro
8f3ee8b40f Portuguese translations 2023-11-22 22:13:18 +01:00
Alexis de Lattre
04fdd7f547 [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)
2023-11-22 22:13:18 +01:00
Roberto Lizana
d530c966fc [FIX+IMP] account_payment_partner: 2 things:
* IMP: Add filter group by payment mode in account invoices
* FIX: Remove deprecated tag type
2023-11-22 22:13:18 +01:00
Pedro M. Baeza
e0fcc36ac9 [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
2023-11-22 22:13:18 +01:00
Launchpad Translations on behalf of banking-addons-team
8025f32745 Launchpad automatic translations update. 2023-11-22 22:13:18 +01:00
Alexis de Lattre
ba4bbd136a 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.
2023-11-22 22:13:18 +01:00