diff --git a/contract_sale/README.rst b/contract_sale/README.rst
index 390f1d994..bb22fcfc4 100644
--- a/contract_sale/README.rst
+++ b/contract_sale/README.rst
@@ -7,20 +7,20 @@ Contract from Sale
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
+.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
:target: https://odoo-community.org/page/development-status
- :alt: Beta
+ :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/12.0/contract_sale
+ :target: https://github.com/OCA/contract/tree/13.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-12-0/contract-12-0-contract_sale
+ :target: https://translation.odoo-community.org/projects/contract-13-0/contract-13-0-contract_sale
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
- :target: https://runbot.odoo-community.org/runbot/110/12.0
+ :target: https://runbot.odoo-community.org/runbot/110/13.0
:alt: Try me on Runbot
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -49,7 +49,7 @@ 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 `_.
+`feedback `_.
Do not contact contributors directly about support or help with technical issues.
@@ -68,6 +68,7 @@ Contributors
* Luis M. Ontalba
* Pedro M. Baeza
+ * Víctor Martínez
* Levent Karakaş
* Bejaoui Souheil
@@ -85,6 +86,6 @@ 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.
+This module is part of the `OCA/contract `_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/contract_sale/__manifest__.py b/contract_sale/__manifest__.py
index 208728c27..0df1c861e 100644
--- a/contract_sale/__manifest__.py
+++ b/contract_sale/__manifest__.py
@@ -3,11 +3,12 @@
{
"name": "Contract from Sale",
- "version": "12.0.3.0.0",
+ "version": "13.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",
diff --git a/contract_sale/i18n/contract_sale.pot b/contract_sale/i18n/contract_sale.pot
index 3ddf1e286..46c345f80 100644
--- a/contract_sale/i18n/contract_sale.pot
+++ b/contract_sale/i18n/contract_sale.pot
@@ -1,12 +1,12 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
-# * contract_sale
+# * contract_sale
#
msgid ""
msgstr ""
-"Project-Id-Version: Odoo Server 12.0\n"
+"Project-Id-Version: Odoo Server 13.0\n"
"Report-Msgid-Bugs-To: \n"
-"Last-Translator: <>\n"
+"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -17,4 +17,3 @@ msgstr ""
#: model:ir.ui.menu,name:contract_sale.menu_contract_sale
msgid "Contracts"
msgstr ""
-
diff --git a/contract_sale/migrations/12.0.2.0.0/pre-migration.py b/contract_sale/migrations/12.0.2.0.0/pre-migration.py
deleted file mode 100644
index 78533de77..000000000
--- a/contract_sale/migrations/12.0.2.0.0/pre-migration.py
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 2019 ACSONE SA/NV
-# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-
-import logging
-
-from openupgradelib import openupgrade
-
-_logger = logging.getLogger(__name__)
-
-
-def migrate(cr, version):
- xmlids_to_rename = [
- (
- "contract_sale.account_analytic_account_own_salesman",
- "contract_sale.contract_contract_own_salesman",
- ),
- (
- "contract_sale.account_analytic_account_see_all",
- "contract_sale.contract_contract_see_all",
- ),
- (
- "contract_sale.account_analytic_contract_salesman",
- "contract_sale.contract_template_salesman",
- ),
- (
- "contract_sale.account_analytic_contract_sale_manager",
- "contract_sale.contract_template_sale_manager",
- ),
- (
- "contract_sale.account_analytic_invoice_line_saleman",
- "contract_sale.contract_line_saleman",
- ),
- (
- "contract_sale.account_analytic_invoice_line_manager",
- "contract_sale.contract_line_manager",
- ),
- (
- "contract_sale.account_analytic_contract_line_salesman",
- "contract_sale.contract_template_line_salesman",
- ),
- (
- "contract_sale.account_analytic_contract_line_manager",
- "contract_sale.contract_template_line_manager",
- ),
- (
- "contract_sale.account_analytic_account_contract_salesman",
- "contract_sale.contract_contract_salesman",
- ),
- ]
- openupgrade.rename_xmlids(cr, xmlids_to_rename)
diff --git a/contract_sale/readme/CONTRIBUTORS.rst b/contract_sale/readme/CONTRIBUTORS.rst
index 2f317167b..6445ca0e9 100644
--- a/contract_sale/readme/CONTRIBUTORS.rst
+++ b/contract_sale/readme/CONTRIBUTORS.rst
@@ -2,6 +2,7 @@
* Luis M. Ontalba
* Pedro M. Baeza
+ * Víctor Martínez
* Levent Karakaş
* Bejaoui Souheil
diff --git a/contract_sale/security/ir.model.access.csv b/contract_sale/security/ir.model.access.csv
index 9fc773d87..7f58bb031 100644
--- a/contract_sale/security/ir.model.access.csv
+++ b/contract_sale/security/ir.model.access.csv
@@ -8,5 +8,5 @@
"account_analytic_line_contract_salesman","Recurring Analytic Line Salesman","analytic.model_account_analytic_line","sales_team.group_sale_salesman",1,1,1,0
"contract_contract_salesman","Recurring Analytic Account Salesman","contract.model_contract_contract","sales_team.group_sale_salesman",1,1,1,0
"account_analytic_tag_contract_salesman","Recurring Account Analytic Tag Salesman","analytic.model_account_analytic_tag","sales_team.group_sale_salesman",1,1,1,0
-"account_invoice_contract_salesman","Recurring Account Inoice Salesman","account.model_account_invoice","sales_team.group_sale_salesman",1,0,0,0
+"account_move_contract_salesman","Recurring Account Invoice Salesman","account.model_account_move","sales_team.group_sale_salesman",1,0,0,0
"account_journal_contract_salesman","Recurring Account Journal Salesman","account.model_account_journal","sales_team.group_sale_salesman",1,0,0,0
diff --git a/contract_sale/static/description/index.html b/contract_sale/static/description/index.html
index 26034a174..414c5fe8f 100644
--- a/contract_sale/static/description/index.html
+++ b/contract_sale/static/description/index.html
@@ -367,7 +367,7 @@ ul.auto-toc {
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-

+

This module allows access to contracts for sale employees without account
permissions.
Employees in sale security group “User: Only Own Documents”, can only access
@@ -398,7 +398,7 @@ contracts created by themselves.
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.
+feedback.
Do not contact contributors directly about support or help with technical issues.
@@ -415,6 +415,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
Tecnativa:
- Luis M. Ontalba
- Pedro M. Baeza
+- Víctor Martínez
Levent Karakaş
@@ -428,7 +429,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
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.
+
This module is part of the OCA/contract project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/contract_sale/views/abstract_contract_line.xml b/contract_sale/views/abstract_contract_line.xml
index 1a8e63089..5ef893cac 100644
--- a/contract_sale/views/abstract_contract_line.xml
+++ b/contract_sale/views/abstract_contract_line.xml
@@ -12,7 +12,7 @@
/>
- sale.group_discount_per_so_line
+ product.group_discount_per_so_line
diff --git a/contract_sale/views/contract.xml b/contract_sale/views/contract.xml
index 4dd6ff5f4..c5275dacd 100644
--- a/contract_sale/views/contract.xml
+++ b/contract_sale/views/contract.xml
@@ -19,7 +19,7 @@
>
diff --git a/contract_sale/views/contract_line.xml b/contract_sale/views/contract_line.xml
index aab9433c9..d79210859 100644
--- a/contract_sale/views/contract_line.xml
+++ b/contract_sale/views/contract_line.xml
@@ -7,7 +7,7 @@
- sale.group_discount_per_so_line
+ product.group_discount_per_so_line
diff --git a/contract_sale/views/contract_template.xml b/contract_sale/views/contract_template.xml
index edf1f092c..9e16ff4cf 100644
--- a/contract_sale/views/contract_template.xml
+++ b/contract_sale/views/contract_template.xml
@@ -7,7 +7,7 @@
- sale.group_discount_per_so_line
+ product.group_discount_per_so_line