Repository
odoo/odoo · module folder
Module version
0.1.0
Category
Hidden
Folder size
12.8 MB
License
LGPL-3
Application
No
Auto-installable
Yes
Website
None
Last tracking update
2026-08-15 22:24:37
Authors
Maintainers
None
Committers
Xavier Morel, Raphael Collet, Martin Trigaux, Odoo Translation Bot, David Monjoie, Nicolas Lempereur, Aaron Bohy, Géry Debongnie, qsm-odoo, Odoo Online, Romain Derie, Laurent Smet, Jorge Pinna Puissant, Lucas Perais, Julien Castiaux, Xavier-Do, Romeo Fragomeli, Julien Mougenot, Anh Thao Pham (pta), std-odoo, Achraf (abz), Nasreddin Boulif (bon), Tiffany Chang (tic), Pierre Rousseau, Gorash, Mathieu Duckerts-Antoine, Pierre Paridans, abd-msyukyu-odoo, Romain Estievenart, Benjamin Vray, Benoit Socias, Florian Vranckx, Arthur Detroux (ard), Antoine Guenet, Nicolas Bayet, Abdelouahab (abla), Jinjiu Liu, Mathieu Walravens, luvi, Hubert Van De Walle, Renaud Thiry, Julien Banken, Vincent Larcin, bve-odoo, tsm-odoo, Louis Wicket (wil), David, Victor Piryns (pivi), Julien (jula), Mahamadasif Ansari, Robin Lejeune (role), xO-Tx, Soukéina Bojabza, Louis (loco), Levi Siuzdak (sile), Maruan Aguerdouh (magm), Sébastien Geelen (sge), Dylan Kiss (dyki), Antoine (ande), FrancoisGe, Michael (mcm), Chong Wang (cwg), Thomas Josse (thjo), Xavier Bol (xbo), Brieuc-brd, divy-odoo, Mahdi Cheikh Rouhou (macr), Walid (wasa), Deependra Solanki, maad-odoo, stefanorigano (SRI), visp-odoo, Mehdi Outagant (MOU), Serge Bayet (seba), Guillaume-gdi, Lucas Thomassin (luth), reka-odoo, dhba, Julien Carion (juca), kcv-odoo, adch-odoo, aath-odoo, vishal padhiyar, utag-odoo, Rodolpho Lima, Adnan Saiyed, Chrysanthe (chgo), shsa-odoo, Louis (wil), Mohammed Basioni (basm), Sanjay Sharma, mano-odoo, thle-odoo, Xavier Luyckx (xlu), guce, Antoine (anso), Manushi Shah, Rahil Ghanchi, Denis Rygaert, Pierre Pulinckx (PIPU), paru-odoo, luve-odoo, sben-odoo, gvar-odoo, Pierre Pulinckx (pipu), Bastien PIERRE, Thomas Josse (THJO), ruja-odoo, Armin-FalDiS, Rushil Patel, mojem, bhna-odoo, defl, bikh-odoo, rusp-odoo, aans-odoo, dtda-odoo, alap-odoo, ptpu-odoo, Augustin (duau), Patrick Stooks, Serhii Rubanskyi, chdh-odoo, romo, ksbh-odoo, Benoit Socias (bso), Serge Bayet, Sébastien Geelen, saurabh, Rudra Patel, sbbh-odoo, vega-odoo, Christopher Rogos, Parth Vyas, Ian (iacio)
Odoo dependencies
odoo/odoo:
- bus
- web
Python dependencies
None
System dependencies
None
Required by
base_fontawesome_web_editor, document_page, mass_mailing, oca_all, point_of_sale, portal, sign_oca, test_html_field_history, web_editor_class_selector, web_editor_disable_chatgpt, web_editor_media_dialog_dms, web_unsplash, website, website_form_require_legal
Description
Odoo Web Editor widget.
==========================

Code Analysis

Views touched (9)
XML IDNameModelTypeStatus
s_hr Separator ir.ui.view qweb New
snippet_options snippet_options ir.ui.view qweb New
snippet_options_background_color_widget snippet_options_background_color_widget ir.ui.view qweb New
snippet_options_background_options snippet_options_background_options ir.ui.view qweb New
snippet_options_image_optimization_widgets snippet_options_image_optimization_widgets ir.ui.view qweb New
snippet_options_version_control snippet_options_version_control ir.ui.view qweb New
snippets snippets ir.ui.view qweb New
web_editor.colorpicker Color-Picker ir.ui.view qweb New
web_editor.tests web_editor.tests ir.ui.view qweb New
HTTP endpoints (9)
Route(s)HandlerAuthTypeMethodsFlags
/web_editor/font_to_img/<icon>, /web_editor/font_to_img/<icon>/<color>, /web_editor/font_to_img/<icon>/<color>/<int:size>, /web_editor/font_to_img/<icon>/<color>/<int:width>x<int:height>, /web_editor/font_to_img/<icon>/<color>/<int:size>/<int:alpha>, /web_editor/font_to_img/<icon>/<color>/<int:width>x<int:height>/<int:alpha>, /web_editor/font_to_img/<icon>/<color>/<bg>, /web_editor/font_to_img/<icon>/<color>/<bg>/<int:size>, /web_editor/font_to_img/<icon>/<color>/<bg>/<int:width>x<int:height>, /web_editor/font_to_img/<icon>/<color>/<bg>/<int:width>x<int:height>/<int:alpha> Web_Editor.export_icon_to_png none http ALL
/web_editor/get_assets_editor_resources Web_Editor.get_assets_editor_resources user json ALL website
/web_editor/image_shape/<string:img_key>/<module>/<path:filename> Web_Editor.image_shape public http ALL website
/web_editor/media_library_search Web_Editor.media_library_search user json ALL sudo website
/web_editor/attachment/remove Web_Editor.remove user json ALL website
/web_editor/tests Web_Editor.test_suite user http ALL
/web_editor/checklist Web_Editor.update_checklist user json ALL
/web_editor/field/translation/update Web_Editor.update_field_translation user json ALL website
/web_editor/stars Web_Editor.update_stars user json ALL
Models touched (26)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • web_update_field_translations(self, fname, translations)

New fields (2)
  • html_field_history Json
    prefetch=False args: 'History data'
  • html_field_history_metadata Json
    compute='_compute_metadata' args: 'History metadata'
Public methods (4)
  • create(self, vals_list)
    @api.model_create_multi
  • html_field_history_get_comparison_at_revision(self, field_name, revision_id)
    For the requested field, Get a comparison between the current content of the field and the content restored at the requested revision_id. :param str field_name: the name of the field :param int revision_id: id of the last revision to compare :return: string: the comparison
  • html_field_history_get_content_at_revision(self, field_name, revision_id)
    Get the requested field content restored at the revision_id. :param str field_name: the name of the field :param int revision_id: id of the last revision to restore :return: string: the restored content
  • write(self, vals)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (3)
  • attributes(self, record, field_name, options, values)
    @api.model
  • from_html(self, model, field, element)
    @api.model
  • value_from_string(self, value)

New fields (0)

No new fields.

Public methods (2)
  • attributes(self, record, field_name, options, values)
    @api.model
  • get_record_to_html(self, ids, options=None)
    @api.model

New fields (0)

No new fields.

Public methods (2)
  • attributes(self, record, field_name, options, values)
    @api.model
  • from_html(self, model, field, element)
    @api.model

New fields (0)

No new fields.

Public methods (2)
  • attributes(self, record, field_name, options, values)
    @api.model
  • from_html(self, model, field, element)
    @api.model

New fields (0)

No new fields.

Public methods (2)
  • attributes(self, record, field_name, options, values)
    @api.model
  • from_html(self, model, field, element)
    @api.model

New fields (0)

No new fields.

Public methods (1)
  • from_html(self, model, field, element)
    @api.model

New fields (0)

No new fields.

Public methods (2)
  • attributes(self, record, field_name, options, values=None)
    @api.model
  • from_html(self, model, field, element)
    @api.model

New fields (0)

No new fields.

Public methods (3)
  • from_html(self, model, field, element)
    @api.model
  • load_local_url(self, url)
  • load_remote_url(self, url)

New fields (0)

No new fields.

Public methods (1)
  • from_html(self, model, field, element)
    @api.model

New fields (0)

No new fields.

Public methods (2)
  • attributes(self, record, field_name, options, values)
    @api.model
  • from_html(self, model, field, element)
    @api.model

New fields (0)

No new fields.

Public methods (1)
  • from_html(self, model, field, element)
    @api.model

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • from_html(self, model, field, element)
    @api.model

New fields (0)

No new fields.

Public methods (1)
  • from_html(self, model, field, element)
    @api.model

New fields (0)

No new fields.

Public methods (13)
  • delete_snippet(self, view_id, template_key)
    @api.model
  • extract_embedded_fields(self, arch)
    @api.model
  • extract_oe_structures(self, arch)
    @api.model
  • get_default_lang_code(self)
    @api.model
  • get_related_views(self, key, bundles=False)
    @api.model
    Get inherit view's informations of the template ``key``. returns templates info (which can be active or not) ``bundles=True`` returns also the asset bundles
  • rename_snippet(self, name, view_id, template_key)
    @api.model
  • replace_arch_section(self, section_xpath, replacement, replace_tail=False)
  • save(self, value, xpath=None)
    Update a view section. The view section may embed fields to write Note that `self` record might not exist when saving an embed field :param str xpath: valid xpath to the tag to replace
  • save_embedded_field(self, el)
    @api.model
  • save_oe_structure(self, el)
  • save_snippet(self, name, arch, template_key, snippet_key, thumbnail_url)
    @api.model
    Saves a new snippet arch so that it appears with the given name when using the given snippets template. :param name: the name of the snippet to save :param arch: the html structure of the snippet to save :param template_key: the key of the view regrouping all snippets in which the snippet to save is meant to appear :param snippet_key: the key (without module part) to identify the snippet from which the snippet to save originates :param thumbnail_url: the url of the thumbnail to use when displaying the snippet to save
  • to_empty_oe_structure(self, el)
    @api.model
  • to_field_ref(self, el)
    @api.model

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • reset_asset(self, url, bundle)
    @api.model
    Delete the potential customizations made to a given (original) asset. Params: url (str): the URL of the original asset (scss / js) file bundle (str): the name of the bundle in which the customizations to delete were made
  • save_asset(self, url, bundle, content, file_type)
    @api.model
    Customize the content of a given asset (scss / js). Params: url (src): the URL of the original asset to customize (whether or not the asset was already customized) bundle (src): the name of the bundle in which the customizations will take effect content (src): the new content of the asset (scss / js) file_type (src): either 'scss' or 'js' according to the file being customized

New fields (11)
  • binary Binary
    attachment=False
  • char Char
  • date Date
  • datetime Datetime
  • float Float
  • html Html
  • integer Integer
  • many2one Many2one → web_editor.converter.test.sub
    args: 'web_editor.converter.test.sub'
  • numeric Float
    digits=(16, 2)
  • selection_str Selection
    string="Lorsqu'un pancake prend l'avion à destination de Toronto et qu'il fait une escale technique à St Claude, on dit:" args: [('A', "Qu'il n'est pas arrivé à Toronto"), ('B', "Qu'il était supposé arriver à Toronto"), ('C', "Qu'est-ce qu'il fout ce maudit pancake, tabernacle ?"), ('D', 'La réponse D')]
  • text Text
Public methods (0)

No public methods.

New fields (1)
  • name Char
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…