Commit Graph

101 Commits

Author SHA1 Message Date
Laurent Mignon (ACSONE)
02eaeebde0 [FIX] account_payment_sale: Propagate payment_mode to invoices created from a call to sale.action_invoice_create
Into the normal process of the invoice creation from a sale order by odoo, the onchange_partner is called. In some case, this call will reset the specific payment_mode and/or partner_bank_id set on the sale_order.
To fix this issue, we must override the _finalize_invoices method, take a snapshot of these values before the call to super and restore these values if these are changed.
fixes #536
2020-01-23 13:47:29 +01:00
黎伟杰
c21e47f9e5 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (4 of 4 strings)

Translation: bank-payment-12.0/bank-payment-12.0-account_payment_sale
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-12-0/bank-payment-12-0-account_payment_sale/zh_CN/
2020-01-23 13:47:29 +01:00
黎伟杰
7bf02d2260 Added translation using Weblate (Chinese (Simplified)) 2020-01-23 13:47:29 +01:00
Rodrigo Macedo
9dfa7c52fe Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (4 of 4 strings)

Translation: bank-payment-12.0/bank-payment-12.0-account_payment_sale
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-12-0/bank-payment-12-0-account_payment_sale/pt_BR/
2020-01-23 13:47:29 +01:00
oca-travis
6a6a26e240 [UPD] Update account_payment_sale.pot 2020-01-23 13:47:29 +01:00
Pedro M. Baeza
7aeaf62851 [MIG] account_payment_sale: Adapt tests to v12 2020-01-23 13:47:29 +01:00
Mourad
b1d5672257 [MIG] account_payment_sale: migrate to 12.0 2020-01-23 13:47:29 +01:00
Enric Tobella
b5014f504d 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/
2020-01-23 13:47:29 +01:00
OCA Transbot
bbd2996814 OCA Transbot updated translations from Transifex 2020-01-23 13:47:29 +01:00
mpanarin
5572e3e432 [IMP] account_payment_sale: Add tests to increase coverage 2020-01-23 13:47:29 +01:00
Artem Kostyuk
64a7393d26 [MIG] account_payment_sale: Migrate to 11.0 2020-01-23 13:47:29 +01:00
cubells
e66a560ebe [IMP] account_payment_sale: add payment mode to sale report 2020-01-23 13:47:29 +01:00
Alexis de Lattre
1915a843c2 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-01-23 13:47:29 +01:00
OCA Transbot
125f77a3d4 OCA Transbot updated translations from Transifex 2020-01-23 13:47:29 +01:00
Pedro M. Baeza
8ddc656d02 [IMP] Remove unused POT files 2020-01-23 13:47:29 +01:00
Alexis de Lattre
8841ebdde6 [MIG] account_payment_sale: Migration to v9 2020-01-23 13:47:29 +01:00
Philippe Schmidt
f95e1efe8d Add requested descriptions in an OCA README.rst file 2020-01-23 13:47:29 +01:00
Danimar Ribeiro
6360432294 Portuguese translations 2020-01-23 13:47:29 +01:00
Pedro M. Baeza
76e4447345 [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
2020-01-23 13:47:29 +01:00
Launchpad Translations on behalf of banking-addons-team
7a2dde4784 Launchpad automatic translations update. 2020-01-23 13:47:29 +01:00
Alexis de Lattre
1e920992c2 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.
2020-01-23 13:47:29 +01:00
OCA Transbot
1757f97b11 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_mode
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-13-0/bank-payment-13-0-account_payment_mode/
2020-01-23 08:36:06 +00:00
OCA-git-bot
1612512e9c [ADD] setup.py 2020-01-23 08:35:56 +00:00
OCA-git-bot
76a779fbdd [UPD] README.rst 2020-01-23 08:35:56 +00:00
oca-travis
01b7bd5884 [UPD] Update account_payment_partner.pot 2020-01-23 08:29:02 +00:00
OCA-git-bot
cdae7624f6 Merge PR #649 into 13.0
Signed-off-by pedrobaeza
2020-01-23 08:21:41 +00:00
Raf Ven
b6ef376371 [MIG] account_payment_partner: Migration to 13.0 2019-12-19 11:28:34 +01:00
Raf Ven
7c4fcab6f6 [IMP] account_payment_partner: black, isort 2019-12-17 14:44:20 +01:00
Jaume Planas
6d9340abcf 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/
2019-12-17 14:44:20 +01:00
OCA-git-bot
484d60653c [UPD] README.rst 2019-12-17 14:44:20 +01:00
Raf Ven
2cd4ce31c1 [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
2019-12-17 14:44:20 +01:00
Guewen Baconnier
4d395173cb 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.
2019-12-17 14:44:20 +01:00
altoch
effd486a7c 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
2019-12-17 14:44:20 +01:00
Jaume Planas
d08f65f161 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/
2019-12-17 14:44:20 +01:00
OCA Transbot
0394ba2746 Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2019-12-17 14:44:20 +01:00
Pedro M. Baeza
90d4d4579a [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
2019-12-17 14:44:20 +01:00
oca-travis
c7066aeed6 [UPD] Update account_payment_partner.pot 2019-12-17 14:44:20 +01:00
Pedro M. Baeza
8bec1bcfc8 [MIG] account_payment_partner: Fix tests for new version 2019-12-17 14:44:20 +01:00
Mourad
787d3f792e [MIG] account_payment_partner: migrate to 12.0 2019-12-17 14:44:20 +01:00
Pedro M. Baeza
b8ba454e6f [MIG] account_payment_partner: Adapt tests + code to latest version 2019-12-17 14:44:20 +01:00
cubells
f986b42414 [IMP] account_payment_partner: Add several tests 2019-12-17 14:44:20 +01:00
Carlos Dauden
3d5e268eee [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.
2019-12-17 14:44:20 +01:00
Enric Tobella
f315613dbc 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/
2019-12-17 14:44:20 +01:00
OCA Transbot
b857533043 OCA Transbot updated translations from Transifex 2019-12-17 14:44:20 +01:00
Adrien Peiffer (ACSONE)
633ea133bc [CHG] account_payment_partner: Prevent to delete bank account linked on invoices. 2019-12-17 14:44:20 +01:00
Andrea
dcdb0b78d8 [11.0][FIX] account_payment_partner: onchange if more than one bank 2019-12-17 14:44:20 +01:00
François Honoré
3c2aba7700 [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
2019-12-17 14:44:20 +01:00
oihane
599e0d80d2 [FIX] account_payment_partner: impossible to define if there was no company in partner (#438) 2019-12-17 14:44:20 +01:00
OCA Transbot
a537b6f06c OCA Transbot updated translations from Transifex 2019-12-17 14:44:20 +01:00
Jordi Ballester
b234ee0ce7 add tests and small fixes 2019-12-17 14:44:20 +01:00