Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Migrate web_diagram from repository Odoo 13 to OCA repository Odoo 18

Aperta
#3,489 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
20/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
javascript
Ambito
web-dev

Direzione di ricerca

Read the linked migration PRs for Odoo 14–18 and the OpenUpgrade PR to understand the migration work already proposed. The issue also raises replacing Raphael.js and deciding where web_diagram_builder belongs, but gives no decided scope or acceptance criteria; clarify those before estimating completion.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

I did the migration of module web_diagram from Odoo 13 repository for each version to Odoo 18.

Original source: https://github.com/odoo/odoo/tree/6.1/addons/web_diagram
Final version source : https://github.com/odoo/odoo/tree/13.0/addons/web_diagram

PR odoo 14 https://github.com/OCA/web/pull/3490
PR odoo 15 https://github.com/OCA/web/pull/3491
PR odoo 16 https://github.com/OCA/web/pull/3492
PR odoo 17 https://github.com/OCA/web/pull/3493
PR odoo 18 https://github.com/OCA/web/pull/3494

Q1. Are we going to merge all the repositories from 14 to 18, and adapt OpenUpgrade?

https://github.com/OCA/OpenUpgrade/pull/3232

Q2. Last commit of Raphael.js is 2019

https://github.com/DmitryBaranovskiy/raphael

Maybe we can change the library.

Comparison
❌ Raphael.js ✅ Cytoscape.js ⚠️ D3.js ⚠️ Mermaid ⚠️ Vis.js Network
Maintenance ❌ Abandoned (~2020) ✅ Very active ✅ Very active ✅ Very active ✅ Active
Performance ⚠️ ~100 nodes ✅ 10k+ nodes ✅ 10k+ nodes ⚠️ ~200 nodes ✅ 5k+ nodes
Auto layout ❌ Manual ✅ Built-in (dagre, cola, elk…) ⚠️ Third-party plugins ❌ Declarative only ✅ Built-in force-directed
Interactivity ✅ Yes ✅ Full ✅ Full (must be coded) ❌ Static ✅ Full
License MIT ✅ MIT ✅ ISC ✅ MIT ✅ Apache 2.0 / MIT ✅
Bundle size ~100 KB ~200 KB ~50 KB (core) ~600 KB ~700 KB
Learning curve Medium Medium ⚠️ High Low Low
Use case General SVG graphics Graph / network Data visualization Declarative diagrams Interactive networks
GitHub DmitryBaranovskiy/raphael cytoscape/cytoscape.js d3/d3 mermaid-js/mermaid visjs/vis-network

Q3. web_diagram_builder

I create the application to show diagram on selected model with domain builder for Odoo 18. Maybe web_diagram_builder is more appropriate to be on repository https://github.com/oca/server-tools ?
Project in development https://github.com/TechnoLibre/web/tree/18.0_imp_web_diagram_builder
This module depend on web_diagram for example usage.

Can manage multiple diagram :

Image

Can use template, choose model and recursive field, filter domain :

Image

Show diagram of selected data :

Image
Lingua principale
JavaScript
Stelle
1.2k
Fork
2.2k
Merge medio
3g 15h
PR unite (30g)
22

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OCA/web

Tutte le issue di OCA/web

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.