Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[18.0][MIG] contract_sale #1138

Open
wants to merge 32 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
39ff011
[ADD] contract_sale (#104)
Nov 9, 2017
9a03421
[MIG] contract_sale: Migration to 11.0
lk-eska Feb 16, 2018
3d97e49
[FIX+IMP] contract_sale: Several things:
pedrobaeza Aug 23, 2018
869c3b8
[MIG] contract_sale: Migration to 12.0
sbejaoui Oct 25, 2018
2121048
[12.0][IMP] - Use sale.group_discount_per_so_line on discount field
sbejaoui Oct 26, 2018
55a5712
Added translation using Weblate (Galician)
mvrodriguez Feb 4, 2019
bf7e8cf
Added translation using Weblate (Chinese (Simplified))
liweijie0812 Sep 5, 2019
e9a516e
[IMP] - Adapt contract sale to contract new views
sbejaoui Nov 23, 2018
43c75cb
[REF] Contract Sale: split from analytic account
ThomasBinsfeld May 28, 2019
2150b59
[12.0][IMP] - sale line linked to contracts must not be invoiced from…
sbejaoui Oct 1, 2019
94b97c9
[12.0][FIX] contract & contract_sale - security fix
enriquemartin Oct 9, 2019
065fd4f
Added translation using Weblate (Spanish (Chile))
Jan 17, 2020
772483e
[IMP] contract: add section and notes in contract line
Mar 17, 2020
0b0895a
Translated using Weblate (Spanish (Chile))
max3903 May 7, 2020
5613cbd
[IMP] contract_sale: black, isort, prettier
victoralmau Oct 16, 2020
1d7cb3d
[MIG] contract_sale: Migration to 13.0
victoralmau Oct 16, 2020
1427a67
[14.0][MIG] contract_sale
dsolanki-initos Jan 8, 2021
82cd2c4
Added translation using Weblate (Spanish (Argentina))
ibuioli Apr 24, 2021
3d7eb50
[14.0][FIX] Fixed the record contract_modification at .csv file
JoanMForgeFlow Jan 3, 2022
2a98cfa
[14.0][ADD] contract_sale: Add tests to the module
JoanMForgeFlow Jan 4, 2022
4300b89
[15.0][MIG] contract_sale: Migration to 15.0
JoanMForgeFlow Jan 25, 2022
89cd1cd
[FIX] contract_sale: Good test import
rousseldenis Jun 22, 2022
c73f8e5
[FIX] contract: change where security is given to group_account_invoi…
albariera Oct 7, 2021
78f3154
[MIG] contract_sale: Migration to 16.0
May 15, 2023
ca65b17
[FIX] Update sale menu sequence and remove auto install
Jun 20, 2023
fdad9d8
Added translation using Weblate (Catalan (ca_ES))
miquelalzanillas Jul 18, 2023
02558fd
[16.0] contract: Show discount lines for users with the group 'Discou…
fkantelberg Feb 9, 2024
df250f2
[IMP] contract_sale: pre-commit auto fixes
jaydeep32 Apr 15, 2024
63b84ff
[MIG] contract_sale: Migration to 17.0
jaydeep32 Apr 15, 2024
6f00f94
[BOT] post-merge updates
OCA-git-bot Apr 20, 2024
92922b4
Update translation files
weblate Apr 21, 2024
169f7dc
[18.0][MIG] contract_sale
sbejaoui Nov 4, 2024
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
96 changes: 96 additions & 0 deletions contract_sale/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
==================
Contract from Sale
==================

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

.. |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/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%2Fcontract-lightgray.png?logo=github
:target: https://github.com/OCA/contract/tree/18.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-18-0/contract-18-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=18.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:%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>`__:

- 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/18.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": "18.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 17.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