Diagram view error: field names 'wkf_id', 'act_from' and 'act_to' are hard-coded in client
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP R&D Web Team |
Bug Description
Hi!
I try to create a diagram view of my own object, as I used to do it in the past.
The view itself works OK (although it is way less powerful than the one in the previous client, but whatever). But if I click on "new node", I get the following error (in the js console):
Uncaught TypeError: Cannot read property 'modifiers' of undefined
http://
It seems it is because the field 'wkf_id' is not found in the view. But of course, my field is not called 'wkf_id' !
Instead of 'wkf_id' the name should be the name of the field chosen to reference the object for which the diagram view is created, defined on the object chosen to represent the nodes.
The same problem will arise with 'act_from' and 'act_to': they should be replaced with the names of the fields referencing respectively the source node and destination node, defined on the object chosen to represent the arrows.
Hello Francois,
Diagram view is improved in /code.launchpad .net/~openerp- dev/openerp- web/trunk- diagram- draw2d
https:/
It will be merge soon in trunk branch.
Thanks.