Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
e3021a4
[ADD] contract_sale (#104)
Nov 9, 2017
f8c2b07
[MIG] contract_sale: Migration to 11.0
lk-eska Feb 16, 2018
aa54916
[FIX+IMP] contract_sale: Several things:
pedrobaeza Aug 23, 2018
ff72d3d
[MIG] contract_sale: Migration to 12.0
sbejaoui Oct 25, 2018
5dfeeee
[12.0][IMP] - Use sale.group_discount_per_so_line on discount field
sbejaoui Oct 26, 2018
7eb265d
Added translation using Weblate (Galician)
mvrodriguez Feb 4, 2019
b325f4b
Added translation using Weblate (Chinese (Simplified))
liweijie0812 Sep 5, 2019
aee1417
[IMP] - Adapt contract sale to contract new views
sbejaoui Nov 23, 2018
585e513
[REF] Contract Sale: split from analytic account
ThomasBinsfeld May 28, 2019
f6fa371
[12.0][IMP] - sale line linked to contracts must not be invoiced from…
sbejaoui Oct 1, 2019
3f5e3f7
[12.0][FIX] contract & contract_sale - security fix
enriquemartin Oct 9, 2019
6695cfc
Added translation using Weblate (Spanish (Chile))
Jan 17, 2020
d2d5843
[IMP] contract: add section and notes in contract line
Mar 17, 2020
f48d61b
Translated using Weblate (Spanish (Chile))
max3903 May 7, 2020
21409aa
[IMP] contract_sale: black, isort, prettier
victoralmau Oct 16, 2020
d5a8a79
[MIG] contract_sale: Migration to 13.0
victoralmau Oct 16, 2020
ba4623a
[14.0][MIG] contract_sale
dsolanki-initos Jan 8, 2021
0b54180
Added translation using Weblate (Spanish (Argentina))
ibuioli Apr 24, 2021
a7dfa64
[14.0][FIX] Fixed the record contract_modification at .csv file
JoanMForgeFlow Jan 3, 2022
074c05b
[14.0][ADD] contract_sale: Add tests to the module
JoanMForgeFlow Jan 4, 2022
1a92cbc
[15.0][MIG] contract_sale: Migration to 15.0
JoanMForgeFlow Jan 25, 2022
564463f
[FIX] contract_sale: Good test import
rousseldenis Jun 22, 2022
d1b75bb
[FIX] contract: change where security is given to group_account_invoi…
albariera Oct 7, 2021
8568e2e
[MIG] contract_sale: Migration to 16.0
May 15, 2023
658a8ae
[FIX] Update sale menu sequence and remove auto install
Jun 20, 2023
e0f8097
Added translation using Weblate (Catalan (ca_ES))
miquelalzanillas Jul 18, 2023
deb5704
[16.0] contract: Show discount lines for users with the group 'Discou…
fkantelberg Feb 9, 2024
7eaab21
[IMP] contract_sale: pre-commit auto fixes
jaydeep32 Apr 15, 2024
a49e1b9
[MIG] contract_sale: Migration to 17.0
jaydeep32 Apr 15, 2024
f6c3eb4
[MIG] contract_sale: Migration to 18.0
sbejaoui Nov 4, 2024
463afe0
Added translation using Weblate (Swedish)
jakobkrabbe Aug 8, 2025
1884e93
[14.0][ADD] contract_update_last_date_invoiced
rousseldenis Feb 17, 2022
ebca230
Added translation using Weblate (French)
Yvesldff Nov 4, 2022
123f650
Added translation using Weblate (Spanish)
Ivorra78 Dec 19, 2023
e0b34f9
[16.0][MIG] contract_update_last_date_invoiced: precommit stuff
Nov 25, 2024
3f15aaf
[16.0][MIG] account_update_last_date_invoiced: standard migration
Nov 25, 2024
6237b44
Added translation using Weblate (Italian)
mymage Dec 20, 2024
6125da7
[IMP] contract_update_last_date_invoiced: pre-commit auto fixes
BhaveshHeliconia Feb 18, 2025
ac1e4c2
[MIG] contract_update_last_date_invoiced: Migration to 17.0
BhaveshHeliconia Feb 18, 2025
0770354
[IMP] contract_update_last_date_invoiced: pre-commit auto fixes
Sep 12, 2025
4045d50
[MIG] contract_update_last_date_invoiced: Migration to 18.0
Sep 15, 2025
4402b04
[UPD] contract_update_last_date_invoiced: Update translations
Shide Nov 13, 2025
8ddc213
Added translation using Weblate (Dutch)
bosd Dec 29, 2025
196810b
[MIG] contract_sale: Migration to 19.0
CRogos Jun 11, 2026
f83c008
[MIG] contract_update_last_date_invoiced: Migration to 19.0
bosd Dec 29, 2025
f3991ae
Merge PR #1368 into 19.0
OCA-git-bot Jul 6, 2026
b26d00d
[UPD] Update contract_update_last_date_invoiced.pot
Jul 6, 2026
9619883
[BOT] post-merge updates
OCA-git-bot Jul 6, 2026
5ea231c
Merge PR #1445 into 19.0
OCA-git-bot Jul 6, 2026
2d2415a
[UPD] Update contract_sale.pot
Jul 6, 2026
97fffcf
[BOT] post-merge updates
OCA-git-bot Jul 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ addon | version | maintainers | summary
--- | --- | --- | ---
[contract](contract/) | 19.0.1.0.2 | | Recurring - Contracts Management
[contract_analytic_tag](contract_analytic_tag/) | 19.0.1.0.0 | <a href='https://github.com/victoralmau'><img src='https://github.com/victoralmau.png' width='32' height='32' style='border-radius:50%;' alt='victoralmau'/></a> | Contract Analytic Tag
[contract_sale](contract_sale/) | 19.0.1.0.0 | | Contract from Sale
[contract_update_last_date_invoiced](contract_update_last_date_invoiced/) | 19.0.1.0.0 | <a href='https://github.com/rafaelbn'><img src='https://github.com/rafaelbn.png' width='32' height='32' style='border-radius:50%;' alt='rafaelbn'/></a> <a href='https://github.com/Andrii9090'><img src='https://github.com/Andrii9090.png' width='32' height='32' style='border-radius:50%;' alt='Andrii9090'/></a> | This module allows to update the last date invoiced if invoices are deleted.
[contract_variable_quantity](contract_variable_quantity/) | 19.0.1.0.0 | | Variable quantity in contract recurrent invoicing
[subscription_oca](subscription_oca/) | 19.0.1.1.3 | | Generate recurring invoices.

Expand Down
100 changes: 100 additions & 0 deletions contract_sale/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

==================
Contract from Sale
==================

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

.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
:target: https://odoo-community.org/page/development-status
:alt: Production/Stable
.. |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%2Fcontract-lightgray.png?logo=github
:target: https://github.com/OCA/contract/tree/19.0/contract_sale
:alt: OCA/contract
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/contract-19-0/contract-19-0-contract_sale
: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/contract&target_branch=19.0
:alt: Try me on Runboat

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

This module allows access to contracts for sale employees without
account permissions.

Employees in sale security group "User: Only Own Documents", can only
access contracts created by themselves.

**Table of contents**

.. contents::
:local:

Usage
=====

1. Log with an user having sale but not account permissions.
2. Go to Sales > Sales > Contracts.
3. Create a new record or edit another one.

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

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

- Luis M. Ontalba
- Pedro M. Baeza
- Víctor Martínez

- Levent Karakaş
- Bejaoui Souheil <souheil.bejaoui@acsone.eu>
- Dhara Solanki <dhara.solanki@initos.com>
- Joan Mateu <joan.mateu@forgeflow.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/contract <https://github.com/OCA/contract/tree/19.0/contract_sale>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions contract_sale/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
21 changes: 21 additions & 0 deletions contract_sale/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Copyright 2017 Tecnativa - Luis M. Ontalba
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

{
"name": "Contract from Sale",
"version": "19.0.1.0.0",
"category": "Sales",
"author": "Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/contract",
"depends": ["sale", "contract"],
"development_status": "Production/Stable",
"data": [
"security/ir.model.access.csv",
"security/contract_security.xml",
"views/contract.xml",
"views/res_partner_view.xml",
],
"license": "AGPL-3",
"installable": True,
"auto_install": False,
}
20 changes: 20 additions & 0 deletions contract_sale/i18n/ca_ES.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * contract_sale
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: ca_ES\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"

#. module: contract_sale
#: model:ir.ui.menu,name:contract_sale.menu_contract_sale
msgid "Contracts"
msgstr ""
19 changes: 19 additions & 0 deletions contract_sale/i18n/contract_sale.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * contract_sale
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 19.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: contract_sale
#: model:ir.ui.menu,name:contract_sale.menu_contract_sale
msgid "Contracts"
msgstr ""
24 changes: 24 additions & 0 deletions contract_sale/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * contract_sale
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-30 01:41+0000\n"
"PO-Revision-Date: 2017-11-30 01:41+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: contract_sale
#: model:ir.ui.menu,name:contract_sale.menu_contract_sale
msgid "Contracts"
msgstr "Verträge"
22 changes: 22 additions & 0 deletions contract_sale/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * contract_sale
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-10-12 10:50+0000\n"
"PO-Revision-Date: 2017-10-12 10:50+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: contract_sale
#: model:ir.ui.menu,name:contract_sale.menu_contract_sale
msgid "Contracts"
msgstr "Contratos"
22 changes: 22 additions & 0 deletions contract_sale/i18n/es_AR.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * contract_sale
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2021-04-24 20:47+0000\n"
"Last-Translator: Ignacio Buioli <ibuioli@gmail.com>\n"
"Language-Team: none\n"
"Language: es_AR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.3.2\n"

#. module: contract_sale
#: model:ir.ui.menu,name:contract_sale.menu_contract_sale
msgid "Contracts"
msgstr "Contratos"
22 changes: 22 additions & 0 deletions contract_sale/i18n/es_CL.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * contract_sale
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2020-05-07 20:19+0000\n"
"Last-Translator: Maxime Chambreuil <mchambreuil@opensourceintegrators.com>\n"
"Language-Team: none\n"
"Language: es_CL\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 3.10\n"

#. module: contract_sale
#: model:ir.ui.menu,name:contract_sale.menu_contract_sale
msgid "Contracts"
msgstr "Contratos"
22 changes: 22 additions & 0 deletions contract_sale/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * contract_sale
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-02-10 16:04+0000\n"
"PO-Revision-Date: 2024-02-10 16:04+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: contract_sale
#: model:ir.ui.menu,name:contract_sale.menu_contract_sale
msgid "Contracts"
msgstr "Contrats"
23 changes: 23 additions & 0 deletions contract_sale/i18n/gl.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * contract_sale
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-05-29 10:00+0000\n"
"PO-Revision-Date: 2019-02-04 18:50+0000\n"
"Last-Translator: Marta Vázquez Rodríguez <vazrodmar@gmail.com>\n"
"Language-Team: none\n"
"Language: gl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 3.4\n"

#. module: contract_sale
#: model:ir.ui.menu,name:contract_sale.menu_contract_sale
msgid "Contracts"
msgstr "Contratos"
25 changes: 25 additions & 0 deletions contract_sale/i18n/hi_IN.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * contract_sale
#
# Translators:
# Ashish Deshmukh <ashish.p.deshmukh@gmail.com>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-30 01:41+0000\n"
"PO-Revision-Date: 2017-11-30 01:41+0000\n"
"Last-Translator: Ashish Deshmukh <ashish.p.deshmukh@gmail.com>, 2017\n"
"Language-Team: Hindi (India) (https://www.transifex.com/oca/teams/23907/"
"hi_IN/)\n"
"Language: hi_IN\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: contract_sale
#: model:ir.ui.menu,name:contract_sale.menu_contract_sale
msgid "Contracts"
msgstr "अनुबंध"
25 changes: 25 additions & 0 deletions contract_sale/i18n/hr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * contract_sale
#
# Translators:
# Bole <bole@dajmi5.com>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-30 01:41+0000\n"
"PO-Revision-Date: 2017-11-30 01:41+0000\n"
"Last-Translator: Bole <bole@dajmi5.com>, 2017\n"
"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n"
"Language: hr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"

#. module: contract_sale
#: model:ir.ui.menu,name:contract_sale.menu_contract_sale
msgid "Contracts"
msgstr "Ugovori"
26 changes: 26 additions & 0 deletions contract_sale/i18n/hr_HR.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * contract_sale
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-30 01:41+0000\n"
"PO-Revision-Date: 2017-11-30 01:41+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/"
"hr_HR/)\n"
"Language: hr_HR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"

#. module: contract_sale
#: model:ir.ui.menu,name:contract_sale.menu_contract_sale
msgid "Contracts"
msgstr "Ugovori"
Loading