← Back to team overview

openerp-india team mailing list archive

[Bug 948158] Re: Diagram view: bug if "source" and "destination" are inverted

 

** Attachment added: "diagram_view.ogv"
   https://bugs.launchpad.net/openobject-server/+bug/948158/+attachment/3134619/+files/diagram_view.ogv

** Changed in: openobject-server
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/948158

Title:
  Diagram view: bug if "source" and "destination" are inverted

Status in OpenERP Server:
  Fix Committed

Bug description:
  Hi!

  When trying to create a diagram view for one of my own objects, I
  always got a strange error, the same that the one I reported in
  https://bugs.launchpad.net/openobject-server/+bug/932830 . However,
  the latter bug is for diagrams with cyclic transitions, and this bug
  arose even when there was NO cycle in my transitions. I finally just
  inverted "source" and "destination" in the arrow element in the view,
  and now it works OK (but the arrows are not in the correct direction).

  Of course, this bug should not arise when the direction of the arrow
  is inverted, since the definition is symmetric.

  You can easily check this bug by inverting the "source" and
  "destination" fields in "workflow_view.xml":

  
            <arrow object="workflow.transition" destination="act_from" source="act_to" label="['signal','condition']">
              <field name="act_from"/>
              <field name="act_to"/>
              <field name="signal"/>
            </arrow>

  Cheers!

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/948158/+subscriptions


References