1-
21<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
32< html xmlns ="http://www.w3.org/1999/xhtml " xml:lang ="en " lang ="en ">
43< head >
98
109/*
1110:Author: David Goodger (goodger@python.org)
12- :Id: $Id: html4css1.css 8954 2022 -01-20 10:10:25Z milde $
11+ :Id: $Id: html4css1.css 9511 2024 -01-13 09:50:07Z milde $
1312:Copyright: This stylesheet has been placed in the public domain.
1413
1514Default cascading style sheet for the HTML output of Docutils.
15+ Despite the name, some widely supported CSS2 features are used.
1616
1717See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
1818customize this style sheet.
275275 margin-left : 2em ;
276276 margin-right : 2em }
277277
278- pre .code .ln { color : grey ; } /* line numbers */
278+ pre .code .ln { color : gray ; } /* line numbers */
279279pre .code , code { background-color : # eeeeee }
280280pre .code .comment , code .comment { color : # 5C6576 }
281281pre .code .keyword , code .keyword { color : # 3B0D06 ; font-weight : bold }
301301span .pre {
302302 white-space : pre }
303303
304- span .problematic {
304+ span .problematic , pre . problematic {
305305 color : red }
306306
307307span .section-subtitle {
@@ -369,7 +369,7 @@ <h1 class="title">Web Pivot Computed Measure</h1>
369369!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370370!! source digest: sha256:4cef60dd775467b756ccbacb8c215bba0bc74fd32e1917c8b15c3be9de6302a1
371371!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372- < p > < a class ="reference external image-reference " href ="https://odoo-community.org/page/development-status "> < img alt ="Beta " src ="https://img.shields.io/badge/maturity-Beta-yellow.png " /> </ a > < a class ="reference external image-reference " href ="http://www.gnu.org/licenses/agpl-3.0-standalone.html "> < img alt ="License: AGPL-3 " src ="https://img.shields.io/badge/licence-AGPL--3-blue.png " /> </ a > < a class ="reference external image-reference " href ="https://github.com/OCA/web/tree/17.0/web_pivot_computed_measure "> < img alt ="OCA/web " src ="https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github " /> </ a > < a class ="reference external image-reference " href ="https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_pivot_computed_measure "> < img alt ="Translate me on Weblate " src ="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png " /> </ a > < a class ="reference external image-reference " href ="https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=17.0 "> < img alt ="Try me on Runboat " src ="https://img.shields.io/badge/runboat-Try%20me-875A7B.png " /> </ a > </ p >
372+ < p > < a class ="reference external image-reference " href ="https://odoo-community.org/page/development-status "> < img alt ="Beta " src ="https://img.shields.io/badge/maturity-Beta-yellow.png " /> </ a > < a class ="reference external image-reference " href ="http://www.gnu.org/licenses/agpl-3.0-standalone.html "> < img alt ="License: AGPL-3 " src ="https://img.shields.io/badge/licence-AGPL--3-blue.png " /> </ a > < a class ="reference external image-reference " href ="https://github.com/OCA/web/tree/17.0/web_pivot_computed_measure "> < img alt ="OCA/web " src ="https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github " /> </ a > < a class ="reference external image-reference " href ="https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_pivot_computed_measure "> < img alt ="Translate me on Weblate " src ="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png " /> </ a > < a class ="reference external image-reference " href ="https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=17.0 "> < img alt ="Try me on Runboat " src ="https://img.shields.io/badge/runboat-Try%20me-875A7B.png " /> </ a > </ p >
373373< p > Adds support for computed measures on the pivot view.</ p >
374374< p > < strong > Table of contents</ strong > </ p >
375375< div class ="contents local topic " id ="contents ">
@@ -387,48 +387,45 @@ <h1 class="title">Web Pivot Computed Measure</h1>
387387</ div >
388388< div class ="section " id ="usage ">
389389< h1 > < a class ="toc-backref " href ="#toc-entry-1 "> Usage</ a > </ h1 >
390- < p > Go to pivot view and click on the “Measures” menu, you will see
391- a new option called ‘Computed Measure’.</ p >
392- < dl class =" docutils " >
393- < dt > You have the follow options to create a ‘computed measure’: </ dt >
394- < dd > < ul class ="first last simple " >
395- < li > Measure 1: Used in ‘operation formula’ as ‘m1’ < /li >
396- < li > Measure 2: Used in ‘operation formula’ as ‘m2’</ li >
397- < li > < dl class =" first docutils " >
398- < dt > Operation: The formula</ dt >
399- < dd > < ul class ="first last ">
390+ < p > Go to pivot view and click on the “Measures” menu, you will see a new
391+ option called ‘Computed Measure’.</ p >
392+ < p > You have the follow options to create a ‘computed measure’: </ p >
393+ < ul >
394+ < li > < p class ="first " > Measure 1: Used in ‘operation formula’ as ‘m1’ </ p >
395+ </ li >
396+ < li > < p class =" first " > Measure 2: Used in ‘operation formula’ as ‘m2’</ p >
397+ </ li >
398+ < li > < p class =" first " > Operation: The formula</ p >
399+ < ul class ="simple ">
400400< li > Sum: m1 + m2</ li >
401401< li > Sub: m1 - m2</ li >
402402< li > Mult: m1 * m2</ li >
403403< li > Div: m1 / m2 (Format: Float)</ li >
404404< li > Perc m1 / m2 (Format: Percentage)</ li >
405- < li > Custom: Special option only visible in debug mode to write a custom formula.</ li >
405+ < li > Custom: Special option only visible in debug mode to write a custom
406+ formula.</ li >
406407</ ul >
407- </ dd >
408- </ dl >
409408</ li >
410- < li > Name: The name of the new measure (emtpy = auto-generated)</ li >
411- < li > < dl class =" first docutils " >
412- < dt > Format: How will the value be printed</ dt >
413- < dd > < ul class ="first last ">
409+ < li > < p class =" first " > Name: The name of the new measure (emtpy = auto-generated)</ p >
410+ </ li >
411+ < li > < p class =" first " > Format: How will the value be printed</ p >
412+ < ul class ="simple ">
414413< li > Integer</ li >
415414< li > Float</ li >
416415< li > Percentage (value * 100)</ li >
417416</ ul >
418- </ dd >
419- </ dl >
420417</ li >
421- < li > < dl class ="first docutils ">
422- < dt > Formula*: Custom operation formula</ dt >
423- < dd > These formula is evaluated using ‘PY.eval’</ dd >
424- </ dl >
418+ < li > < div class ="first line-block ">
419+ < div class =" line " > Formula*: Custom operation formula</ div >
420+ < div class =" line " > These formula is evaluated using ‘PY.eval’</ div >
421+ </ div >
425422</ li >
426423</ ul >
427- </ dd >
428- </ dl >
429- < p > These computed measures can be mixed (You can reuse it to make new computed measures) and saved as favorites. </ p >
430- < p > Notice that “measures/computed measures” involved in an active ‘computed measure’
431- can’t be deactivated until you have deactivate the ‘computed measure’.</ p >
424+ < p > These computed measures can be mixed (You can reuse it to make new
425+ computed measures) and saved as favorites. </ p >
426+ < p > Notice that “ measures/ computed measures” involved in an active ‘computed
427+ measure’ can’t be deactivated until you have deactivate the ‘computed
428+ measure’.</ p >
432429</ div >
433430< div class ="section " id ="known-issues-roadmap ">
434431< h1 > < a class ="toc-backref " href ="#toc-entry-2 "> Known issues / Roadmap</ a > </ h1 >
@@ -461,16 +458,16 @@ <h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
461458< li > Pedro M. Baeza</ li >
462459< li > Ernesto Tejeda</ li >
463460< li > Carlos Roca</ li >
464- < li > < a class ="reference external " href ="https://www.tradesolutions.digital/ "> TradeSolutions.Digital GmbH</ a > :< ul >
465- < li > Mitul Shah</ li >
466461</ ul >
467462</ li >
468463</ ul >
469464</ div >
470465< div class ="section " id ="maintainers ">
471466< h2 > < a class ="toc-backref " href ="#toc-entry-7 "> Maintainers</ a > </ h2 >
472467< p > This module is maintained by the OCA.</ p >
473- < a class ="reference external image-reference " href ="https://odoo-community.org "> < img alt ="Odoo Community Association " src ="https://odoo-community.org/logo.png " /> </ a >
468+ < a class ="reference external image-reference " href ="https://odoo-community.org ">
469+ < img alt ="Odoo Community Association " src ="https://odoo-community.org/logo.png " />
470+ </ a >
474471< p > OCA, or the Odoo Community Association, is a nonprofit organization whose
475472mission is to support the collaborative development of Odoo features and
476473promote its widespread use.</ p >
0 commit comments