[project][field][doc_count] wrong type
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP Publisher's Warranty Team |
Bug Description
Function field with wrong type int instead of integer
1) Steps to reproduce the issue you have observed
run the following webservice:
import oerplib
oerp = oerplib.
oerp.login(
user_story_obj = oerp.get(
user_story_ids = user_story_
us_brw = user_story_
us_brw.project_id
2) The result you observed
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "/usr/local/
self.relation, id_[0], context)
File "/usr/local/
return self.get(
File "/usr/local/
return osv.Model(self, model)
File "/usr/local/
self.
File "/usr/local/
self, field_name, field_data)
File "/usr/local/
txt.
InternalError: Can't instanciate the field 'doc_count', 'int' type unknown
3) The result you expected
browse_
4) The platform you are using (and browser version, if relevant)
Debian - Gnome - 64 bits
5) The OpenERP version you are using (e.g. 6.1.1-20120910-
versión Openerp 7.0
6) Solution:
https:/
Related branches
- Martin Trigaux (OpenERP) (community): Approve
- Naresh(OpenERP): Pending requested
-
Diff: 14 lines (+3/-1)1 file modifiedproject/project.py (+3/-1)
- Stefan Rijnhart (Opener): Needs Fixing
- Sandy Carter (http://www.savoirfairelinux.com): Needs Fixing (code review, pep8)
- Pedro Manuel Baeza: Approve (code review)
- Holger Brunn (Therp): Approve (code review)
-
Diff: 13 lines (+2/-1)1 file modifiedproject/project.py (+2/-1)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP Publisher's Warranty Team (openerp-opw) |
tags: | added: maintenance |
Changed in openobject-addons: | |
status: | New → In Progress |
importance: | Undecided → Low |
no longer affects: | ocb-addons |
no longer affects: | ocb-addons/7.0 |
Hello Yanina Aular,
I have propose the fix of your branch here are the revision details,
Revision ID: <email address hidden>
Revision Number:9587
Soon our experts will review this branch and will merge it into stable 7.0.
Thanks & Regards,
Somesh Khare