Metadata-Version: 2.1
Name: odoo-addon-sale_planner_calendar
Version: 18.0.1.1.2
Requires-Python: >=3.10
Requires-Dist: odoo-addon-sale_payment_sheet==18.0.*
Requires-Dist: odoo==18.0.*
Summary: Sale planner calendar
Home-page: https://github.com/OCA/sale-workflow
License: AGPL-3
Author: Tecnativa, Odoo Community Association (OCA)
Author-email: support@odoo-community.org
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 18.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Development Status :: 4 - Beta
Description-Content-Type: text/x-rst

.. image:: https://odoo-community.org/readme-banner-image
   :target: https://odoo-community.org/get-involved?utm_source=readme
   :alt: Odoo Community Association

=====================
Sale planner calendar
=====================

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

.. |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/license-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%2Fsale--workflow-lightgray.png?logo=github
    :target: https://github.com/OCA/sale-workflow/tree/18.0/sale_planner_calendar
    :alt: OCA/sale-workflow
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/sale-workflow-18-0/sale-workflow-18-0-sale_planner_calendar
    :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/sale-workflow&target_branch=18.0
    :alt: Try me on Runboat

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

This module allows to manage commercial visits to partners by using
recurrence events.

**Table of contents**

.. contents::
   :local:

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

You can find the following configurations in the settings:

1. **Subscriptions Backward Days**: Backward days to search documents to
   update subscriptions.
2. **Sale Planner Forward Months**: Forward months to create calendar
   events.
3. **Send invitation to attendees**: Send invitations to attendees when
   a planner event is created.
4. **Sale planner order cut hour**: Time of the next day until which
   orders of the current day are assigned.
5. **Calendar event max duration**: Show a warning message when duration
   is more than this time. Set 00:00 to disable warning.
6. **Event done when confirm sale**: Set the event as done when its
   related sale order is confirmed.
7. **Open new orders in the order form**: A sale order created from a
   planner event opens in the product catalog by default. Enable this
   option to open the order form instead, to fill in the order header
   first (commitment date, notes...) and add products later with the
   Catalog button of the order lines.

Other setting are available with system parameters

1. **Sale order partner** when a so is created from a event planned. You
   can create or update the system parameter
   **sale_planner_calendar.create_so_to_commercial_partner** with True
   value to create the sale order to commercial partner instead of
   partner
2. **Sale order salesperson** when a so is created from an event
   planned. By default the salesperson assigned to the event (usually
   whoever is doing the visit) is kept on the new order - typical when a
   salesperson covers for another one's vacation. You can create or
   update the system parameter
   **sale_planner_calendar.keep_partner_salesperson** with True value to
   keep the partner's own assigned salesperson on the new order instead

Usage
=====

You can create now the recurrent events directly from the partners by
clicking next smart button:

|image|

By default the end of the recurrence is set by the settings field **Sale
Planner Forward Months**.

You can manage this new recurrent events from *Calendar planner* menu
entry.

|image1|

On the first window, you will find a summary of the events that the user
has to do today.

By going to *Calendar planner > Calendar events* you will have two
options:

1. View the calendar events related to your user (*My Calendar*).
2. View your base events related to the recurrences (*Recurrent calendar
   events*).

Finally on *Calendar planner > Wizards* you will have again two options:

1. You can change the hour of the start of all the events related to a
   recurrency by using *Sale planner calendar wizard*.
2. You can change the salesperson assigned to events related to a period
   of time by using the wizard *Reassignment of salesperson*.

.. |image| image:: https://raw.githubusercontent.com/OCA/sale-workflow/18.0/sale_planner_calendar/static/img/smart_button.png
.. |image1| image:: https://raw.githubusercontent.com/OCA/sale-workflow/18.0/sale_planner_calendar/static/img/menu_entry.png

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

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

  - Sergio Teruel
  - Carlos Dauden
  - Carlos Roca
  - Pilar Vargas
  - Víctor Martínez

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-carlosdauden| image:: https://github.com/carlosdauden.png?size=40px
    :target: https://github.com/carlosdauden
    :alt: carlosdauden

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

|maintainer-carlosdauden| 

This module is part of the `OCA/sale-workflow <https://github.com/OCA/sale-workflow/tree/18.0/sale_planner_calendar>`_ project on GitHub.

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