Trigered store field can not be overrided 6.0/6.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
New
|
Undecided
|
OpenERP Publisher's Warranty Team |
Bug Description
Hello,
A really annoying bug on store function field:
Lets take this line of hr_timesheet_task module on the project.project object:
store = {
}),
We just extend the fields that should trigger the store fields computation.
First we have to redefine function in our module:
def _get_project_
return super(project, self)._
The problem appears when I create a new task that trigger the _get_project_task function.
Self is not a subtype of project but it is an instance of project.task. So it raise :
TypeError: super(type, obj): obj must be an instance or subtype of type
Nicolas
summary: |
- Tigered store field can not be overrided 6.0/6.1 + Trigered store field can not be overrided 6.0/6.1 |
Changed in openobject-server: | |
assignee: | nobody → OpenERP Publisher's Warranty Team (openerp-opw) |
tags: | added: maintenance |
The best would be to not have to redefine the method at all...
Lionel Sausin.