mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
3ec955ea74454bad7bfd475550f091ea1a6cb71d
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.
OCA banking payment addons for Odoo
On version 12.0, this project focus on payment interface. The indentation below indicates the dependency graph of the main modules.
-
account_payment_order- Basic export functionality of payment orders-
account_banking_sepa_credit_transfer- Export of payment orders in SEPA format -
account_direct_debit- Debit order infrastructure analogous to Odoo native payment ordersaccount_banking_sepa_direct_debit- Export of debit orders in SEPA format
-
Other features can now be found in these repositories:
Contributing
Do you want to contribute? Please read our contributing guidelines.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
Description
Languages
Python
58.9%
HTML
41%
