diff --git a/purchase_terms/README.rst b/purchase_terms/README.rst new file mode 100644 index 000000000..d2a77b95a --- /dev/null +++ b/purchase_terms/README.rst @@ -0,0 +1,35 @@ +Purchase Default Terms and Conditions V15 +========================================= + +To handle the default terms and conditions of purchase orders. + +Depends +======= +[purchase] addon Odoo + +Tech +==== +* [Python] - Models +* [XML] - Odoo views + +Installation +============ +- www.odoo.com/documentation/15.0/setup/install.html +- Install our custom addon + + +Bug Tracker +=========== +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Credits +======= +* Cybrosys Techno Solutions + Developer : Aswani VT + +Maintainer +---------- + +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit https://www.cybrosys.com. diff --git a/purchase_terms/__init__.py b/purchase_terms/__init__.py new file mode 100644 index 000000000..52247db58 --- /dev/null +++ b/purchase_terms/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################# + +from . import models diff --git a/purchase_terms/__manifest__.py b/purchase_terms/__manifest__.py new file mode 100644 index 000000000..2587f1ea4 --- /dev/null +++ b/purchase_terms/__manifest__.py @@ -0,0 +1,43 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################# + +{ + 'name': 'Purchase Default Terms and Conditions', + 'version': '15.0.1.0.0', + 'summary': 'Purchase Default Terms and Conditions', + 'description': """Purchase Default Terms and Conditions.""", + 'category': 'Purchase', + 'author': 'Cybrosys Techno solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'depends': ['base', 'purchase'], + 'data': [ + 'views/res_config_settings.xml', + ], + 'images': ['static/description/banner.png'], + 'installable': True, + 'application': False, + 'auto_install': False, + 'license': 'AGPL-3', +} diff --git a/purchase_terms/docs/RELEASE_NOTES.md b/purchase_terms/docs/RELEASE_NOTES.md new file mode 100644 index 000000000..5c98250c1 --- /dev/null +++ b/purchase_terms/docs/RELEASE_NOTES.md @@ -0,0 +1,8 @@ +## Module + +#### 30.07.2022 +#### Version 15.0.1.0.0 +##### ADD +- Initial Commit for Purchase Terms + + diff --git a/purchase_terms/models/__init__.py b/purchase_terms/models/__init__.py new file mode 100644 index 000000000..947efc3f4 --- /dev/null +++ b/purchase_terms/models/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################# + +from . import purchase_terms diff --git a/purchase_terms/models/purchase_terms.py b/purchase_terms/models/purchase_terms.py new file mode 100644 index 000000000..3bf0727b3 --- /dev/null +++ b/purchase_terms/models/purchase_terms.py @@ -0,0 +1,47 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################# + +from odoo import fields, models, api + + +class ResCompany(models.Model): + _inherit = "res.company" + + purchase_terms = fields.Text(string="Purchase Terms & Conditions", readonly=False) + + +class ResConfigSettings(models.TransientModel): + _inherit = 'res.config.settings' + + purchase_terms = fields.Text(related='company_id.purchase_terms', string=" Purchase Terms & Conditions", + readonly=False) + + +class PurchaseOrder(models.Model): + _inherit = 'purchase.order' + + @api.model + def _default_notes(self): + return self.env.company.purchase_terms + + notes = fields.Html(string='Terms and Conditions', default=_default_notes) diff --git a/purchase_terms/static/description/assets/icons/check.png b/purchase_terms/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/purchase_terms/static/description/assets/icons/check.png differ diff --git a/purchase_terms/static/description/assets/icons/chevron.png b/purchase_terms/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/purchase_terms/static/description/assets/icons/chevron.png differ diff --git a/purchase_terms/static/description/assets/icons/cogs.png b/purchase_terms/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/purchase_terms/static/description/assets/icons/cogs.png differ diff --git a/purchase_terms/static/description/assets/icons/consultation.png b/purchase_terms/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/purchase_terms/static/description/assets/icons/consultation.png differ diff --git a/purchase_terms/static/description/assets/icons/ecom-black.png b/purchase_terms/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/purchase_terms/static/description/assets/icons/ecom-black.png differ diff --git a/purchase_terms/static/description/assets/icons/education-black.png b/purchase_terms/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/purchase_terms/static/description/assets/icons/education-black.png differ diff --git a/purchase_terms/static/description/assets/icons/hotel-black.png b/purchase_terms/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/purchase_terms/static/description/assets/icons/hotel-black.png differ diff --git a/purchase_terms/static/description/assets/icons/license.png b/purchase_terms/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/purchase_terms/static/description/assets/icons/license.png differ diff --git a/purchase_terms/static/description/assets/icons/lifebuoy.png b/purchase_terms/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/purchase_terms/static/description/assets/icons/lifebuoy.png differ diff --git a/purchase_terms/static/description/assets/icons/logo.png b/purchase_terms/static/description/assets/icons/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/purchase_terms/static/description/assets/icons/logo.png differ diff --git a/purchase_terms/static/description/assets/icons/manufacturing-black.png b/purchase_terms/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/purchase_terms/static/description/assets/icons/manufacturing-black.png differ diff --git a/purchase_terms/static/description/assets/icons/pos-black.png b/purchase_terms/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/purchase_terms/static/description/assets/icons/pos-black.png differ diff --git a/purchase_terms/static/description/assets/icons/puzzle.png b/purchase_terms/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/purchase_terms/static/description/assets/icons/puzzle.png differ diff --git a/purchase_terms/static/description/assets/icons/restaurant-black.png b/purchase_terms/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/purchase_terms/static/description/assets/icons/restaurant-black.png differ diff --git a/purchase_terms/static/description/assets/icons/service-black.png b/purchase_terms/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/purchase_terms/static/description/assets/icons/service-black.png differ diff --git a/purchase_terms/static/description/assets/icons/trading-black.png b/purchase_terms/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/purchase_terms/static/description/assets/icons/trading-black.png differ diff --git a/purchase_terms/static/description/assets/icons/training.png b/purchase_terms/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/purchase_terms/static/description/assets/icons/training.png differ diff --git a/purchase_terms/static/description/assets/icons/update.png b/purchase_terms/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/purchase_terms/static/description/assets/icons/update.png differ diff --git a/purchase_terms/static/description/assets/icons/user.png b/purchase_terms/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/purchase_terms/static/description/assets/icons/user.png differ diff --git a/purchase_terms/static/description/assets/icons/wrench.png b/purchase_terms/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/purchase_terms/static/description/assets/icons/wrench.png differ diff --git a/purchase_terms/static/description/assets/modules/budget_image.png b/purchase_terms/static/description/assets/modules/budget_image.png new file mode 100644 index 000000000..b50130c7d Binary files /dev/null and b/purchase_terms/static/description/assets/modules/budget_image.png differ diff --git a/purchase_terms/static/description/assets/modules/credit_image.png b/purchase_terms/static/description/assets/modules/credit_image.png new file mode 100644 index 000000000..3ad04ecfd Binary files /dev/null and b/purchase_terms/static/description/assets/modules/credit_image.png differ diff --git a/purchase_terms/static/description/assets/modules/employee_image.png b/purchase_terms/static/description/assets/modules/employee_image.png new file mode 100644 index 000000000..30ad58232 Binary files /dev/null and b/purchase_terms/static/description/assets/modules/employee_image.png differ diff --git a/purchase_terms/static/description/assets/modules/export_image.png b/purchase_terms/static/description/assets/modules/export_image.png new file mode 100644 index 000000000..492980ad0 Binary files /dev/null and b/purchase_terms/static/description/assets/modules/export_image.png differ diff --git a/purchase_terms/static/description/assets/modules/gantt_image.png b/purchase_terms/static/description/assets/modules/gantt_image.png new file mode 100644 index 000000000..1ae7cfe3b Binary files /dev/null and b/purchase_terms/static/description/assets/modules/gantt_image.png differ diff --git a/purchase_terms/static/description/assets/modules/quotation_image.png b/purchase_terms/static/description/assets/modules/quotation_image.png new file mode 100644 index 000000000..499b1a72f Binary files /dev/null and b/purchase_terms/static/description/assets/modules/quotation_image.png differ diff --git a/purchase_terms/static/description/assets/screenshots/hero.gif b/purchase_terms/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..caccfb464 Binary files /dev/null and b/purchase_terms/static/description/assets/screenshots/hero.gif differ diff --git a/purchase_terms/static/description/assets/screenshots/terms1.png b/purchase_terms/static/description/assets/screenshots/terms1.png new file mode 100644 index 000000000..8b82e8a12 Binary files /dev/null and b/purchase_terms/static/description/assets/screenshots/terms1.png differ diff --git a/purchase_terms/static/description/assets/screenshots/terms2.png b/purchase_terms/static/description/assets/screenshots/terms2.png new file mode 100644 index 000000000..23362a752 Binary files /dev/null and b/purchase_terms/static/description/assets/screenshots/terms2.png differ diff --git a/purchase_terms/static/description/assets/screenshots/terms3.png b/purchase_terms/static/description/assets/screenshots/terms3.png new file mode 100644 index 000000000..a825c5ed0 Binary files /dev/null and b/purchase_terms/static/description/assets/screenshots/terms3.png differ diff --git a/purchase_terms/static/description/banner.png b/purchase_terms/static/description/banner.png new file mode 100644 index 000000000..af2f81fea Binary files /dev/null and b/purchase_terms/static/description/banner.png differ diff --git a/purchase_terms/static/description/icon.png b/purchase_terms/static/description/icon.png new file mode 100644 index 000000000..cbef46f42 Binary files /dev/null and b/purchase_terms/static/description/icon.png differ diff --git a/purchase_terms/static/description/index.html b/purchase_terms/static/description/index.html new file mode 100644 index 000000000..d81a29015 --- /dev/null +++ b/purchase_terms/static/description/index.html @@ -0,0 +1,568 @@ +
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+ +
+
+
+
+ +
+
+
+

+ Purchase Default Terms and Conditions

+

+ Module For Configuring Default Terms and Conditions in Purchase +

+ +
+
+ + + +
+
+

+ Overview +

+
+ +
+

+ In the Purchase Terms App, We can configure the default purchase terms to our own need. + There we can set default terms from the configuration settings of purchase module.

+
+

+ +
+ + +
+
+

+ Features +

+
+ +
+
+ +
+
+

+ Configure the purchase terms from purchase module settings

+
+
+ +
+
+ +
+
+

+ Default terms visible in purchase order while creation

+
+
+ +
+
+ +
+
+

+ Default terms visible in purchase order report

+
+
+ + +
+ +
+
+

+ Screenshots +

+
+
+

+ Default terms configuration

+

+ Configure the purchase terms from purchase module settings

+ +
+ +
+

+ Purchase order creation

+

+ Default terms visible in purchase order while creation. +

+ +
+ +
+

+ Visible in purchase report

+ +
+ + + + +
+ +
+
+

Suggested Products

+
+ + +
+
+ + + +
+
+
+

Our Services

+
+
+ +
+
+ +
+
+ Odoo + Customization
+
+ +
+
+ +
+
+ Odoo + Implementation
+
+ +
+
+ +
+
+ Odoo + Support
+
+ + +
+
+ +
+
+ Hire + Odoo + Developer
+
+ +
+
+ +
+
+ Odoo + Integration
+
+ +
+
+ +
+
+ Odoo + Migration
+
+ + +
+
+ +
+
+ Odoo + Consultancy
+
+ +
+
+ +
+
+ Odoo + Implementation
+
+ +
+
+ +
+
+ Odoo + Licensing Consultancy
+
+
+
+ + + +
+
+
+

Our Industries

+
+
+ +
+
+ +
+ Trading +
+

+ Easily procure + and + sell your products

+
+
+ +
+
+ +
+ POS +
+

+ Easy + configuration + and convivial experience

+
+
+ +
+
+ +
+ Education +
+

+ A platform for + educational management

+
+
+ +
+
+ +
+ Manufacturing +
+

+ Plan, track and + schedule your operations

+
+
+ +
+
+ +
+ E-commerce & Website +
+

+ Mobile + friendly, + awe-inspiring product pages

+
+
+ +
+
+ +
+ Service Management +
+

+ Keep track of + services and invoice

+
+
+ +
+
+ +
+ Restaurant +
+

+ Run your bar or + restaurant methodically

+
+
+ +
+
+ +
+ Hotel Management +
+

+ An + all-inclusive + hotel management application

+
+
+ +
+
+ + + + + +
+
+
+

Need Help?

+
+
+
+ + +
+ +
+ + +
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+
+ + +
\ No newline at end of file diff --git a/purchase_terms/views/res_config_settings.xml b/purchase_terms/views/res_config_settings.xml new file mode 100644 index 000000000..7d93b1107 --- /dev/null +++ b/purchase_terms/views/res_config_settings.xml @@ -0,0 +1,27 @@ + + + + res.config.settings.purchase.view.form.inherit + res.config.settings + + + + +
+
+
+ Default Terms and Conditions +
+ Default purchase terms and conditions +
+
+ +
+
+
+ + + + + + \ No newline at end of file