Commit Graph

101 Commits

Author SHA1 Message Date
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
Alexis de Lattre
406050d77e account_payment_mode: allow cash journals 2021-11-23 09:53:16 +01:00
Pedro Castro Silva
85772e5b3f Translated using Weblate (Portuguese)
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/pt/
2021-11-23 09:53:16 +01:00
Yves Le Doeuff
4e0c9dc436 Translated using Weblate (French)
Currently translated at 98.0% (51 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/fr/
2021-11-23 09:53:16 +01:00
Ignacio Buioli
90401d38f7 Translated using Weblate (Spanish (Argentina))
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/es_AR/
2021-11-23 09:53:16 +01:00
Bosd
5bff665c0d Translated using Weblate (Dutch)
Currently translated at 90.3% (47 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/nl/
2021-11-23 09:53:16 +01:00
OCA Transbot
11bad6a214 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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/
2021-11-23 09:53:16 +01:00
OCA-git-bot
418e66194c account_payment_mode 14.0.1.0.1 2021-11-23 09:53:16 +01:00
oca-travis
6b7e57d5d6 [UPD] Update account_payment_mode.pot 2021-11-23 09:53:16 +01:00
Alexis de Lattre
76ab62528b account_payment_mode: use _check_company_auto = True on account.payment.mode 2021-11-23 09:53:16 +01:00
Nelson Ramírez Sánchez
509e5cbbb4 Translated using Weblate (Spanish (Chile))
Currently translated at 100.0% (53 of 53 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/es_CL/
2021-11-23 09:53:16 +01:00
Nelson Ramírez Sánchez
c76fccf770 Translated using Weblate (Spanish)
Currently translated at 100.0% (53 of 53 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/es/
2021-11-23 09:53:16 +01:00
Nelson Ramírez Sánchez
2812a3bf48 Added translation using Weblate (Spanish (Chile)) 2021-11-23 09:53:16 +01:00
Yves Le Doeuff
feb685fb4c Translated using Weblate (French (France))
Currently translated at 100.0% (53 of 53 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/fr_FR/
2021-11-23 09:53:16 +01:00
Yves Le Doeuff
bff97fc5ef Added translation using Weblate (French (France)) 2021-11-23 09:53:16 +01:00