Search 1.9 billion lines of Odoo code on GitHub

web_diagram_position

Author: Odoo Community Association (OCA), Modoolar
License: LGPL-3
Branch: 12.0
Repository: MathBenTech/scrummer
Dependencies: web, and web_diagram
Languages: JavaScript (1200, 82.8%), Python (214, 14.8%), XML (15, 1.0%), and reStructuredText (21, 1.4%)
Other branches: 11.0, 12.0_dev, 12.0_dev_simplify_scrummer_view, and 12.0_dev_track
Other repositories: HelloXMFJ/web, Idealisconsulting/scrummer, TeclibERP/scrummer, VbossEkat/scrummer, darshan-odoo/scrummer, dsasoftware/scrummer, galeote/scrummer, igor-mitin/scrummer, isoscl/scrummer, mgielissen/scrummer, modoolar/oca-project-agile, and sc4you/scrummer

<a class="reference external image-reference" href="https://www.gnu.org/licenses/lgpl-3.0.en.html"><img alt="License: LGPL-v3" src="https://www.gnu.org/graphics/lgplv3-147x51.png" /></a> <a name="web-diagram-position-saver"></a> <h2>Web Diagram Position Saver</h2> <p>This module provides a way to save position of diagram elements</p> <a name="usage"></a> <h3>Usage</h3> <p>To use this module functionality you need to decorate <code>node</code> element of the <code>diagram view</code> with the coordinate attributes <code>xpos</code> and <code>ypos</code> like in the example below.</p> <pre> <code lang="xml">&lt;record id=&quot;view_project_workflow_diagram&quot; model=&quot;ir.ui.view&quot;&gt; &lt;field name=&quot;name&quot;&gt;project.workflow.diagram&lt;/field&gt; &lt;field name=&quot;model&quot;&gt;project.workflow&lt;/field&gt; &lt;field name=&quot;arch&quot; type=&quot;xml&quot;&gt; &lt;diagram string=&quot;Workflow Editor&quot;&gt; &lt;node object=&quot;project.workflow.state&quot; xpos=&quot;xpos&quot; ypos=&quot;ypos&quot; shape=&quot;rectangle:True&quot; bgcolor=&quot;blue:type=='todo';yellow:type=='in_progress';green:type=='done'&quot;&gt; &lt;field name=&quot;name&quot;/&gt; &lt;field name=&quot;stage_id&quot;/&gt; &lt;field name=&quot;type&quot; invisible=&quot;1&quot;/&gt; &lt;/node&gt; &lt;arrow object=&quot;project.workflow.transition&quot; source=&quot;src_id&quot; destination=&quot;dst_id&quot; label=&quot;['name']&quot;&gt; &lt;field name=&quot;src_id&quot;/&gt; &lt;field name=&quot;dst_id&quot;/&gt; &lt;field name=&quot;name&quot;/&gt; &lt;/arrow&gt; &lt;/diagram&gt; &lt;/field&gt; &lt;/record&gt;</code> </pre> <a name="credits"></a> <h3>Credits</h3> <a name="contributors"></a> <h4>Contributors</h4> <ul class="simple"> <li>Petar Najman &lt;<a class="reference external" href="mailto:petar.najman&#64;modoolar.com">petar.najman&#64;modoolar.com</a>&gt;</li> <li>Aleksandar Gajić &lt;<a class="reference external" href="mailto:aleksandar.gajic&#64;modoolar.com">aleksandar.gajic&#64;modoolar.com</a>&gt;</li> </ul> <a name="maintainer"></a> <h4>Maintainer</h4> <a class="reference external image-reference" href="https://modoolar.com"><img alt="Modoolar" src="https://www.modoolar.com/web/image/ir.attachment/3461/datas" /></a> <p>This module is maintained by Modoolar.</p> <pre> <code>As Odoo Gold partner, our company is specialized in Odoo ERP customization and business solutions development. Beside that, we build cool apps on top of Odoo platform.</code> </pre> <p>To contribute to this module, please visit <a class="reference external" href="https://modoolar.com">https://modoolar.com</a></p>