odoo-addon-sale-timesheet-rounded


Nameodoo-addon-sale-timesheet-rounded JSON
Version 17.0.1.0.0.1 PyPI version JSON
download
home_pagehttps://github.com/OCA/timesheet
SummaryRound timesheet entries amount based on project settings.
upload_time2024-06-26 07:09:57
maintainerNone
docs_urlNone
authorCamptocamp, 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.
            ======================
Sale Timesheet Rounded
======================

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

.. |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%2Ftimesheet-lightgray.png?logo=github
    :target: https://github.com/OCA/timesheet/tree/17.0/sale_timesheet_rounded
    :alt: OCA/timesheet
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/timesheet-17-0/timesheet-17-0-sale_timesheet_rounded
    :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/timesheet&target_branch=17.0
    :alt: Try me on Runboat

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

Round timesheet lines amounts in sales based on project' settings.

A typical use case is: you work 5 minutes but you want to invoice 15
minutes.

With this module you can configure a rounding unit or factor on the
project and all the lines tracked on this project's tasks will show a
rounded amount.

If you want you can override the value manually on each entry.

The delivered quantity on the sale order line - and by consequence on
the invoice - will be computed using the rounded amount. Therefore,
expense lines and other non-timesheet lines will be updated with a
rounded amount that is equal to the amount.

WARNING: This module cannot be used with timesheet_grid without further
adapation as an update of an existing timesheet line will NOT update the
rounded amount. To achieve this, you need to override adjust_grid
function to pass the force_compute context key.

**Table of contents**

.. contents::
   :local:

Configuration
=============

Go to a project and set the following fields according to your needs:

-  Timesheet rounding unit

Defines the rounding unit. For instance, if you want to round to 1 hour,
you can set 1.0. If you want to round to 15 min set 0.25.

-  Timesheet rounding method

Options: "No" (default), "Closest", "Up", "Down".

Please refer to odoo.tools.float_utils.float_round to understand the
difference.

-  Timesheet rounding factor (percentage)

When round unit is not defined you can round by a fixed %.

When using both a unit and a factor, the factor will be applied first:

   result = round(amount \* percentage, unit)

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

-  improve test coverage

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/timesheet/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/timesheet/issues/new?body=module:%20sale_timesheet_rounded%0Aversion:%2017.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
-------

* Camptocamp

Contributors
------------

-  Simone Orsi <simone.orsi@camptocamp.com>
-  Thomas Nowicki <thomas.nowicki@camptocamp.com>
-  Akim Juillerat <akim.juillerat@camptocamp.com>
-  Foram Shah <foram.shah@initos.com>
-  Phuc Kieu <phuckh@trobz.com>
-  Son Ho <sonhd@trobz.com>

Other credits
-------------

The migration of this sale_timesheet_rounded from 16.0 to 17.0 was
financially supported by Camptocamp

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.

This module is part of the `OCA/timesheet <https://github.com/OCA/timesheet/tree/17.0/sale_timesheet_rounded>`_ 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/timesheet",
    "name": "odoo-addon-sale-timesheet-rounded",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": null,
    "author": "Camptocamp, Odoo Community Association (OCA)",
    "author_email": "support@odoo-community.org",
    "download_url": null,
    "platform": null,
    "description": "======================\nSale Timesheet Rounded\n======================\n\n.. \n   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n   !! This file is generated by oca-gen-addon-readme !!\n   !! changes will be overwritten.                   !!\n   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n   !! source digest: sha256:1978ba49c441473463786ded6958a21b6876f6b317a72dde30b11512afa456a8\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%2Ftimesheet-lightgray.png?logo=github\n    :target: https://github.com/OCA/timesheet/tree/17.0/sale_timesheet_rounded\n    :alt: OCA/timesheet\n.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png\n    :target: https://translation.odoo-community.org/projects/timesheet-17-0/timesheet-17-0-sale_timesheet_rounded\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/timesheet&target_branch=17.0\n    :alt: Try me on Runboat\n\n|badge1| |badge2| |badge3| |badge4| |badge5|\n\nRound timesheet lines amounts in sales based on project' settings.\n\nA typical use case is: you work 5 minutes but you want to invoice 15\nminutes.\n\nWith this module you can configure a rounding unit or factor on the\nproject and all the lines tracked on this project's tasks will show a\nrounded amount.\n\nIf you want you can override the value manually on each entry.\n\nThe delivered quantity on the sale order line - and by consequence on\nthe invoice - will be computed using the rounded amount. Therefore,\nexpense lines and other non-timesheet lines will be updated with a\nrounded amount that is equal to the amount.\n\nWARNING: This module cannot be used with timesheet_grid without further\nadapation as an update of an existing timesheet line will NOT update the\nrounded amount. To achieve this, you need to override adjust_grid\nfunction to pass the force_compute context key.\n\n**Table of contents**\n\n.. contents::\n   :local:\n\nConfiguration\n=============\n\nGo to a project and set the following fields according to your needs:\n\n-  Timesheet rounding unit\n\nDefines the rounding unit. For instance, if you want to round to 1 hour,\nyou can set 1.0. If you want to round to 15 min set 0.25.\n\n-  Timesheet rounding method\n\nOptions: \"No\" (default), \"Closest\", \"Up\", \"Down\".\n\nPlease refer to odoo.tools.float_utils.float_round to understand the\ndifference.\n\n-  Timesheet rounding factor (percentage)\n\nWhen round unit is not defined you can round by a fixed %.\n\nWhen using both a unit and a factor, the factor will be applied first:\n\n   result = round(amount \\* percentage, unit)\n\nKnown issues / Roadmap\n======================\n\n-  improve test coverage\n\nBug Tracker\n===========\n\nBugs are tracked on `GitHub Issues <https://github.com/OCA/timesheet/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/timesheet/issues/new?body=module:%20sale_timesheet_rounded%0Aversion:%2017.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* Camptocamp\n\nContributors\n------------\n\n-  Simone Orsi <simone.orsi@camptocamp.com>\n-  Thomas Nowicki <thomas.nowicki@camptocamp.com>\n-  Akim Juillerat <akim.juillerat@camptocamp.com>\n-  Foram Shah <foram.shah@initos.com>\n-  Phuc Kieu <phuckh@trobz.com>\n-  Son Ho <sonhd@trobz.com>\n\nOther credits\n-------------\n\nThe migration of this sale_timesheet_rounded from 16.0 to 17.0 was\nfinancially supported by Camptocamp\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\nThis module is part of the `OCA/timesheet <https://github.com/OCA/timesheet/tree/17.0/sale_timesheet_rounded>`_ project on GitHub.\n\nYou are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.\n",
    "bugtrack_url": null,
    "license": "AGPL-3",
    "summary": "Round timesheet entries amount based on project settings.",
    "version": "17.0.1.0.0.1",
    "project_urls": {
        "Homepage": "https://github.com/OCA/timesheet"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "62b05efded2faba769d2099a949872ac45f001340bd7719821b98b371d8dbcaf",
                "md5": "dd186fab946d9a5f6b1730646d53be0b",
                "sha256": "1ebc92001b2469963598955b8c117af31d247151c02acdccad9f0403f0687c2b"
            },
            "downloads": -1,
            "filename": "odoo_addon_sale_timesheet_rounded-17.0.1.0.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "dd186fab946d9a5f6b1730646d53be0b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 41010,
            "upload_time": "2024-06-26T07:09:57",
            "upload_time_iso_8601": "2024-06-26T07:09:57.451754Z",
            "url": "https://files.pythonhosted.org/packages/62/b0/5efded2faba769d2099a949872ac45f001340bd7719821b98b371d8dbcaf/odoo_addon_sale_timesheet_rounded-17.0.1.0.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-26 07:09:57",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "OCA",
    "github_project": "timesheet",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "odoo-addon-sale-timesheet-rounded"
}
        
Elapsed time: 0.28467s