Metadata-Version: 2.1
Name: odoo14-addon-project-recalculate
Version: 14.0.1.0.1.dev13
Summary: Project Recalculate
Home-page: https://github.com/OCA/project
Author: Tecnativa, Odoo Community Association (OCA)
Author-email: support@odoo-community.org
License: AGPL-3
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 14.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Requires-Python: >=3.6
Requires-Dist: odoo <14.1dev,>=14.0a

===================
Project Recalculate
===================

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

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

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

This module recalculates Task start/end dates depending on Project
start/end dates.

**Table of contents**

.. contents::
   :local:

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

You can define working calendar at Setting > Technical > Resource > Working time.
Then assign this calendar to a resource (related with a user), a project or
a company.

When calculating task dates, this addon will look for a working calendar in this order:

* If project has working time assigned, use it.
* If user assigned, search first resource related with this user
  (normally user is related, only with one resource) and get its working calendar
  ends at 18:00
* If not user assigned or resource hasn't working calendar, search first
  working calendar of the company
* If no working calendar found, then every day is workable and work starts at
  08:00 and ends at 18:00

Also you can define which task stages are included in recalculation when
'Project recalculate' button is clicked. By default, all are included.
To change this go to Project > Configuration > Stages > Task Stages and change
the 'Include in project recalculate' field.

Usage
=====

There are two calculation modes:

* **Date begin**: Task start/end dates are recalculated from project's date begin
* **Date end**: Task start/end dates are recalculated from project's date end

If the project start/end date is changed in the form view, then you have to
click "Recalculate project" button to recalculate all open tasks [1]
according to the new date.

[1] 'Open tasks' means tasks in a stage that are defined with
'Include in project recalculate' = True

This a typical use case:

#. Create a project and configure:
    * Calculation type, for example "Date end".
    * Expiration Date.
#. Create tasks, configuring for each one:
    * From days, in this example, days from date end when this task must start.
    * Estimation days, duration of the task in days.
#. Click at "Recalculate project" button.
#. Go to task list and see the recalculated planning.

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

* Project tasks are written one by one, so this can reduce performance.

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

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

* Endika Iglesias
* Antonio Espinosa
* Javier Iniesta
* `Tecnativa <https://www.tecnativa.com>`_:

  * Rafael Blasco
  * Pedro M. Baeza
  * Ernesto Tejeda

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/project <https://github.com/OCA/project/tree/14.0/project_recalculate>`_ project on GitHub.

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


