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

[16.0][MIG]agreement legal sale #45

Open
wants to merge 22 commits into
base: 16.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
cb4d474
[MIG][12.0] agreement_legal_sale
murtuzasaleh Mar 28, 2019
64af26c
[FIX] agreement_legal_sale: Github Issue #370
max3903 Sep 5, 2019
105d4c2
[FIX] agreement_legal_sale: Github Issue #371
max3903 Sep 5, 2019
5c4439a
[IMP] move some notions from agreement_legal to agreement
gurneyalex Sep 27, 2019
12e81f6
[FIX] Ensure Analytic Account is copied from SO to Agreement
dreispt Dec 17, 2019
a6f0593
agreement_legal_sale 12.0.1.1.0
OCA-git-bot Dec 26, 2019
54fcc17
[IMP] New icon for agreement modules (svg file in agreement_legal)
marcelsavegnago Feb 15, 2020
e136f38
agreement_legal_sale 12.0.1.1.1
OCA-git-bot Feb 20, 2020
e9325bb
[IMP] Allow Multiple SP's From SO Line
osi-scampbell Apr 3, 2020
bad1789
[REF] Fix lint (unused variable)
dreispt Apr 9, 2020
f1c28c5
agreement_legal_sale 12.0.2.0.0
OCA-git-bot Apr 9, 2020
f479abb
[14.0][MIG] agreement_legal_sale (Version 12.0 to 14.0)
patrickrwilson May 10, 2021
8543352
[IMP]Improved the UT.
hpatelserpentcs Aug 16, 2021
8a0e0ba
[IMP]Improved the codecov.
hpatelserpentcs Aug 17, 2021
0de34fc
[UPD] Update agreement_legal_sale.pot
oca-travis Nov 26, 2021
74e0d78
[UPD] README.rst
OCA-git-bot Nov 26, 2021
966fb08
Added translation using Weblate (Spanish (Argentina))
ibuioli Feb 6, 2022
5cdfb66
Translated using Weblate (Spanish (Argentina))
ibuioli Feb 6, 2022
d7ebf80
[FIX] agreement_legal_sale - ignore sale order lines with display_type
jdidderen-be Jun 12, 2022
1560334
[FIX] agreement_legal_sale - add test lines for display type
jdidderen-be Jun 16, 2022
cfdc1a1
agreement_legal_sale 14.0.1.0.1
OCA-git-bot Oct 24, 2022
556bf34
[MIG]agreement_legal_sale: Migration to 16.0
adasatorres Sep 18, 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
138 changes: 138 additions & 0 deletions agreement_legal_sale/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
====================
Agreement Legal Sale
====================

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

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |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%2Fagreement-lightgray.png?logo=github
:target: https://github.com/OCA/agreement/tree/16.0/agreement_legal_sale
:alt: OCA/agreement
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/agreement-16-0/agreement-16-0-agreement_legal_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/agreement&target_branch=16.0
:alt: Try me on Runboat

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

Odoo Sales App does not support the management of legal content for agreements
and contracts. It's also not integrated with the Agreement App.

This module is for companies that needs their customer to sign an agreement
with all the legal information based on the selected agreement template.

**Table of contents**

.. contents::
:local:

Configuration
=============

To configure this module:

* Go to Agreement > Configuration > Templates
* Create a new template with sections and clauses and their respective content
* Go to Agreement > Configuration > Stages
* Create and reorder stages to match your process

Usage
=====

To use this module:

* Go to Sales
* Create or select a quotation
* Set the agreement template and add some products
* Confirm the quotation. An agreement is created and linked to the sales order:

* the agreement template is copied into an agreement with a copy of the
sections, clauses, recitals and appendices
* all the sales order lines are added as agreement lines
* the service products (with is_serviceprofile = True) on the SO are added as service profile on the agreement
* the customer information is set from the sales order
* the eventual analytic account linked to the sales order is set on the agreement
* the agreement is linked to the sales order and vice versa

Known issues / Roadmap
======================

The roadmap is documented on https://github.com/OCA/contract/issues.

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

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

* Open Source Integrators

Contributors
~~~~~~~~~~~~

* Steven Campbell <scampbell@opensourceintegrators.com>
* Maxime Chambreuil <mchambreuil@opensourceintegrators.com>
* Serpent Consulting Services Pvt. Ltd. <support@serpentcs.com>

* `Binhex <https://www.binhex.cloud>`_:

* Adasat Torres de León <a.torres@binhex.cloud>

Other credits
~~~~~~~~~~~~~

The development of this module has been financially supported by:

* Pavlov Media
* Open Source Integrators

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.

.. |maintainer-osi-scampbell| image:: https://github.com/osi-scampbell.png?size=40px
:target: https://github.com/osi-scampbell
:alt: osi-scampbell
.. |maintainer-max3903| image:: https://github.com/max3903.png?size=40px
:target: https://github.com/max3903
:alt: max3903

Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-osi-scampbell| |maintainer-max3903|

This module is part of the `OCA/agreement <https://github.com/OCA/agreement/tree/16.0/agreement_legal_sale>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions agreement_legal_sale/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models
23 changes: 23 additions & 0 deletions agreement_legal_sale/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright (C) 2019 - TODAY, Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Agreement Legal Sale",
"summary": "Create an agreement when the sale order is confirmed",
"version": "16.0.1.0.0",
"license": "AGPL-3",
"author": "Open Source Integrators, Odoo Community Association (OCA)",
"category": "Agreement",
"website": "https://github.com/OCA/agreement",
"depends": ["agreement_legal", "agreement_sale", "agreement_serviceprofile"],
"data": [
"views/agreement.xml",
"views/sale_order.xml",
],
"installable": True,
"development_status": "Beta",
"maintainers": [
"osi-scampbell",
"max3903",
],
}
71 changes: 71 additions & 0 deletions agreement_legal_sale/i18n/agreement_legal_sale.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * agreement_legal_sale
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.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: agreement_legal_sale
#: model:ir.model,name:agreement_legal_sale.model_agreement
msgid "Agreement"
msgstr ""

#. module: agreement_legal_sale
#: model:ir.model,name:agreement_legal_sale.model_agreement_line
msgid "Agreement Lines"
msgstr ""

#. module: agreement_legal_sale
#: model:ir.model.fields,field_description:agreement_legal_sale.field_sale_order__agreement_template_id
msgid "Agreement Template"
msgstr ""

#. module: agreement_legal_sale
#: model:ir.model.fields,field_description:agreement_legal_sale.field_agreement__analytic_account_id
msgid "Analytic Account"
msgstr ""

#. module: agreement_legal_sale
#: model:ir.model.fields,field_description:agreement_legal_sale.field_agreement__display_name
#: model:ir.model.fields,field_description:agreement_legal_sale.field_agreement_line__display_name
#: model:ir.model.fields,field_description:agreement_legal_sale.field_sale_order__display_name
msgid "Display Name"
msgstr ""

#. module: agreement_legal_sale
#: model:ir.model.fields,field_description:agreement_legal_sale.field_agreement__id
#: model:ir.model.fields,field_description:agreement_legal_sale.field_agreement_line__id
#: model:ir.model.fields,field_description:agreement_legal_sale.field_sale_order__id
msgid "ID"
msgstr ""

#. module: agreement_legal_sale
#: model:ir.model.fields,field_description:agreement_legal_sale.field_agreement____last_update
#: model:ir.model.fields,field_description:agreement_legal_sale.field_agreement_line____last_update
#: model:ir.model.fields,field_description:agreement_legal_sale.field_sale_order____last_update
msgid "Last Modified on"
msgstr ""

#. module: agreement_legal_sale
#: model_terms:ir.ui.view,arch_db:agreement_legal_sale.agreement_sale_form_view
msgid "Sales"
msgstr ""

#. module: agreement_legal_sale
#: model:ir.model,name:agreement_legal_sale.model_sale_order
#: model:ir.model.fields,field_description:agreement_legal_sale.field_agreement__sale_id
msgid "Sales Order"
msgstr ""

#. module: agreement_legal_sale
#: model:ir.model.fields,field_description:agreement_legal_sale.field_agreement_line__sale_line_id
msgid "Sales Order Line"
msgstr ""
64 changes: 64 additions & 0 deletions agreement_legal_sale/i18n/agreement_sale.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * agreement_sale
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.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: agreement_sale
#: model:ir.model.fields,field_description:agreement_sale.field_sale_order_agreement_id
#: model:ir.ui.view,arch_db:agreement_sale.product_template_form_view
msgid "Agreement"
msgstr ""

#. module: agreement_sale
#: model:ir.model.fields,field_description:agreement_sale.field_sale_order_agreement_template_id
msgid "Agreement Template"
msgstr ""

#. module: agreement_sale
#: model:ir.model.fields,field_description:agreement_sale.field_product_product_is_serviceprofile
#: model:ir.model.fields,field_description:agreement_sale.field_product_template_is_serviceprofile
msgid "Create a Service Profile"
msgstr ""

#. module: agreement_sale
#: model:ir.model.fields,help:agreement_sale.field_product_product_is_serviceprofile
#: model:ir.model.fields,help:agreement_sale.field_product_template_is_serviceprofile
msgid "If True, this product will create a service profile on the\n"
" agreement when the sales order is confirmed."
msgstr ""

#. module: agreement_sale
#: model:ir.model,name:agreement_sale.model_product_template
msgid "Product Template"
msgstr ""

#. module: agreement_sale
#: model:ir.model,name:agreement_sale.model_sale_order
msgid "Quotation"
msgstr ""

#. module: agreement_sale
#: model:ir.ui.view,arch_db:agreement_sale.agreement_sale_form_view
msgid "Sales"
msgstr ""

#. module: agreement_sale
#: model:ir.model.fields,field_description:agreement_sale.field_agreement_sale_id
msgid "Sales Order"
msgstr ""

#. module: agreement_sale
#: model:ir.model,name:agreement_sale.model_agreement
msgid "agreement"
msgstr ""

76 changes: 76 additions & 0 deletions agreement_legal_sale/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * agreement_sale
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2019-05-10 14:03+0000\n"
"Last-Translator: Maria Sparenberg <maria.sparenberg@gmx.net>\n"
"Language-Team: none\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"
"X-Generator: Weblate 3.5.1\n"

#. module: agreement_legal_sale
#: model:ir.model,name:agreement_legal_sale.model_agreement
msgid "Agreement"
msgstr "Vereinbarung"

#. module: agreement_legal_sale
#: model:ir.model,name:agreement_legal_sale.model_agreement_line
msgid "Agreement Lines"
msgstr "Vereinbarungspositionen"

#. module: agreement_legal_sale
#: model:ir.model.fields,field_description:agreement_legal_sale.field_sale_order__agreement_template_id
msgid "Agreement Template"
msgstr "Vereinbarungsvorlage"

#. module: agreement_legal_sale
#: model:ir.model.fields,field_description:agreement_legal_sale.field_agreement__analytic_account_id
msgid "Analytic Account"
msgstr "Kostenstelle"

#. module: agreement_legal_sale
#: model:ir.model,name:agreement_legal_sale.model_sale_order
msgid "Sale Order"
msgstr "Verkaufsauftrag"

#. module: agreement_legal_sale
#: model_terms:ir.ui.view,arch_db:agreement_legal_sale.agreement_sale_form_view
msgid "Sales"
msgstr "Verkauf"

#. module: agreement_legal_sale
#: model:ir.model.fields,field_description:agreement_legal_sale.field_agreement__sale_id
msgid "Sales Order"
msgstr "Verkaufsauftrag"

#. module: agreement_legal_sale
#: model:ir.model.fields,field_description:agreement_legal_sale.field_agreement_line__sale_line_id
msgid "Sales Order Line"
msgstr "Auftragszeile"

#~ msgid "Create a Service Profile"
#~ msgstr "Dienstleistungsprofil erstellen"

#~ msgid ""
#~ "If True, this product will create a service profile on the\n"
#~ " agreement when the sales order is confirmed."
#~ msgstr ""
#~ "Wenn der Haken gesetzt ist, wird dieses Produkt ein Dienstleistungsprofil "
#~ "in der Vereinbarung erzeugen, sobald der Verkaufsauftrag bestätigt wird."

#~ msgid "Product Template"
#~ msgstr "Produktvorlage"

#~ msgid "Quotation"
#~ msgstr "Angebot"

#~ msgid "agreement"
#~ msgstr "Vereinbarung"
Loading
Loading