Repairability Index Widget (French law)

by
Odoo

74.41

v 16.0 Third Party 1
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 495
Technical Name l10n_fr_web_repairability_index_widget
LicenseOPL-1
Websitehttps://codingdodo.com
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 495
Technical Name l10n_fr_web_repairability_index_widget
LicenseOPL-1
Websitehttps://codingdodo.com
Community
Enterprise
Odoo.sh
Odoo.sh
Enterprise
Community
Widget Repairability Index (Indice de Réparabilité)
Screenshot of the widget
This module is targeted at developpers or admins who want to add these widget on their existing fields or displaying it in their report/QWeb, (Read below).
This module does NOT contain the "Repairability Index" Field on Product, only the widgets and everything necessary to display.
If you are looking for the "Repairability Index" Field on Product and display on Website, please check the l10n_fr_website_repairability_index module.
Description
This module adds a usable OWL (Odoo Web Library) Field Widget to display the repairability index of a product.
  • Used inside a <form> on a field.Float it will show an interractive Index selector in Edit mode (see below GIF).
  • Used on QWeb, Website, Reports it will be a readonly display of the Repairability Index with official design system (colors, font, icon)
Showing the widget used
Features
Official icon

Use of the official design system given by french governement.

User friendly

Dynamically changes color and handles values < 0 and > 10. Subscribes to Odoo auto-save events.

Official Font

'Marianne' Official french government font is used to display the score and the sub-text

Future proof, coded in OWL

This Field widget follows the standard of the already rewritten Odoo field Widgets.

Use in your code

In backend views

To use the widget Inside a backend view simply add the attribute widget="repairability_index" on your field:

Code example on how to add widget on field

In QWeb (Website / Reports)

To display the Repairability Index on Qweb you will need the t-out and t-options directives

Code example on how to add widget options on QWeb

Available size options are lg, md (default), sm, and xs.

Example on the website different sizes

Example of the different sizes on Website

Example on product label PDF size "sm"

Example of the different sizes on PDF
Version: 16.0.1.0.0
Copyright © Coding Dodo
Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.