← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 796894] Re: Gantt chart - Blank edit windows displays and screen refreshes after each click.

 

** Attachment added: "Example on pop-up after click on an item"
   https://bugs.launchpad.net/bugs/796894/+attachment/2167864/+files/snapshot1.png

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/796894

Title:
  Gantt chart - Blank edit windows displays and screen refreshes after
  each click.

Status in OpenERP Web Client:
  New

Bug description:
  If a gantt chart item is clicked or dragged, an empty edit window
  displays and the screen is refreshed.  You have to close the window
  and then click the "edit" button on the first pop-up to see the event
  details.

  Steps to reproduce:
  1.  Use a database with standard demo data with the manufacturing module installed.
  2.  Click on Manufacturing -> Manufacturing Orders.
  3.  If you don't have a manufacturing order, create one and get it ready to be produced.
  4.  In the list view, click on the gantt chart icon.
  5.  Move any item.
  After the item is moved:
  * a "Manufacturing Orders" Pop-up appears with no data.
  *  The screen is redrawn
  6.  Click on any item.
  After the click on an item:
  *  An information pop-up displays
  *  a "Manufacturing Orders" Pop-up appears with no data.
  *  Screen is refreshed
  If you close the blank pop-up and click edit on the informational display, the same "Manufacturing Orders" Pop-up appears with data.

  Current Workaround:
  1.  Edit calendar_gantt.js, function attachSignals.
  2.  comment out "this.evtMouseUp = MochiKit.Signal.connect('calGrid', 'onmouseup', this, 'onMouseUp');"

  The mouse up event tries to edit the event with parameters "null,
  null" basically suggesting that a new record be created?  Every time
  you release the mouse button on an item (end of drag, click etc)?

  I'm new to the cherrypy/mako/js environment of openerp and I don't
  know if removing the onMouseUp function completely is a permanent fix.
  It works for me, but I haven't tested it in other functions (Project
  Management etc).  I'm curious why nobody else is having troubles with
  it.  The gantt chart is basically useful to look at, but useless to
  manipulate anything at the moment.

  I've attached a screenshot of the two pop-ups after simply clicking on
  an event.  You can see the information pop-up and the other pop-up
  trying to create a new manufacturing order (note the reference
  number).

  Cheers,
  Pieter

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client-web/+bug/796894/+subscriptions


References