Skip to content

TypeError: _get_tracked_fields() missing 1 required positional argument: 'updated_fields' #4

@drflax

Description

@drflax

when I try to change task stage always throw this error and raise this"project.task(,).wkf_state_id". I've installed in odoo 13 with minor mods on the code but is impossible to get operative the module due to the error I said, please can you give me some directions.

copy&paste the error:
Error:
Odoo Server Error

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/http.py", line 619, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 309, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 14, in reraise
raise value
File "/usr/lib/python3/dist-packages/odoo/http.py", line 664, in dispatch
result = self._call_function(**self.params)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 345, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 93, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 338, in checked_call
result = self.endpoint(*a, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 909, in call
return self.method(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 510, in response_wrap
response = f(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1348, in resequence
record.write({field: i + offset})
File "/mnt/extra-addons/project_workflow_management/models/project.py", line 236, in write
return super(Task, self).write(vals)
File "/usr/lib/python3/dist-packages/odoo/addons/project/models/project.py", line 737, in write
result = super(Task, self).write(vals)
File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_thread.py", line 317, in write
tracked_fields = track_self._get_tracked_fields()
TypeError: _get_tracked_fields() missing 1 required positional argument: 'updated_fields'

Thx in advance!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions