@@ -20,7 +20,7 @@ Web Pivot Computed Measure
2020 :target: https://github.com/OCA/web/tree/17.0/web_pivot_computed_measure
2121 :alt: OCA/web
2222.. |badge4 | image :: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23- :target: https://translation.odoo-community.org/projects/web-16 -0/web-16 -0-web_pivot_computed_measure
23+ :target: https://translation.odoo-community.org/projects/web-17 -0/web-17 -0-web_pivot_computed_measure
2424 :alt: Translate me on Weblate
2525.. |badge5 | image :: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
2626 :target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=17.0
@@ -38,37 +38,48 @@ Adds support for computed measures on the pivot view.
3838Usage
3939=====
4040
41- Go to pivot view and click on the "Measures" menu, you will see
42- a new option called 'Computed Measure'.
41+ Go to pivot view and click on the "Measures" menu, you will see a new
42+ option called 'Computed Measure'.
4343
4444You have the follow options to create a 'computed measure':
45- - Measure 1: Used in 'operation formula' as 'm1'
46- - Measure 2: Used in 'operation formula' as 'm2'
47- - Operation: The formula
48- - Sum: m1 + m2
49- - Sub: m1 - m2
50- - Mult: m1 * m2
51- - Div: m1 / m2 (Format: Float)
52- - Perc m1 / m2 (Format: Percentage)
53- - Custom: Special option only visible in debug mode to write a custom formula.
54- - Name: The name of the new measure (emtpy = auto-generated)
55- - Format: How will the value be printed
56- - Integer
57- - Float
58- - Percentage (value * 100)
59- - Formula*: Custom operation formula
60- These formula is evaluated using 'PY.eval'
61-
62- These computed measures can be mixed (You can reuse it to make new computed measures) and saved as favorites.
63-
64- Notice that "measures/computed measures" involved in an active 'computed measure'
65- can't be deactivated until you have deactivate the 'computed measure'.
45+
46+ - Measure 1: Used in 'operation formula' as 'm1'
47+
48+ - Measure 2: Used in 'operation formula' as 'm2'
49+
50+ - Operation: The formula
51+
52+ - Sum: m1 + m2
53+ - Sub: m1 - m2
54+ - Mult: m1 \* m2
55+ - Div: m1 / m2 (Format: Float)
56+ - Perc m1 / m2 (Format: Percentage)
57+ - Custom: Special option only visible in debug mode to write a custom
58+ formula.
59+
60+ - Name: The name of the new measure (emtpy = auto-generated)
61+
62+ - Format: How will the value be printed
63+
64+ - Integer
65+ - Float
66+ - Percentage (value \* 100)
67+
68+ - | Formula\* : Custom operation formula
69+ | These formula is evaluated using 'PY.eval'
70+
71+ These computed measures can be mixed (You can reuse it to make new
72+ computed measures) and saved as favorites.
73+
74+ Notice that "measures/computed measures" involved in an active 'computed
75+ measure' can't be deactivated until you have deactivate the 'computed
76+ measure'.
6677
6778Known issues / Roadmap
6879======================
6980
70- # . Add support to define a style for a computed measure (ex. colored)
71- # . Use t-model to data-binding instead of jquery selectors
81+ 1 . Add support to define a style for a computed measure (ex. colored)
82+ 2 . Use t-model to data-binding instead of jquery selectors
7283
7384Bug Tracker
7485===========
@@ -84,26 +95,26 @@ Credits
8495=======
8596
8697Authors
87- ~~~~~~~
98+ -------
8899
89100* Tecnativa
90101
91102Contributors
92- ~~~~~~~~~~~~
103+ ------------
93104
94- * `Tecnativa <https://www.tecnativa.com/ >`_ :
105+ - `Tecnativa <https://www.tecnativa.com/ >`__ :
95106
96- * Alexandre D. Díaz
97- * Pedro M. Baeza
98- * Ernesto Tejeda
99- * Carlos Roca
107+ - Alexandre D. Díaz
108+ - Pedro M. Baeza
109+ - Ernesto Tejeda
110+ - Carlos Roca
100111
101- * `TradeSolutions.Digital GmbH <https://www.tradesolutions.digital/ >`_:
112+ - `TradeSolutions.Digital GmbH <https://www.tradesolutions.digital/ >`_:
102113
103114 * Mitul Shah
104115
105116Maintainers
106- ~~~~~~~~~~~
117+ -----------
107118
108119This module is maintained by the OCA.
109120
0 commit comments