odoo12-addon-sale-timesheet-rounded


Nameodoo12-addon-sale-timesheet-rounded JSON
Version 12.0.1.0.1 PyPI version JSON
download
home_pagehttps://github.com/OCA/timesheet
SummaryRound timesheet entries amount based on project settings.
upload_time2020-06-29 04:56:50
maintainer
docs_urlNone
authorCamptocamp, Odoo Community Association (OCA)
requires_python>=3.5
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.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/12.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-12-0/timesheet-12-0-sale_timesheet_rounded
    :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
    :target: https://runbot.odoo-community.org/runbot/117/12.0
    :alt: Try me on Runbot

|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 smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/timesheet/issues/new?body=module:%20sale_timesheet_rounded%0Aversion:%2012.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>

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/12.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": "odoo12-addon-sale-timesheet-rounded",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.5",
    "maintainer_email": "",
    "keywords": "",
    "author": "Camptocamp, Odoo Community Association (OCA)",
    "author_email": "support@odoo-community.org",
    "download_url": "",
    "platform": "",
    "description": "======================\nSale Timesheet Rounded\n======================\n\n.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n   !! This file is generated by oca-gen-addon-readme !!\n   !! changes will be overwritten.                   !!\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/12.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-12-0/timesheet-12-0-sale_timesheet_rounded\n    :alt: Translate me on Weblate\n.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png\n    :target: https://runbot.odoo-community.org/runbot/117/12.0\n    :alt: Try me on Runbot\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 minutes.\n\nWith this module you can configure a rounding unit or factor on the project\nand all the lines tracked on this project's tasks will show a rounded 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 the\ninvoice - will be computed using the rounded amount.\nTherefore, expense lines and other non-timesheet lines will be updated with\na rounded 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` function\nto 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\n* Timesheet rounding unit\n\nDefines the rounding unit.\nFor instance, if you want to round to 1 hour, you can set `1.0`.\nIf you want to round to 15 min set `0.25`.\n\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 difference.\n\n\n* Timesheet rounding factor (percentage)\n\nWhen round unit is not defined you can round by a fixed %.\n\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 smashing it by providing a detailed and welcomed\n`feedback <https://github.com/OCA/timesheet/issues/new?body=module:%20sale_timesheet_rounded%0Aversion:%2012.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\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/12.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\n\n",
    "bugtrack_url": null,
    "license": "AGPL-3",
    "summary": "Round timesheet entries amount based on project settings.",
    "version": "12.0.1.0.1",
    "project_urls": {
        "Homepage": "https://github.com/OCA/timesheet"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "980bb67489b3a944e989383acdd6a10482171f1681014bb70ed00731fe5fa0d4",
                "md5": "74e64fffac892facdd69a25aa7b18c6e",
                "sha256": "11056ae48c92adab6e47d4c55055a0a50febecce7758b7595aca5486d4a2354a"
            },
            "downloads": -1,
            "filename": "odoo12_addon_sale_timesheet_rounded-12.0.1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "74e64fffac892facdd69a25aa7b18c6e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.5",
            "size": 34208,
            "upload_time": "2020-06-29T04:56:50",
            "upload_time_iso_8601": "2020-06-29T04:56:50.197147Z",
            "url": "https://files.pythonhosted.org/packages/98/0b/b67489b3a944e989383acdd6a10482171f1681014bb70ed00731fe5fa0d4/odoo12_addon_sale_timesheet_rounded-12.0.1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2020-06-29 04:56:50",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "OCA",
    "github_project": "timesheet",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "odoo12-addon-sale-timesheet-rounded"
}
        
Elapsed time: 0.12617s