• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

OCA / bank-payment / 2022
86%
9.0: 78%

Build:
Build:
LAST BUILD BRANCH: 13.0
DEFAULT BRANCH: 9.0
Ran 28 Jan 2019 11:26AM UTC
Jobs 2
Files 50
Run time 21s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
2022

push

travis-ci

pedrobaeza
[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.

1549 of 1797 relevant lines covered (86.2%)

1.72 hits per line

Jobs
ID Job ID Ran Files Coverage
3 2022.3 (TESTS="1" ODOO_REPO="OCA/OCB") 28 Jan 2019 11:26AM UTC 0
86.2
Travis Job 2022.3
4 2022.4 (TESTS="1" ODOO_REPO="odoo/odoo") 28 Jan 2019 11:26AM UTC 0
86.2
Travis Job 2022.4
Source Files on build 2022
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2022
  • 3ec955ea on github
  • Prev Build on 12.0 (#2018)
  • Next Build on 12.0 (#2024)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc