Post by grzekru »

Hello,

We are interested in purchase of https://apps.odoo.com/apps/modules/13.0/bryntum_gantt_enterprise/

Version 13.0 for enterprise.

Is there a demo for odoo 13?

We have found issues:

  • Error when setting "Start date" and "End date" to false via form view.
  • Error when trying to change name of task in gantt view if task "Start date" and "End date" fields are not set.
  • Changing project name takes no effect (this is not important)

Can you fix these errors?


Post by Terence »

Hi,

The 13.0 version is similar to the 14 version. For that reason we have no separate demo site.

Thank you for reported some bugs, will be fixed asap.


Post by grzekru »

"This first one I can not repo. How did you set those fields to false?"

Form view in any task.

Error:
Odoo Server Error

Traceback (most recent call last):
File "/home/ubuntu/odoo/custom/src/odoo/odoo/addons/base/models/ir_http.py", line 237, in dispatch
result = request.dispatch()
File "/home/ubuntu/odoo/custom/src/odoo/odoo/http.py", line 683, in dispatch
result = self.
call_function(**self.params)
File "/home/ubuntu/odoo/custom/src/odoo/odoo/http.py", line 359, in call_function
return checked_call(self.db, *args, **kwargs)
File "/home/ubuntu/odoo/custom/src/odoo/odoo/service/model.py", line 94, in wrapper
return f(dbname, args, **kwargs)
File "/home/ubuntu/odoo/custom/src/odoo/odoo/http.py", line 347, in checked_call
result = self.endpoint(
a, **kw)
File "/home/ubuntu/odoo/custom/src/odoo/odoo/http.py", line 912, in call
return self.method(args, **kw)
File "/home/ubuntu/odoo/custom/src/odoo/odoo/http.py", line 531, in response_wrap
response = f(
args, **kw)
File "/home/ubuntu/odoo/auto/addons/web/controllers/main.py", line 1389, in call_kw
return self.
call_kw(model, method, args, kwargs)
File "/home/ubuntu/odoo/auto/addons/web/controllers/main.py", line 1381, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/home/ubuntu/odoo/custom/src/odoo/odoo/api.py", line 396, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/home/ubuntu/odoo/custom/src/odoo/odoo/api.py", line 383, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/home/ubuntu/odoo/auto/addons/bryntum_gantt_enterprise/models/project_task.py", line 65, in write
self.planned_date_begin = end_date - one_day
Exception

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/home/ubuntu/odoo/custom/src/odoo/odoo/http.py", line 639, in handle_exception
return super(JsonRequest, self).
handle_exception(exception)
File "/home/ubuntu/odoo/custom/src/odoo/odoo/http.py", line 315, in _handle_exception
raise exception.with_traceback(None) from new_cause
TypeError: unsupported operand type(s) for -: 'bool' and 'datetime.timedelta'

"No start date set on unplanned task should not crash: https://github.com/bryntum/odoo-support/issues/10"

I try to change task name via gantt view and it freeze.
Try "Projekt 1" -> Gantt view -> try to change name of task "task1"
It freeze with message "Saving changes, please wait..."


Post by Terence »

Thanks. The last two bugs I have reproduced. But where do I set false to those dates?

In any case I will do an additional check in the controller.

https://github.com/bryntum/odoo-support/issues/12

Screenshot 2021-05-28 at 11.35.25.png
Screenshot 2021-05-28 at 11.35.25.png (101.31 KiB) Viewed 1506 times

Post by grzekru »

Sorry i was not precise.
Find task with values in fields "Start date" and "End date" // or create new task and set "Start date" and "End date"
Click "Edit" -> Remove values from those fields -> Save


Post by Terence »

Got it! It will be fixed upcoming before Monday.


Post by grzekru »

"It will be fixed upcoming before Monday."

Hello any updates on this?


Post by Terence »

Got delayed. Before the end of the week.


Post Reply