Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
2ddbb18
[ADD] contract_sale (#104)
Nov 9, 2017
722d837
[MIG] contract_sale: Migration to 11.0
lk-eska Feb 16, 2018
fbe3ad1
[FIX+IMP] contract_sale: Several things:
pedrobaeza Aug 23, 2018
5ef1e90
[MIG] contract_sale: Migration to 12.0
sbejaoui Oct 25, 2018
c5af999
[12.0][IMP] - Use sale.group_discount_per_so_line on discount field
sbejaoui Oct 26, 2018
695d51a
Added translation using Weblate (Galician)
mvrodriguez Feb 4, 2019
64ac7bd
Added translation using Weblate (Chinese (Simplified))
liweijie0812 Sep 5, 2019
cf237a4
[IMP] - Adapt contract sale to contract new views
sbejaoui Nov 23, 2018
f6abcdd
[REF] Contract Sale: split from analytic account
ThomasBinsfeld May 28, 2019
a81e3ee
[12.0][IMP] - sale line linked to contracts must not be invoiced from…
sbejaoui Oct 1, 2019
d6fdc4b
[12.0][FIX] contract & contract_sale - security fix
enriquemartin Oct 9, 2019
34975a8
Added translation using Weblate (Spanish (Chile))
Jan 17, 2020
bee2a7a
[IMP] contract: add section and notes in contract line
Mar 17, 2020
9cbde26
Translated using Weblate (Spanish (Chile))
max3903 May 7, 2020
1548f23
[IMP] contract_sale: black, isort, prettier
victoralmau Oct 16, 2020
fb35e3c
[MIG] contract_sale: Migration to 13.0
victoralmau Oct 16, 2020
00fe2a2
[14.0][MIG] contract_sale
dsolanki-initos Jan 8, 2021
5577552
Added translation using Weblate (Spanish (Argentina))
ibuioli Apr 24, 2021
d57256e
[14.0][FIX] Fixed the record contract_modification at .csv file
JoanMForgeFlow Jan 3, 2022
b16137e
[14.0][ADD] contract_sale: Add tests to the module
JoanMForgeFlow Jan 4, 2022
d1ce32a
[15.0][MIG] contract_sale: Migration to 15.0
JoanMForgeFlow Jan 25, 2022
29abe0c
[FIX] contract_sale: Good test import
rousseldenis Jun 22, 2022
c6cabc6
[FIX] contract: change where security is given to group_account_invoi…
albariera Oct 7, 2021
e7dfcdb
[MIG] contract_sale: Migration to 16.0
May 15, 2023
74977c7
[FIX] Update sale menu sequence and remove auto install
Jun 20, 2023
7059427
Added translation using Weblate (Catalan (ca_ES))
miquelalzanillas Jul 18, 2023
f9b499f
[16.0] contract: Show discount lines for users with the group 'Discou…
fkantelberg Feb 9, 2024
14110f1
[IMP] contract_sale: pre-commit auto fixes
jaydeep32 Apr 15, 2024
619df56
[MIG] contract_sale: Migration to 17.0
jaydeep32 Apr 15, 2024
d71fd04
[MIG] contract_sale: Migration to 18.0
sbejaoui Nov 4, 2024
44b4aa4
[UPD] Update contract_sale.pot
Jul 14, 2025
be9de5f
[BOT] post-merge updates
OCA-git-bot Jul 14, 2025
614ddfe
Update translation files
weblate Jul 14, 2025
79943ec
Added translation using Weblate (Swedish)
jakobkrabbe Aug 8, 2025
d9909af
[MIG] contract_sale: Migration to 19.0
Wodran14 Oct 31, 2025
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
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:0e76bad4c9ee8ce04d8ca6bef69b83d380bd26b499dfd04a6d35f7d2e5e3cbf9
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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 <[email protected]>
- Dhara Solanki <[email protected]>
- Joan Mateu <[email protected]>

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 18.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 <[email protected]>, 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 <[email protected]>, 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 <[email protected]>\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 <[email protected]>\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 <[email protected]>\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 <[email protected]>, 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 <[email protected]>, 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 <[email protected]>, 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 <[email protected]>, 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 <[email protected]>, 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 <[email protected]>, 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
Loading