diff --git a/agreement/__manifest__.py b/agreement/__manifest__.py index cc43e2fc..0d2c31a5 100644 --- a/agreement/__manifest__.py +++ b/agreement/__manifest__.py @@ -22,6 +22,7 @@ "data/module_category.xml", "security/res_groups.xml", "security/ir.model.access.csv", + 'views/res_config_settings.xml', "views/reports.xml", "views/agreement.xml", "views/agreement_clause.xml", diff --git a/agreement/models/__init__.py b/agreement/models/__init__.py index 253dd9d6..faf7817b 100644 --- a/agreement/models/__init__.py +++ b/agreement/models/__init__.py @@ -1,12 +1,15 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from . import partner_agreement -from . import agreement_clause -from . import agreement_section -from . import agreement_stage -from . import agreement_type -from . import agreement_subtype -from . import res_partner -from . import product_template -from . import agreement_renewaltype -from . import agreement_increasetype +from . import ( + res_config_settings, + agreement, + agreement_clause, + agreement_section, + agreement_stage, + agreement_type, + agreement_subtype, + res_partner, + product_template, + agreement_renewaltype, + agreement_increasetype, +) diff --git a/agreement/models/res_config_settings.py b/agreement/models/res_config_settings.py new file mode 100644 index 00000000..2c78a5f1 --- /dev/null +++ b/agreement/models/res_config_settings.py @@ -0,0 +1,8 @@ +# Copyright (C) 2018 - TODAY, Open Source Integrators +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import models + + +class ResConfigSettings(models.TransientModel): + _inherit = 'res.config.settings' diff --git a/agreement/views/agreement.xml b/agreement/views/agreement.xml index 2b42591f..dc753771 100644 --- a/agreement/views/agreement.xml +++ b/agreement/views/agreement.xml @@ -27,7 +27,7 @@
@@ -37,36 +37,43 @@
- - - - - - - + + + + + + + - + - +
- - - - - - +
- +
- - - - - - +
@@ -82,8 +89,8 @@ - - + + @@ -99,22 +106,14 @@ - + - +
- - - - - - - - @@ -133,6 +132,16 @@
+ + + + + + + + + + @@ -143,10 +152,10 @@ - + - + @@ -168,16 +177,16 @@ -

This section is a place where finincial records will show the current performance of this agreement.

+

This section is a place where financial records will show the current performance of this agreement.

Perhaps include invoices with total vs costs?

- - - - - + + + + +