You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OCA Transbot a52e1fe46d Update translation files 4 years ago
data [REF] Contract: split from analytic account 5 years ago
i18n Update translation files 4 years ago
migrations [12.0][IMP] - add new option: create_new_line_at_contract_line_renew 4 years ago
models Merge PR #447 into 12.0 4 years ago
readme Add commercial_partner_id fields into contract module 5 years ago
report [12.0][FIX] - Fix contract report 5 years ago
security [IMP] - Add contract tags 5 years ago
static/description [UPD] README.rst 5 years ago
tests Merge PR #447 into 12.0 4 years ago
views [12.0][IMP] - add new option: create_new_line_at_contract_line_renew 4 years ago
wizards [REF] Contract: split from analytic account 5 years ago
README.rst [UPD] README.rst 5 years ago [12.0][IMP] - Add strat/stop wizard to contract line 5 years ago contract 4 years ago


Recurring - Contracts Management

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!

.. |badge1| image::
:alt: Beta
.. |badge2| image::
:alt: License: AGPL-3
.. |badge3| image::
:alt: OCA/contract
.. |badge4| image::
:alt: Translate me on Weblate
.. |badge5| image::
:alt: Try me on Runbot

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

This module enables contracts management with recurring
invoicing functions. Also you can print and send by email contract report.

It works for customer contract and supplier contracts.

**Table of contents**

.. contents::


To view discount field in contract line, you need to set *Discount on lines* in
user access rights.


#. Contracts are in Invoicing -> Customers -> Customer and Invoicing -> Vendors -> Supplier Contracts
#. When creating a contract, fill fields for selecting the invoicing parameters:

* a journal
* a price list (optional)

#. And add the lines to be invoiced with:

* the product with a description, a quantity and a price
* the recurrence parameters: interval (days, weeks, months, months last day or years),
start date, date of next invoice (automatically computed, can be modified) and end date (optional)
* auto-price, for having a price automatically obtained from the price list
* #START# or #END# in the description field to display the start/end date of
the invoiced period in the invoice line description
* pre-paid (invoice at period start) or post-paid (invoice at start of next period)

#. The "Generate Recurring Invoices from Contracts" cron runs daily to generate the invoices.
If you are in debug mode, you can click on the invoice creation button.
#. The *Show recurring invoices* shortcut on contracts shows all invoices created from the
#. The contract report can be printed from the Print menu
#. The contract can be sent by email with the *Send by Email* button
#. Contract templates can be created from the Configuration -> Contracts -> Contract Templates menu.
They allow to define default journal, price list and lines when creating a contract.
To use it, just select the template on the contract and fields will be filled automatically.

Known issues / Roadmap

* Recover states and others functional fields in Contracts.

Bug Tracker

Bugs are tracked on `GitHub 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 <**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.



* OpenERP SA
* Tecnativa
* LasLabs


* Pedro M. Baeza <>
* Carlos Dauden <>
* Angel Moya <>
* Dave Lasley <>
* Vicent Cubells <>
* Miquel Raïch <>
* Souheil Bejaoui <>
* Thomas Binsfeld <>
* Rafael Blasco <>
* Guillaume Vandamme <>
* Raphaël Reverdy <>


This module is maintained by the OCA.

.. image::
:alt: Odoo Community Association

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/contract <>`_ project on GitHub.

You are welcome to contribute. To learn how please visit