-
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[17.0][MIG] agreement_legal: Migration to 17.0
- Loading branch information
1 parent
c7fb879
commit e0d17c4
Showing
21 changed files
with
303 additions
and
356 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,29 +49,29 @@ 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 | ||
- 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 Agreement > Agreements | ||
- Create a new agreement | ||
- Select a template | ||
- Follow the process to get the required approval | ||
- Send the invitation to the customer to review and sign the agreement | ||
- Go to Agreement > Agreements | ||
- Create a new agreement | ||
- Select a template | ||
- Follow the process to get the required approval | ||
- Send the invitation to the customer to review and sign the agreement | ||
|
||
Known issues / Roadmap | ||
====================== | ||
|
||
- Split the module to remove the dependencies on sale and account and | ||
provide the same feature in extra modules (agreement_sale, | ||
agreement_account, agreement_purchase) | ||
- Split the module to remove the dependencies on sale and account and | ||
provide the same feature in extra modules (agreement_sale, | ||
agreement_account, agreement_purchase) | ||
|
||
Bug Tracker | ||
=========== | ||
|
@@ -96,22 +96,23 @@ Authors | |
Contributors | ||
------------ | ||
|
||
- Patrick Wilson <[email protected]> | ||
- Bhavesh Odedra <[email protected]> | ||
- Wolfgang Hall <[email protected]> | ||
- Maxime Chambreuil <[email protected]> | ||
- Sandip Mangukiya <[email protected]> | ||
- Yves Goldberg <[email protected]> | ||
- Tharathip Chaweewongphan <[email protected]> | ||
- Patrick Wilson <[email protected]> | ||
- Bhavesh Odedra <[email protected]> | ||
- Wolfgang Hall <[email protected]> | ||
- Maxime Chambreuil <[email protected]> | ||
- Sandip Mangukiya <[email protected]> | ||
- Yves Goldberg <[email protected]> | ||
- Tharathip Chaweewongphan <[email protected]> | ||
- Italo LOPES <[email protected]> | ||
|
||
Other credits | ||
------------- | ||
|
||
The development of this module has been financially supported by: | ||
|
||
- Pavlov Media | ||
- Open Source Integrators | ||
- Yves Goldberg | ||
- Pavlov Media | ||
- Open Source Integrators | ||
- Yves Goldberg | ||
|
||
Maintainers | ||
----------- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ | |
- Sandip Mangukiya \<<[email protected]>\> | ||
- Yves Goldberg \<<[email protected]>\> | ||
- Tharathip Chaweewongphan \<<[email protected]>\> | ||
- Italo LOPES \<<[email protected]>\> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,10 +8,11 @@ | |
|
||
/* | ||
:Author: David Goodger ([email protected]) | ||
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ | ||
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $ | ||
:Copyright: This stylesheet has been placed in the public domain. | ||
Default cascading style sheet for the HTML output of Docutils. | ||
Despite the name, some widely supported CSS2 features are used. | ||
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to | ||
customize this style sheet. | ||
|
@@ -274,7 +275,7 @@ | |
margin-left: 2em ; | ||
margin-right: 2em } | ||
|
||
pre.code .ln { color: grey; } /* line numbers */ | ||
pre.code .ln { color: gray; } /* line numbers */ | ||
pre.code, code { background-color: #eeeeee } | ||
pre.code .comment, code .comment { color: #5C6576 } | ||
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } | ||
|
@@ -300,7 +301,7 @@ | |
span.pre { | ||
white-space: pre } | ||
|
||
span.problematic { | ||
span.problematic, pre.problematic { | ||
color: red } | ||
|
||
span.section-subtitle { | ||
|
@@ -451,6 +452,7 @@ <h2><a class="toc-backref" href="#toc-entry-7">Contributors</a></h2> | |
<li>Sandip Mangukiya <<a class="reference external" href="mailto:smangukiya@opensourceintegrators.com">smangukiya@opensourceintegrators.com</a>></li> | ||
<li>Yves Goldberg <<a class="reference external" href="mailto:yves@ygol.com">yves@ygol.com</a>></li> | ||
<li>Tharathip Chaweewongphan <<a class="reference external" href="mailto:tharathipc@ecosoft.co.th">tharathipc@ecosoft.co.th</a>></li> | ||
<li>Italo LOPES <<a class="reference external" href="mailto:italo.lopes@camptocamp.com">italo.lopes@camptocamp.com</a>></li> | ||
</ul> | ||
</div> | ||
<div class="section" id="other-credits"> | ||
|
@@ -465,7 +467,9 @@ <h2><a class="toc-backref" href="#toc-entry-8">Other credits</a></h2> | |
<div class="section" id="maintainers"> | ||
<h2><a class="toc-backref" href="#toc-entry-9">Maintainers</a></h2> | ||
<p>This module is maintained by the OCA.</p> | ||
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> | ||
<a class="reference external image-reference" href="https://odoo-community.org"> | ||
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /> | ||
</a> | ||
<p>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.</p> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<templates> | ||
|
||
<t t-inherit="web.FormView" t-inherit-mode="extension"> | ||
<xpath | ||
expr="//*[@class='btn btn-secondary o_form_button_create']" | ||
position="after" | ||
> | ||
<t t-if="props.resModel === 'agreement'"> | ||
<t t-call="agreement_legal.TemplateButton" /> | ||
</t> | ||
</xpath> | ||
<xpath | ||
expr="//*[@class='btn btn-secondary o_form_button_create']" | ||
position="attributes" | ||
> | ||
<attribute name="t-if">canCreateTemplate</attribute> | ||
</xpath> | ||
</t> | ||
|
||
</templates> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<templates> | ||
|
||
<t | ||
t-name="agreement_legal.KanbanViewButtons" | ||
t-inherit="web.KanbanView.Buttons" | ||
t-inherit-mode="primary" | ||
> | ||
<div role="toolbar" position="inside"> | ||
<t t-call="agreement_legal.TemplateButton" /> | ||
</div> | ||
</t> | ||
<t | ||
t-name="agreement_legal.KanbanView" | ||
t-inherit="web.KanbanView" | ||
t-inherit-mode="primary" | ||
> | ||
<xpath expr="//button[hasclass('o-kanban-button-new')]" position="attributes"> | ||
<attribute name="t-if">!noCreate and canCreateTemplate</attribute> | ||
</xpath> | ||
</t> | ||
|
||
|
||
</templates> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<templates> | ||
<t | ||
t-name="agreement_legal.ListView" | ||
t-inherit="web.ListView.Buttons" | ||
t-inherit-mode="primary" | ||
> | ||
<xpath expr="//div[hasclass('o_list_buttons')]" position="attributes"> | ||
<attribute name="t-if">canCreateTemplate</attribute> | ||
</xpath> | ||
<xpath expr="//div[hasclass('o_list_buttons')]" position="after"> | ||
<t t-call="agreement_legal.TemplateButton" /> | ||
</xpath> | ||
</t> | ||
|
||
|
||
</templates> |
Oops, something went wrong.