Commit Graph

45 Commits

Author SHA1 Message Date
Pedro M. Baeza
09f71e2ba0 [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
2019-12-17 14:44:20 +01:00
Alexis de Lattre
786f73f67c [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
2019-12-17 14:44:20 +01:00
Holger Brunn
822be5a4c3 [RFR] decorate overridable methods in wizard as api.multi 2019-12-17 14:44:20 +01:00
AngelMoya-Domatix
6908a0d54c ADD description on payment mode and show it on invoice report
FIX tabs

FIX translate
2019-12-17 14:44:20 +01:00
Philippe Schmidt
e3e273c91a Add requested descriptions in an OCA README.rst file 2019-12-17 14:44:20 +01:00
Pedro M. Baeza
e7f83726d0 [IMP] Expand authors + manifest cleaning 2019-12-17 14:44:20 +01:00
Pedro M. Baeza
91d48aa6c3 [FIX] account_payment_partner: Fix for finding account move lines without invoice (manual entries in receivables/payables) 2019-12-17 14:44:20 +01:00
Alexis de Lattre
03c216ad84 Add read access on payment.mode to employees 2019-12-17 14:44:19 +01:00
Danimar Ribeiro
4d9277a42b Portuguese translations 2019-12-17 14:44:19 +01:00
Alexis de Lattre
9918f584a7 [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)
2019-12-17 14:44:19 +01:00
Roberto Lizana
db619412b5 [FIX+IMP] account_payment_partner: 2 things:
* IMP: Add filter group by payment mode in account invoices
* FIX: Remove deprecated tag type
2019-12-17 14:44:19 +01:00
Pedro M. Baeza
e2d32a1cc9 [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
2019-12-17 14:44:19 +01:00
Launchpad Translations on behalf of banking-addons-team
15f0728fe9 Launchpad automatic translations update. 2019-12-17 14:44:19 +01:00
Alexis de Lattre
92ecae2d85 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.
2019-12-17 14:44:19 +01:00
黎伟杰
88fd50fbc7 Added translation using Weblate (Chinese (Simplified)) 2019-12-13 07:13:21 +00:00
OCA-git-bot
8187705332 [ADD] .editorconfig [ci skip] 2019-11-19 20:23:29 +01:00
OCA-git-bot
23e5cefde9 [ADD] setup.py 2019-11-09 01:32:57 +00:00
OCA-git-bot
9c6fc27166 [UPD] README.rst 2019-11-09 01:32:56 +00:00
oca-travis
3d0229a877 [UPD] Update account_payment_mode.pot 2019-11-09 01:27:29 +00:00
OCA-git-bot
263afc089d Merge PR #636 into 13.0
Signed-off-by pedrobaeza
2019-11-09 01:17:50 +00:00
Raf Ven
b68bd8dece [MIG] account_payment_mode: Migration to 13.0 2019-11-08 12:14:23 +01:00
Raf Ven
290a81aa1c [IMP] account_payment_mode: black, isort 2019-11-08 12:12:03 +01:00
Eric Lembregts
621fba51ab [MIG] account_payment_mode: Migration to 13.0 2019-11-08 12:11:11 +01:00
Jaume Planas
a4bd836918 Translated using Weblate (Catalan)
Currently translated at 49.1% (27 of 55 strings)

Translation: bank-payment-12.0/bank-payment-12.0-account_payment_mode
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-12-0/bank-payment-12-0-account_payment_mode/ca/
2019-11-08 12:11:11 +01:00
Pedro M. Baeza
ac86d0205c [FIX] account_payment_mode: Don't change acc_type field type
It's not needed and can cause problems.
2019-11-08 12:11:11 +01:00
Jon Zaballa
83b0c20c2f [11.0][FIX] account_payment_mode res.partner view banks group attribute
Description of the issue/feature this PR addresses:

The modules adds `{'invisible': [('parent_id', '!=', False)]}` attribute
to `banks` group on res.partner form view. The rationale for this,
according to a comment on the view itself is:
> ... there is a domain on the 'partner_id' field of res.partner.bank
(base module) which prevents the selection of a contact

However, the domain the comment refers to is
`['|', ('is_company', '=', True), ('parent_id', '=', False)]`
So, I think the domain for the group to be invisible should be
`[('parent_id', '!=', False), ('is_company', '=', False)]`. In addition,
a parent that is a company is always its own commercial partner. So we
should have access to its payment information.

Current behavior before PR:

Bank and mandates information is hidden when a partner is a company and
has a parent.

Desired behavior after PR is merged:

Banking information should be visible if a partner is a company.
2019-11-08 12:11:11 +01:00
Pedro M. Baeza
b1ad7ff21d [FIX] account_payment_mode: Don't show 2 times acc_type in partner bank form
It's already on standard.
2019-11-08 12:11:11 +01:00
oca-travis
e3747b5333 [UPD] Update account_payment_mode.pot 2019-11-08 12:11:11 +01:00
Mourad
82d8833a4d [MIG] account_payment_mode: migrate to 12.0 2019-11-08 12:11:11 +01:00
Enric Tobella
1ab85ce566 Translated using Weblate (Español (España))
Currently translated at 100,0% (51 of 51 strings)

Translation: bank-payment-11.0/bank-payment-11.0-account_payment_mode
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-11-0/bank-payment-11-0-account_payment_mode/es/
2019-11-08 12:11:11 +01:00
oca-travis
868ef71fb2 [UPD] Update account_payment_mode.pot 2019-11-08 12:11:11 +01:00
OCA Transbot
2774c5ee01 OCA Transbot updated translations from Transifex 2019-11-08 12:11:11 +01:00
Alexis de Lattre
9c40ec01d8 [FIX+IMP] account_payment_mode: Several small usability improvements + fix
- FIX: Don't store acc_type of res.partner.bank (#467)
- when manually encoding a payment line, get company currency as default currency
- Search on payment order numbers
- Direct search on bank journal name in payment orders
- remove widget="selection" on account.payement.mode : this object is rarely modified, so widget='selection' is not a time saver, but we miss the HTML link, which can be pretty convenient to check the configuration.
2019-11-08 12:11:11 +01:00
OCA Transbot
b606114cb2 OCA Transbot updated translations from Transifex 2019-11-08 12:11:11 +01:00
Jordi Ballester
a2e59f4465 Better constraints for multicompany environments. 2019-11-08 12:11:11 +01:00
Enric Tobella
6f77d4b17e [MIG] account_payment_mode 2019-11-08 12:11:11 +01:00
Akim Juillerat
1f3fb41c37 [FIX] account_payment_*: 2 fixes
* Fix payment method onchange with multicompany (#374)
* Add relational inverse field for payment.mode on payment.method
2019-11-08 12:11:11 +01:00
OCA Transbot
60034f830f OCA Transbot updated translations from Transifex 2019-11-08 12:11:11 +01:00
Alexis de Lattre
44c7b01719 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)
2019-11-08 12:11:11 +01:00
OCA Transbot
9a2509faee OCA Transbot updated translations from Transifex 2019-11-08 12:11:11 +01:00
Yannick Vaucher
986cdc1305 Move the account_payment_mode ir.rule in account_payment_mode module 2019-11-08 12:11:11 +01:00
Alexis de Lattre
a5e1fad6d5 [ADD] acocunt_payment_mode: 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)
  Various fixes/changes/improvements/...

- Update and re-enable demo data
- Move field bank_account_required from module account_payment_partner to account_payment_mode

  Make the mandate a required field on payment line when the payment method has mandate_required=True
  Make the bank account a required field on payment line when the payment method has bank_account_required=True

- Enable the payment methods by default on bank journals (including existing bank journals via post_install scripts)
2019-11-08 12:11:11 +01:00
OCA-git-bot
5d3b4c6c60 pre-commit, black, isort [ci skip] 2019-10-12 11:57:00 +02:00
OCA-git-bot
3fc06ce321 pre-commit config [ci skip] 2019-10-12 00:04:34 +02:00
OCA Bot
0a945b372b [MIG] Add metafiles
[skip ci]
2019-09-29 23:27:35 +02:00