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

OCA / partner-contact / 2598
95%

Build:
DEFAULT BRANCH: 9.0
Ran 27 Oct 2017 09:57AM UTC
Jobs 1
Files 73
Run time 4s
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
2598

push

travis-ci

Yajo
[FIX] partner_financial_risk: Allow contact creation

Without this patch, when creating a new contact from the partner form, users got this traceback:

```
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "/opt/odoo/custom/src/odoo/openerp/api.py", line 248, in wrapper
    return new_api(self, *args, **kwargs)
  File "/opt/odoo/auto/addons/partner_financial_risk/models/res_partner.py", line 119, in _compute_risk_invoice
    active_test=False).search([('id', 'child_of', partner.id)]).ids
  File "/opt/odoo/custom/src/odoo/openerp/api.py", line 248, in wrapper
    return new_api(self, *args, **kwargs)
  File "/opt/odoo/custom/src/odoo/openerp/api.py", line 490, in new_api
    result = method(self._model, cr, uid, *args, **old_kwargs)
  File "/opt/odoo/custom/src/odoo/openerp/models.py", line 1668, in search
    return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
  File "/opt/odoo/custom/src/odoo/openerp/api.py", line 250, in wrapper
    return old_api(self, *args, **kwargs)
  File "/opt/odoo/custom/src/odoo/openerp/addons/base/res/res_partner.py", line 626, in _search
    count=count, access_rights_uid=access_rights_uid)
  File "/opt/odoo/custom/src/odoo/openerp/api.py", line 250, in wrapper
    return old_api(self, *args, **kwargs)
  File "/opt/odoo/custom/src/odoo/openerp/models.py", line 4793, in _search
    query = self._where_calc(cr, user, args, context=context)
  File "/opt/odoo/custom/src/odoo/openerp/api.py", line 250, in wrapper
    return old_api(self, *args, **kwargs)
  File "/opt/odoo/custom/src/odoo/openerp/models.py", line 4564, in _where_calc
    e = expression.expression(cr, user, domain, self, context)
  File "/opt/odoo/custom/src/odoo/openerp/osv/expression.py", line 644, in __init__
    self.parse(cr, uid, context=context)
  File "/opt/odoo/custom/src/odoo/openerp/osv/expression.py", line 834, in parse
    ids2 = to_ids(right, model, context)
  Fil... (continued)

3 of 3 new or added lines in 1 file covered. (100.0%)

1684 of 1769 relevant lines covered (95.2%)

0.95 hits per line

Jobs
ID Job ID Ran Files Coverage
4 2598.4 (TESTS="1" ODOO_REPO="OCA/OCB") 27 Oct 2017 09:58AM UTC 0
95.2
Travis Job 2598.4
Source Files on build 2598
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2598
  • 3765ece7 on github
  • Prev Build on 9.0 (#2428)
  • Next Build on 9.0 (#2608)
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