odoo-addon-web-pivot-computed-measure


Nameodoo-addon-web-pivot-computed-measure JSON
Version 16.0.1.0.0.6 PyPI version JSON
download
home_pagehttps://github.com/OCA/web
SummaryWeb Pivot Computed Measure
upload_time2024-04-20 07:18:23
maintainerNone
docs_urlNone
authorTecnativa, Odoo Community Association (OCA)
requires_python>=3.10
licenseAGPL-3
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ==========================
Web Pivot Computed Measure
==========================

.. 
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! source digest: sha256:4cef60dd775467b756ccbacb8c215bba0bc74fd32e1917c8b15c3be9de6302a1
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
    :target: https://odoo-community.org/page/development-status
    :alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
    :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
    :alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github
    :target: https://github.com/OCA/web/tree/16.0/web_pivot_computed_measure
    :alt: OCA/web
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_pivot_computed_measure
    :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
    :target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=16.0
    :alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

Adds support for computed measures on the pivot view.

**Table of contents**

.. contents::
   :local:

Usage
=====

Go to pivot view and click on the "Measures" menu, you will see
a new option called 'Computed Measure'.

You have the follow options to create a 'computed measure':
 - Measure 1: Used in 'operation formula' as 'm1'
 - Measure 2: Used in 'operation formula' as 'm2'
 - Operation: The formula
    - Sum: m1 + m2
    - Sub: m1 - m2
    - Mult: m1 * m2
    - Div: m1 / m2 (Format: Float)
    - Perc m1 / m2 (Format: Percentage)
    - Custom: Special option only visible in debug mode to write a custom formula.
 - Name: The name of the new measure (emtpy = auto-generated)
 - Format: How will the value be printed
    - Integer
    - Float
    - Percentage (value * 100)
 - Formula*: Custom operation formula
    These formula is evaluated using 'PY.eval'

These computed measures can be mixed (You can reuse it to make new computed measures) and saved as favorites.

Notice that "measures/computed measures" involved in an active 'computed measure'
can't be deactivated until you have deactivate the 'computed measure'.

Known issues / Roadmap
======================

#. Add support to define a style for a computed measure (ex. colored)
#. Use t-model to data-binding instead of jquery selectors

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/web/issues/new?body=module:%20web_pivot_computed_measure%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Tecnativa

Contributors
~~~~~~~~~~~~

* `Tecnativa <https://www.tecnativa.com/>`_:

  * Alexandre D. Díaz
  * Pedro M. Baeza
  * Ernesto Tejeda
  * Carlos Roca

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
   :alt: Odoo Community Association
   :target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

.. |maintainer-CarlosRoca13| image:: https://github.com/CarlosRoca13.png?size=40px
    :target: https://github.com/CarlosRoca13
    :alt: CarlosRoca13

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-CarlosRoca13| 

This module is part of the `OCA/web <https://github.com/OCA/web/tree/16.0/web_pivot_computed_measure>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/OCA/web",
    "name": "odoo-addon-web-pivot-computed-measure",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": null,
    "author": "Tecnativa, Odoo Community Association (OCA)",
    "author_email": "support@odoo-community.org",
    "download_url": null,
    "platform": null,
    "description": "==========================\nWeb Pivot Computed Measure\n==========================\n\n.. \n   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n   !! This file is generated by oca-gen-addon-readme !!\n   !! changes will be overwritten.                   !!\n   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n   !! source digest: sha256:4cef60dd775467b756ccbacb8c215bba0bc74fd32e1917c8b15c3be9de6302a1\n   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n\n.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png\n    :target: https://odoo-community.org/page/development-status\n    :alt: Beta\n.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png\n    :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html\n    :alt: License: AGPL-3\n.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github\n    :target: https://github.com/OCA/web/tree/16.0/web_pivot_computed_measure\n    :alt: OCA/web\n.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png\n    :target: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_pivot_computed_measure\n    :alt: Translate me on Weblate\n.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png\n    :target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=16.0\n    :alt: Try me on Runboat\n\n|badge1| |badge2| |badge3| |badge4| |badge5|\n\nAdds support for computed measures on the pivot view.\n\n**Table of contents**\n\n.. contents::\n   :local:\n\nUsage\n=====\n\nGo to pivot view and click on the \"Measures\" menu, you will see\na new option called 'Computed Measure'.\n\nYou have the follow options to create a 'computed measure':\n - Measure 1: Used in 'operation formula' as 'm1'\n - Measure 2: Used in 'operation formula' as 'm2'\n - Operation: The formula\n    - Sum: m1 + m2\n    - Sub: m1 - m2\n    - Mult: m1 * m2\n    - Div: m1 / m2 (Format: Float)\n    - Perc m1 / m2 (Format: Percentage)\n    - Custom: Special option only visible in debug mode to write a custom formula.\n - Name: The name of the new measure (emtpy = auto-generated)\n - Format: How will the value be printed\n    - Integer\n    - Float\n    - Percentage (value * 100)\n - Formula*: Custom operation formula\n    These formula is evaluated using 'PY.eval'\n\nThese computed measures can be mixed (You can reuse it to make new computed measures) and saved as favorites.\n\nNotice that \"measures/computed measures\" involved in an active 'computed measure'\ncan't be deactivated until you have deactivate the 'computed measure'.\n\nKnown issues / Roadmap\n======================\n\n#. Add support to define a style for a computed measure (ex. colored)\n#. Use t-model to data-binding instead of jquery selectors\n\nBug Tracker\n===========\n\nBugs are tracked on `GitHub Issues <https://github.com/OCA/web/issues>`_.\nIn case of trouble, please check there if your issue has already been reported.\nIf you spotted it first, help us to smash it by providing a detailed and welcomed\n`feedback <https://github.com/OCA/web/issues/new?body=module:%20web_pivot_computed_measure%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.\n\nDo not contact contributors directly about support or help with technical issues.\n\nCredits\n=======\n\nAuthors\n~~~~~~~\n\n* Tecnativa\n\nContributors\n~~~~~~~~~~~~\n\n* `Tecnativa <https://www.tecnativa.com/>`_:\n\n  * Alexandre D. D\u00edaz\n  * Pedro M. Baeza\n  * Ernesto Tejeda\n  * Carlos Roca\n\nMaintainers\n~~~~~~~~~~~\n\nThis module is maintained by the OCA.\n\n.. image:: https://odoo-community.org/logo.png\n   :alt: Odoo Community Association\n   :target: https://odoo-community.org\n\nOCA, or the Odoo Community Association, is a nonprofit organization whose\nmission is to support the collaborative development of Odoo features and\npromote its widespread use.\n\n.. |maintainer-CarlosRoca13| image:: https://github.com/CarlosRoca13.png?size=40px\n    :target: https://github.com/CarlosRoca13\n    :alt: CarlosRoca13\n\nCurrent `maintainer <https://odoo-community.org/page/maintainer-role>`__:\n\n|maintainer-CarlosRoca13| \n\nThis module is part of the `OCA/web <https://github.com/OCA/web/tree/16.0/web_pivot_computed_measure>`_ project on GitHub.\n\nYou are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.\n\n\n",
    "bugtrack_url": null,
    "license": "AGPL-3",
    "summary": "Web Pivot Computed Measure",
    "version": "16.0.1.0.0.6",
    "project_urls": {
        "Homepage": "https://github.com/OCA/web"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d7923a330820f6f7894c31a55c94499eac37440b20eb2d5d0d88ebb85ffb5fbf",
                "md5": "1d155372d43f8dac16cff66d4af29b1d",
                "sha256": "6c899867b023a0409c964b3362f717e8528e698ca91caa04f6cd2a4787915bca"
            },
            "downloads": -1,
            "filename": "odoo_addon_web_pivot_computed_measure-16.0.1.0.0.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1d155372d43f8dac16cff66d4af29b1d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 38480,
            "upload_time": "2024-04-20T07:18:23",
            "upload_time_iso_8601": "2024-04-20T07:18:23.305758Z",
            "url": "https://files.pythonhosted.org/packages/d7/92/3a330820f6f7894c31a55c94499eac37440b20eb2d5d0d88ebb85ffb5fbf/odoo_addon_web_pivot_computed_measure-16.0.1.0.0.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-20 07:18:23",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "OCA",
    "github_project": "web",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "odoo-addon-web-pivot-computed-measure"
}
        
Elapsed time: 0.48899s