Commit Graph

26 Commits

Author SHA1 Message Date
黎伟杰
01877e7586 Added translation using Weblate (Chinese (Simplified)) 2022-10-10 14:26:44 +02:00
OCA-git-bot
9c8b059320 [UPD] README.rst 2022-10-10 14:26:44 +02:00
oca-travis
7bc5ac397e [UPD] Update account_payment_mode.pot 2022-10-10 14:26:44 +02:00
Raf Ven
e78141eeb0 [MIG] account_payment_mode: Migration to 13.0 2022-10-10 14:26:44 +02:00
Raf Ven
6288e032e6 [IMP] account_payment_mode: black, isort 2022-10-10 14:26:44 +02:00
Eric Lembregts
297ff807fd [MIG] account_payment_mode: Migration to 13.0 2022-10-10 14:26:44 +02:00
Jaume Planas
3932e65d27 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/
2022-10-10 14:26:44 +02:00
Pedro M. Baeza
b2d34034b9 [FIX] account_payment_mode: Don't change acc_type field type
It's not needed and can cause problems.
2022-10-10 14:26:44 +02:00
Jon Zaballa
ecdcd12ad1 [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.
2022-10-10 14:26:44 +02:00
Pedro M. Baeza
9318cab956 [FIX] account_payment_mode: Don't show 2 times acc_type in partner bank form
It's already on standard.
2022-10-10 14:26:44 +02:00
oca-travis
62054ad5f4 [UPD] Update account_payment_mode.pot 2022-10-10 14:26:44 +02:00
Mourad
2c4cb16056 [MIG] account_payment_mode: migrate to 12.0 2022-10-10 14:26:44 +02:00
Enric Tobella
f6c8bbcd22 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/
2022-10-10 14:26:44 +02:00
oca-travis
2adae9942e [UPD] Update account_payment_mode.pot 2022-10-10 14:26:44 +02:00
OCA Transbot
de2bed8596 OCA Transbot updated translations from Transifex 2022-10-10 14:26:44 +02:00
Alexis de Lattre
5ff17ef33a [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.
2022-10-10 14:26:44 +02:00
OCA Transbot
7799926700 OCA Transbot updated translations from Transifex 2022-10-10 14:26:44 +02:00
Jordi Ballester
0edeba3b4c Better constraints for multicompany environments. 2022-10-10 14:26:44 +02:00
Enric Tobella
e95c4fd97f [MIG] account_payment_mode 2022-10-10 14:26:44 +02:00
Akim Juillerat
0dcc916fc0 [FIX] account_payment_*: 2 fixes
* Fix payment method onchange with multicompany (#374)
* Add relational inverse field for payment.mode on payment.method
2022-10-10 14:26:44 +02:00
OCA Transbot
41261490cc OCA Transbot updated translations from Transifex 2022-10-10 14:26:44 +02:00
Alexis de Lattre
ffbae4819b 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)
2022-10-10 14:26:44 +02:00
OCA Transbot
ffd04c075f OCA Transbot updated translations from Transifex 2022-10-10 14:26:44 +02:00
Yannick Vaucher
647ac78a2a Move the account_payment_mode ir.rule in account_payment_mode module 2022-10-10 14:26:44 +02:00
Alexis de Lattre
195cd6e284 [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)
2022-10-10 14:26:44 +02:00
oca-git-bot
11eba772fb Initialize 16.0 branch 2022-10-03 19:49:07 +02:00