diff --git a/customer_sequence/README.rst b/customer_sequence/README.rst new file mode 100644 index 000000000..66539ff84 --- /dev/null +++ b/customer_sequence/README.rst @@ -0,0 +1,40 @@ +Customer Sequence +================= + +This module will give a unique code to each customer and supplier. + +Configuration +============= +* You should configure the company form for the proper working of this module. +* The customer and supplier code start from the number you give in the company form + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +* Developers: Cybrosys Techno Solutions odoo@cybrosys.com + V15 Midilaj V K @cybrosys, odoo@cybrosys.com + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com +* Website : https://cybrosys.com + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Maintainer +========== +.. image:: https://cybrosys.com/images/logo.png + :target: https://cybrosys.com + +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit `Our Website `__ + +Further information +=================== +HTML Description: ``__ diff --git a/customer_sequence/__init__.py b/customer_sequence/__init__.py new file mode 100644 index 000000000..a484d8477 --- /dev/null +++ b/customer_sequence/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2020-TODAY Cybrosys Technologies() +# Author: Midilaj () +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################## + +from . import models diff --git a/customer_sequence/__manifest__.py b/customer_sequence/__manifest__.py new file mode 100644 index 000000000..263dc5de6 --- /dev/null +++ b/customer_sequence/__manifest__.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2021-TODAY Cybrosys Technologies() +# Author: Midilaj () +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# + +{ + 'name': "Customer Sequence", + 'version': '15.0.1.0.0', + 'summary': """Unique Customer Code""", + 'description': """ + Each customer have unique number code, Odoo 13, Odoo + """, + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'website': "https://cybrosys.com/", + 'category': 'Sales', + 'depends': ['sale_management'], + 'data': [ + 'views/res_partner_fom.xml', + 'views/res_company.xml', + 'security/ir.model.access.csv', + ], + 'images': ['static/description/banner.png'], + 'license': 'AGPL-3', + 'installable': True, + 'application': False +} diff --git a/customer_sequence/doc/RELEASE_NOTES.md b/customer_sequence/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..46817205c --- /dev/null +++ b/customer_sequence/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 16.10.2021 +#### Version 15.0.1.0.0 +#### ADD +Initial Commit diff --git a/customer_sequence/models/__init__.py b/customer_sequence/models/__init__.py new file mode 100644 index 000000000..aa2220a88 --- /dev/null +++ b/customer_sequence/models/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2020-TODAY Cybrosys Technologies() +# Author: Midilaj () +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# + +from . import res_company +from . import res_partner diff --git a/customer_sequence/models/res_company.py b/customer_sequence/models/res_company.py new file mode 100644 index 000000000..0d76dc580 --- /dev/null +++ b/customer_sequence/models/res_company.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2020-TODAY Cybrosys Technologies() +# Author: Midilaj () +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# + +from odoo import models, fields + + +class CompanySequence(models.Model): + _inherit = 'res.company' + + customer_code = fields.Integer(string='Customer code', required=True) + next_code = fields.Integer(string='Next code') diff --git a/customer_sequence/models/res_partner.py b/customer_sequence/models/res_partner.py new file mode 100644 index 000000000..90fc3e199 --- /dev/null +++ b/customer_sequence/models/res_partner.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2020-TODAY Cybrosys Technologies() +# Author: Midilaj () +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# + +from odoo import models, fields, api + + +class ResPartner(models.Model): + _inherit = 'res.partner' + + unique_id = fields.Char(string='Unique Id', help="The Unique Sequence no", readonly=True, default='/') + + @api.model + def create(self, values): + res = super(ResPartner, self).create(values) + company_seq = self.env.company + if res.customer_rank > 0 and res.unique_id == '/': + if company_seq.next_code: + res.unique_id = company_seq.next_code + res.name = '[' + str(company_seq.next_code) + ']' + str(res.name) + company_seq.write({'next_code': company_seq.next_code + 1}) + else: + res.unique_id = company_seq.customer_code + res.name = '[' + str(company_seq.customer_code) + ']' + str(res.name) + company_seq.write({'next_code': company_seq.customer_code + 1}) + return res diff --git a/customer_sequence/security/ir.model.access.csv b/customer_sequence/security/ir.model.access.csv new file mode 100644 index 000000000..259c9de31 --- /dev/null +++ b/customer_sequence/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink + +access_res_company,access_res_company,model_res_company,base.group_user,1,1,1,0 diff --git a/customer_sequence/static/description/assets/icons/check.png b/customer_sequence/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/customer_sequence/static/description/assets/icons/check.png differ diff --git a/customer_sequence/static/description/assets/icons/chevron.png b/customer_sequence/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/customer_sequence/static/description/assets/icons/chevron.png differ diff --git a/customer_sequence/static/description/assets/icons/cogs.png b/customer_sequence/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/customer_sequence/static/description/assets/icons/cogs.png differ diff --git a/customer_sequence/static/description/assets/icons/consultation.png b/customer_sequence/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/customer_sequence/static/description/assets/icons/consultation.png differ diff --git a/customer_sequence/static/description/assets/icons/ecom-black.png b/customer_sequence/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/customer_sequence/static/description/assets/icons/ecom-black.png differ diff --git a/customer_sequence/static/description/assets/icons/education-black.png b/customer_sequence/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/customer_sequence/static/description/assets/icons/education-black.png differ diff --git a/customer_sequence/static/description/assets/icons/hotel-black.png b/customer_sequence/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/customer_sequence/static/description/assets/icons/hotel-black.png differ diff --git a/customer_sequence/static/description/assets/icons/license.png b/customer_sequence/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/customer_sequence/static/description/assets/icons/license.png differ diff --git a/customer_sequence/static/description/assets/icons/lifebuoy.png b/customer_sequence/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/customer_sequence/static/description/assets/icons/lifebuoy.png differ diff --git a/customer_sequence/static/description/assets/icons/logo.png b/customer_sequence/static/description/assets/icons/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/customer_sequence/static/description/assets/icons/logo.png differ diff --git a/customer_sequence/static/description/assets/icons/manufacturing-black.png b/customer_sequence/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/customer_sequence/static/description/assets/icons/manufacturing-black.png differ diff --git a/customer_sequence/static/description/assets/icons/pos-black.png b/customer_sequence/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/customer_sequence/static/description/assets/icons/pos-black.png differ diff --git a/customer_sequence/static/description/assets/icons/puzzle.png b/customer_sequence/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/customer_sequence/static/description/assets/icons/puzzle.png differ diff --git a/customer_sequence/static/description/assets/icons/restaurant-black.png b/customer_sequence/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/customer_sequence/static/description/assets/icons/restaurant-black.png differ diff --git a/customer_sequence/static/description/assets/icons/service-black.png b/customer_sequence/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/customer_sequence/static/description/assets/icons/service-black.png differ diff --git a/customer_sequence/static/description/assets/icons/trading-black.png b/customer_sequence/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/customer_sequence/static/description/assets/icons/trading-black.png differ diff --git a/customer_sequence/static/description/assets/icons/training.png b/customer_sequence/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/customer_sequence/static/description/assets/icons/training.png differ diff --git a/customer_sequence/static/description/assets/icons/update.png b/customer_sequence/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/customer_sequence/static/description/assets/icons/update.png differ diff --git a/customer_sequence/static/description/assets/icons/user.png b/customer_sequence/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/customer_sequence/static/description/assets/icons/user.png differ diff --git a/customer_sequence/static/description/assets/icons/wrench.png b/customer_sequence/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/customer_sequence/static/description/assets/icons/wrench.png differ diff --git a/customer_sequence/static/description/assets/modules/approval_image.png b/customer_sequence/static/description/assets/modules/approval_image.png new file mode 100644 index 000000000..84fe94e80 Binary files /dev/null and b/customer_sequence/static/description/assets/modules/approval_image.png differ diff --git a/customer_sequence/static/description/assets/modules/budget_image.png b/customer_sequence/static/description/assets/modules/budget_image.png new file mode 100644 index 000000000..fe6aa6fe4 Binary files /dev/null and b/customer_sequence/static/description/assets/modules/budget_image.png differ diff --git a/customer_sequence/static/description/assets/modules/export_image.png b/customer_sequence/static/description/assets/modules/export_image.png new file mode 100644 index 000000000..4e4ea0e51 Binary files /dev/null and b/customer_sequence/static/description/assets/modules/export_image.png differ diff --git a/customer_sequence/static/description/assets/modules/magento_image.png b/customer_sequence/static/description/assets/modules/magento_image.png new file mode 100644 index 000000000..39de0820f Binary files /dev/null and b/customer_sequence/static/description/assets/modules/magento_image.png differ diff --git a/customer_sequence/static/description/assets/modules/pos_image.png b/customer_sequence/static/description/assets/modules/pos_image.png new file mode 100644 index 000000000..c5932894b Binary files /dev/null and b/customer_sequence/static/description/assets/modules/pos_image.png differ diff --git a/customer_sequence/static/description/assets/modules/shopify_image.png b/customer_sequence/static/description/assets/modules/shopify_image.png new file mode 100644 index 000000000..c6d92c16d Binary files /dev/null and b/customer_sequence/static/description/assets/modules/shopify_image.png differ diff --git a/customer_sequence/static/description/assets/screenshots/customer_seq1.png b/customer_sequence/static/description/assets/screenshots/customer_seq1.png new file mode 100644 index 000000000..dd203ab76 Binary files /dev/null and b/customer_sequence/static/description/assets/screenshots/customer_seq1.png differ diff --git a/customer_sequence/static/description/assets/screenshots/customer_seq2.png b/customer_sequence/static/description/assets/screenshots/customer_seq2.png new file mode 100644 index 000000000..dd05ce151 Binary files /dev/null and b/customer_sequence/static/description/assets/screenshots/customer_seq2.png differ diff --git a/customer_sequence/static/description/assets/screenshots/hero.png b/customer_sequence/static/description/assets/screenshots/hero.png new file mode 100644 index 000000000..7286470bf Binary files /dev/null and b/customer_sequence/static/description/assets/screenshots/hero.png differ diff --git a/customer_sequence/static/description/banner.png b/customer_sequence/static/description/banner.png new file mode 100644 index 000000000..ba93348a0 Binary files /dev/null and b/customer_sequence/static/description/banner.png differ diff --git a/customer_sequence/static/description/icon.png b/customer_sequence/static/description/icon.png new file mode 100644 index 000000000..0fb0ab097 Binary files /dev/null and b/customer_sequence/static/description/icon.png differ diff --git a/customer_sequence/static/description/index.html b/customer_sequence/static/description/index.html new file mode 100644 index 000000000..6d74c5893 --- /dev/null +++ b/customer_sequence/static/description/index.html @@ -0,0 +1,565 @@ +
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+ +
+
+
+
+ +
+
+
+

+ Customer Sequence

+

+ Give unique code to each customer +

+ +
+
+ + + + +
+
+

+ Overview +

+
+ +
+

+ Now it is very easy to identify your customers with unique code. This module gives coding to the + customers as well as to the supplier.

+ +
+
+ + +
+
+

+ Features +

+
+ +
+
+ +
+
+

+ Community & Enterprise Support

+

+ Available in Odoo 14.0 Community and Enterprise.

+
+
+
+
+ +
+
+

+ Unique code for customers

+

+ Unique code can be given to customers and suppliers based on company.

+
+
+ + +
+ +
+
+

+ Screenshots +

+
+
+

+ Give the starting number of code.

+

+ You can give separate starting for each company if it is a multi company.

+ +
+ +
+

+ Unique code on customer

+

+ Create a customer and the code will generate automatically as defined in the company form. +

+ +
+ +
+ + +
+
+

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?

+
+
+
+ + +
+ +
+ +
+ +
+ WhatsApp +
+
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+
+ + +
\ No newline at end of file diff --git a/customer_sequence/views/res_company.xml b/customer_sequence/views/res_company.xml new file mode 100644 index 000000000..72724c4a8 --- /dev/null +++ b/customer_sequence/views/res_company.xml @@ -0,0 +1,16 @@ + + + + + Company Sequence + res.company + + + + + + + + + + diff --git a/customer_sequence/views/res_partner_fom.xml b/customer_sequence/views/res_partner_fom.xml new file mode 100644 index 000000000..1c4677432 --- /dev/null +++ b/customer_sequence/views/res_partner_fom.xml @@ -0,0 +1,26 @@ + + + + + res.partner.form.inherit + res.partner + + + + + + + + + + res.partner.form.inherit + res.partner + + + + + + + + + diff --git a/dynamic_product_fields/README.rst b/dynamic_product_fields/README.rst new file mode 100644 index 000000000..c0132cc89 --- /dev/null +++ b/dynamic_product_fields/README.rst @@ -0,0 +1,48 @@ +Product Custom Fields +===================== + +Product Custom Fields + +Depends +======= +[product] addon Odoo + +Tech +==== +* [Python] - Models +* [XML] - Odoo views + +Installation +============ +- www.odoo.com/documentation/14.0/setup/install.html +- Install our custom addon + +License +======= +GNU AFFERO GENERAL PUBLIC LICENSE, Version 3 (AGPLv3) +(http://www.gnu.org/licenses/agpl.html) + +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 + + +Author +------ +* Ajmal JK + +Credits +------- +* Developers: Ajmal JK @cybrosys, + Version 15: Midilaj V K @cybrosys + +Maintainer +---------- + +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit https://www.cybrosys.com. diff --git a/dynamic_product_fields/__init__.py b/dynamic_product_fields/__init__.py new file mode 100644 index 000000000..9e7e2340b --- /dev/null +++ b/dynamic_product_fields/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2020-TODAY Cybrosys Technologies() +# Author: Midilaj () +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# + +from . import models +from . import wizard diff --git a/dynamic_product_fields/__manifest__.py b/dynamic_product_fields/__manifest__.py new file mode 100644 index 000000000..8a754af9c --- /dev/null +++ b/dynamic_product_fields/__manifest__.py @@ -0,0 +1,48 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2021-TODAY Cybrosys Technologies() +# Author: Midilaj () +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# + +{ + 'name': 'Product Custom Fields', + 'version': '15.0.1.0.0', + 'summary': """Ability To Add Custom Fields in Products From User Level""", + 'description': """Ability To Add Custom Fields in Products From User Level,Product Custom Fields, + Product Dynamic Fields, odoo15, Dynamic Product Fields, Dynamic Fields, Create Dynamic Fields, Community odoo Studio""", + 'category': 'Sales', + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': ['product'], + 'data': [ + 'data/widget_data.xml', + 'security/ir.model.access.csv', + 'security/product_security_group.xml', + 'wizard/product_fields_view.xml', + 'views/product_form_view.xml', + 'views/ir_fields_search_view.xml', + ], + 'images': ['static/description/banner.png'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/dynamic_product_fields/data/widget_data.xml b/dynamic_product_fields/data/widget_data.xml new file mode 100644 index 000000000..3a36ccb38 --- /dev/null +++ b/dynamic_product_fields/data/widget_data.xml @@ -0,0 +1,40 @@ + + + + + + image + Image + + + + many2many_tags + Many2many Tags + + + + binary + Binary + + + + radio + Radio + + + + priority + Priority + + + + monetary + Monetary + + + + selection + Selection + + + diff --git a/dynamic_product_fields/doc/RELEASE_NOTES.md b/dynamic_product_fields/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..be6fffc85 --- /dev/null +++ b/dynamic_product_fields/doc/RELEASE_NOTES.md @@ -0,0 +1,9 @@ +## Module + +#### 21.10.2021 +#### Version 15.0.1.0.0 +##### ADD + +- Initial Commit for dynamic_product_fields + + diff --git a/dynamic_product_fields/models/__init__.py b/dynamic_product_fields/models/__init__.py new file mode 100644 index 000000000..a487c94e3 --- /dev/null +++ b/dynamic_product_fields/models/__init__.py @@ -0,0 +1,26 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2021-TODAY Cybrosys Technologies() +# Author: Midilaj () +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# + +from . import ir_model_fields +from . import field_widgets + + diff --git a/dynamic_product_fields/models/field_widgets.py b/dynamic_product_fields/models/field_widgets.py new file mode 100644 index 000000000..d573542b3 --- /dev/null +++ b/dynamic_product_fields/models/field_widgets.py @@ -0,0 +1,36 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2020-TODAY Cybrosys Technologies() +# Author: Midilaj () +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# + +from odoo import api, models, fields, _ + + +class FieldWidgets(models.Model): + """Need of this model is because we can't filter a selection field dynamically + so when we select a field its widgets also need to change according to field + type, we can't do it by a 'selection' field, need a 'Many2one' field.""" + + _name = 'field.widgets' + _description = 'Field Widgets' + _rec_name = 'description' + + name = fields.Char(string="Name") + description = fields.Char(string="Description") diff --git a/dynamic_product_fields/models/ir_model_fields.py b/dynamic_product_fields/models/ir_model_fields.py new file mode 100644 index 000000000..f494142ea --- /dev/null +++ b/dynamic_product_fields/models/ir_model_fields.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2020-TODAY Cybrosys Technologies() +# Author: Midilaj () +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# + +from odoo import api, models, fields, _ + + +class IrModelFields(models.Model): + """Adding a new field to understand the dynamically created fields.""" + + _inherit = 'ir.model.fields' + + is_dynamic = fields.Boolean(string="Dynamic Field") diff --git a/dynamic_product_fields/security/ir.model.access.csv b/dynamic_product_fields/security/ir.model.access.csv new file mode 100644 index 000000000..09a6f9e99 --- /dev/null +++ b/dynamic_product_fields/security/ir.model.access.csv @@ -0,0 +1,4 @@ +id,name,model_id/id,group_id/id,perm_read,perm_write,perm_create,perm_unlink +"access_wizard_product_dynamic_fields_base_user","wizard.product.dynamic.fields.base.user","model_product_dynamic_fields","base.group_user",1,1,1,1 +"access_field_widgets_base_user","wizard.field.widgets.base.user","model_field_widgets","base.group_user",1,1,1,1 + diff --git a/dynamic_product_fields/security/product_security_group.xml b/dynamic_product_fields/security/product_security_group.xml new file mode 100644 index 000000000..c92f8e31f --- /dev/null +++ b/dynamic_product_fields/security/product_security_group.xml @@ -0,0 +1,8 @@ + + + + + Create Custom Fields + + + diff --git a/dynamic_product_fields/static/description/assets/icons/check.png b/dynamic_product_fields/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/dynamic_product_fields/static/description/assets/icons/check.png differ diff --git a/dynamic_product_fields/static/description/assets/icons/chevron.png b/dynamic_product_fields/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/dynamic_product_fields/static/description/assets/icons/chevron.png differ diff --git a/dynamic_product_fields/static/description/assets/icons/cogs.png b/dynamic_product_fields/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/dynamic_product_fields/static/description/assets/icons/cogs.png differ diff --git a/dynamic_product_fields/static/description/assets/icons/consultation.png b/dynamic_product_fields/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/dynamic_product_fields/static/description/assets/icons/consultation.png differ diff --git a/dynamic_product_fields/static/description/assets/icons/ecom-black.png b/dynamic_product_fields/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/dynamic_product_fields/static/description/assets/icons/ecom-black.png differ diff --git a/dynamic_product_fields/static/description/assets/icons/education-black.png b/dynamic_product_fields/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/dynamic_product_fields/static/description/assets/icons/education-black.png differ diff --git a/dynamic_product_fields/static/description/assets/icons/hotel-black.png b/dynamic_product_fields/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/dynamic_product_fields/static/description/assets/icons/hotel-black.png differ diff --git a/dynamic_product_fields/static/description/assets/icons/license.png b/dynamic_product_fields/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/dynamic_product_fields/static/description/assets/icons/license.png differ diff --git a/dynamic_product_fields/static/description/assets/icons/lifebuoy.png b/dynamic_product_fields/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/dynamic_product_fields/static/description/assets/icons/lifebuoy.png differ diff --git a/dynamic_product_fields/static/description/assets/icons/logo.png b/dynamic_product_fields/static/description/assets/icons/logo.png new file mode 100644 index 000000000..d76b5bafb Binary files /dev/null and b/dynamic_product_fields/static/description/assets/icons/logo.png differ diff --git a/dynamic_product_fields/static/description/assets/icons/manufacturing-black.png b/dynamic_product_fields/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/dynamic_product_fields/static/description/assets/icons/manufacturing-black.png differ diff --git a/dynamic_product_fields/static/description/assets/icons/pos-black.png b/dynamic_product_fields/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/dynamic_product_fields/static/description/assets/icons/pos-black.png differ diff --git a/dynamic_product_fields/static/description/assets/icons/puzzle.png b/dynamic_product_fields/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/dynamic_product_fields/static/description/assets/icons/puzzle.png differ diff --git a/dynamic_product_fields/static/description/assets/icons/restaurant-black.png b/dynamic_product_fields/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/dynamic_product_fields/static/description/assets/icons/restaurant-black.png differ diff --git a/dynamic_product_fields/static/description/assets/icons/service-black.png b/dynamic_product_fields/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/dynamic_product_fields/static/description/assets/icons/service-black.png differ diff --git a/dynamic_product_fields/static/description/assets/icons/trading-black.png b/dynamic_product_fields/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/dynamic_product_fields/static/description/assets/icons/trading-black.png differ diff --git a/dynamic_product_fields/static/description/assets/icons/training.png b/dynamic_product_fields/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/dynamic_product_fields/static/description/assets/icons/training.png differ diff --git a/dynamic_product_fields/static/description/assets/icons/update.png b/dynamic_product_fields/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/dynamic_product_fields/static/description/assets/icons/update.png differ diff --git a/dynamic_product_fields/static/description/assets/icons/user.png b/dynamic_product_fields/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/dynamic_product_fields/static/description/assets/icons/user.png differ diff --git a/dynamic_product_fields/static/description/assets/icons/wrench.png b/dynamic_product_fields/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/dynamic_product_fields/static/description/assets/icons/wrench.png differ diff --git a/dynamic_product_fields/static/description/assets/modules/approval_image.png b/dynamic_product_fields/static/description/assets/modules/approval_image.png new file mode 100644 index 000000000..84fe94e80 Binary files /dev/null and b/dynamic_product_fields/static/description/assets/modules/approval_image.png differ diff --git a/dynamic_product_fields/static/description/assets/modules/dynamic_image.png b/dynamic_product_fields/static/description/assets/modules/dynamic_image.png new file mode 100644 index 000000000..f55c47e0f Binary files /dev/null and b/dynamic_product_fields/static/description/assets/modules/dynamic_image.png differ diff --git a/dynamic_product_fields/static/description/assets/modules/list_view_image.png b/dynamic_product_fields/static/description/assets/modules/list_view_image.png new file mode 100644 index 000000000..510d36ae9 Binary files /dev/null and b/dynamic_product_fields/static/description/assets/modules/list_view_image.png differ diff --git a/dynamic_product_fields/static/description/assets/modules/multiple_ref_image.png b/dynamic_product_fields/static/description/assets/modules/multiple_ref_image.png new file mode 100644 index 000000000..3fe90e552 Binary files /dev/null and b/dynamic_product_fields/static/description/assets/modules/multiple_ref_image.png differ diff --git a/dynamic_product_fields/static/description/assets/modules/print_image.png b/dynamic_product_fields/static/description/assets/modules/print_image.png new file mode 100644 index 000000000..b470725a1 Binary files /dev/null and b/dynamic_product_fields/static/description/assets/modules/print_image.png differ diff --git a/dynamic_product_fields/static/description/assets/modules/product_return_image.png b/dynamic_product_fields/static/description/assets/modules/product_return_image.png new file mode 100644 index 000000000..3afc14722 Binary files /dev/null and b/dynamic_product_fields/static/description/assets/modules/product_return_image.png differ diff --git a/dynamic_product_fields/static/description/assets/screenshots/dynamic_product_fields_1.png b/dynamic_product_fields/static/description/assets/screenshots/dynamic_product_fields_1.png new file mode 100644 index 000000000..b7a69c2d6 Binary files /dev/null and b/dynamic_product_fields/static/description/assets/screenshots/dynamic_product_fields_1.png differ diff --git a/dynamic_product_fields/static/description/assets/screenshots/dynamic_product_fields_2.png b/dynamic_product_fields/static/description/assets/screenshots/dynamic_product_fields_2.png new file mode 100644 index 000000000..913ed1ae8 Binary files /dev/null and b/dynamic_product_fields/static/description/assets/screenshots/dynamic_product_fields_2.png differ diff --git a/dynamic_product_fields/static/description/assets/screenshots/dynamic_product_fields_3.png b/dynamic_product_fields/static/description/assets/screenshots/dynamic_product_fields_3.png new file mode 100644 index 000000000..de8403a78 Binary files /dev/null and b/dynamic_product_fields/static/description/assets/screenshots/dynamic_product_fields_3.png differ diff --git a/dynamic_product_fields/static/description/assets/screenshots/dynamic_product_fields_4.png b/dynamic_product_fields/static/description/assets/screenshots/dynamic_product_fields_4.png new file mode 100644 index 000000000..6541e8e77 Binary files /dev/null and b/dynamic_product_fields/static/description/assets/screenshots/dynamic_product_fields_4.png differ diff --git a/dynamic_product_fields/static/description/assets/screenshots/dynamic_product_fields_5.png b/dynamic_product_fields/static/description/assets/screenshots/dynamic_product_fields_5.png new file mode 100644 index 000000000..56c8d2c33 Binary files /dev/null and b/dynamic_product_fields/static/description/assets/screenshots/dynamic_product_fields_5.png differ diff --git a/dynamic_product_fields/static/description/assets/screenshots/dynamic_product_fields_6.png b/dynamic_product_fields/static/description/assets/screenshots/dynamic_product_fields_6.png new file mode 100644 index 000000000..b655b262c Binary files /dev/null and b/dynamic_product_fields/static/description/assets/screenshots/dynamic_product_fields_6.png differ diff --git a/dynamic_product_fields/static/description/assets/screenshots/dynamic_product_fields_7.png b/dynamic_product_fields/static/description/assets/screenshots/dynamic_product_fields_7.png new file mode 100644 index 000000000..54499d260 Binary files /dev/null and b/dynamic_product_fields/static/description/assets/screenshots/dynamic_product_fields_7.png differ diff --git a/dynamic_product_fields/static/description/assets/screenshots/dynamic_product_fields_8.png b/dynamic_product_fields/static/description/assets/screenshots/dynamic_product_fields_8.png new file mode 100644 index 000000000..c928c0bb9 Binary files /dev/null and b/dynamic_product_fields/static/description/assets/screenshots/dynamic_product_fields_8.png differ diff --git a/dynamic_product_fields/static/description/assets/screenshots/hero.png b/dynamic_product_fields/static/description/assets/screenshots/hero.png new file mode 100644 index 000000000..2dee4bc50 Binary files /dev/null and b/dynamic_product_fields/static/description/assets/screenshots/hero.png differ diff --git a/dynamic_product_fields/static/description/banner.png b/dynamic_product_fields/static/description/banner.png new file mode 100644 index 000000000..9c34fd89f Binary files /dev/null and b/dynamic_product_fields/static/description/banner.png differ diff --git a/dynamic_product_fields/static/description/icon.png b/dynamic_product_fields/static/description/icon.png new file mode 100644 index 000000000..e5b252c85 Binary files /dev/null and b/dynamic_product_fields/static/description/icon.png differ diff --git a/dynamic_product_fields/static/description/index.html b/dynamic_product_fields/static/description/index.html new file mode 100644 index 000000000..0cf0a3ddd --- /dev/null +++ b/dynamic_product_fields/static/description/index.html @@ -0,0 +1,699 @@ +
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+
+
+
+
+
+
+

+ Product Custom Fields

+

+ Create Custom Fields on Products from User Level +

+ +
+
+ + + + +
+
+

+ Overview +

+
+ +
+

+ The Dynamic Product Fields helps with easy creation of custom fields on products without any coding. + This module helps to add new fields on the product's form as per one's requirement. From + the + products view, one can click create fields and can create a new custom field without any coding. +

+ +
+
+ +
+
+

+ Features +

+
+ +
+
+ +
+
+

+ Community & Enterprise Support

+

+ Available in Odoo 15.0 Community and Enterprise.

+
+
+ +
+
+ +
+
+

+ Custom fields without coding

+

+ Creates custom fields on the product without coding.

+
+
+ +
+
+ +
+
+

+ Easily set up field positions

+

+ Can easily set the position of fields.

+
+
+ + +
+
+ +
+
+

+ Widgets for fields

+

+ Can select widgets for fields.

+
+
+ +
+
+ +
+
+

+ Set the field properties

+

+ Can set the field properties (help, required, copied, read-only, indexed).

+
+
+ +
+
+ +
+
+

+ Filter the dynamically created fields

+

+ Can easily filter the dynamically created fields from settings.

+
+
+ +
+ +
+
+

+ Screenshots +

+
+ +
+

+ Give Acces to the user to 'Create Fields'

+

+ After installation, Give Acces to the user to 'Create Fields' from User settings.

+ +
+ +
+

+ Creating Custom Fields

+

+ Click 'Create Fields' Button to create custom fields.

+ +
+ + +
+

+ Custom Fields Details

+

+ Fill in the details and click create fields , a new field will create.

+ +
+ +
+

+ Select model, field type & widget

+

+ You need to select model, field type (and widget if available) +

+ +
+ +
+

+ Select position of the field

+

+ You need to select the position of the field, and also can select the extra properties for fields. +

+ +
+ +
+

+ Complete adding a new filed

+

+ After filling the required details, click create fields to create new a field. +

+ +
+ +
+

+ New field in product view

+

+ A new field is created in the product view. +

+ +
+ +
+

+ Filter the dynamically created fields

+

+ Can filter the dynamically created fields from the settings. +

+ +
+ +
+ + + +
+
+

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?

+
+
+
+ + +
+ +
+ +
+ +
+ WhatsApp +
+
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+
+ + +
\ No newline at end of file diff --git a/dynamic_product_fields/views/ir_fields_search_view.xml b/dynamic_product_fields/views/ir_fields_search_view.xml new file mode 100644 index 000000000..24af47aaf --- /dev/null +++ b/dynamic_product_fields/views/ir_fields_search_view.xml @@ -0,0 +1,15 @@ + + + + + ir.model.fields.dynamic.fields + ir.model.fields + + + + + + + + + diff --git a/dynamic_product_fields/views/product_form_view.xml b/dynamic_product_fields/views/product_form_view.xml new file mode 100644 index 000000000..23f63f9c1 --- /dev/null +++ b/dynamic_product_fields/views/product_form_view.xml @@ -0,0 +1,23 @@ + + + + + view.product.template.form.dynamic.fields + product.template + + + + +
+ +
+
+
+
+
diff --git a/dynamic_product_fields/wizard/__init__.py b/dynamic_product_fields/wizard/__init__.py new file mode 100644 index 000000000..b13ec969b --- /dev/null +++ b/dynamic_product_fields/wizard/__init__.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2020-TODAY Cybrosys Technologies() +# Author: Midilaj () +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# + +from . import product_fields + + diff --git a/dynamic_product_fields/wizard/product_fields.py b/dynamic_product_fields/wizard/product_fields.py new file mode 100644 index 000000000..5949dfcfb --- /dev/null +++ b/dynamic_product_fields/wizard/product_fields.py @@ -0,0 +1,129 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2020-TODAY Cybrosys Technologies() +# Author: Midilaj () +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# + +import xml.etree.ElementTree as xee +from odoo import api, models, fields, _ + + +class ProductDynamicFields(models.TransientModel): + _name = 'product.dynamic.fields' + _description = 'Dynamic Fields' + _inherit = 'ir.model.fields' + + @api.model + def get_possible_field_types(self): + """Return all available field types other than 'one2many' and 'reference' fields.""" + field_list = sorted((key, key) for key in fields.MetaField.by_type) + field_list.remove(('one2many', 'one2many')) + field_list.remove(('reference', 'reference')) + return field_list + + def set_domain(self): + """Return the fields that currently present in the form""" + view_id = self.env.ref('product.product_template_only_form_view') + view_arch = str(view_id.arch_base) + doc = xee.fromstring(view_arch) + field_list = [] + for tag in doc.findall('.//field'): + field_list.append(tag.attrib['name']) + model_id = self.env['ir.model'].sudo().search([('model', '=', 'product.template')]) + return [('model_id', '=', model_id.id), ('state', '=', 'base'), ('name', 'in', field_list)] + + def _set_default(self): + model_id = self.env['ir.model'].sudo().search([('model', '=', 'product.template')]) + return [('id', '=', model_id.id)] + + def create_fields(self): + self.env['ir.model.fields'].sudo().create({'name': self.name, + 'field_description': self.field_description, + 'model_id': self.model_id.id, + 'ttype': self.field_type, + 'relation': self.ref_model_id.model, + 'required': self.required, + 'index': self.index, + 'store': self.store, + 'help': self.help, + 'readonly': self.readonly, + 'selection': self.selection_field, + 'copied': self.copied, + 'is_dynamic': True + }) + inherit_id = self.env.ref('product.product_template_only_form_view') + arch_base = _('' + '' + '' + '' + '' + '') % (self.position_field.name, self.position, self.name) + if self.widget: + arch_base = _('' + '' + '' + '' + '' + '') % (self.position_field.name, self.position, self.name, self.widget.name) + + self.env['ir.ui.view'].sudo().create({'name': 'product.dynamic.fields', + 'type': 'form', + 'model': 'product.template', + 'mode': 'extension', + 'inherit_id': inherit_id.id, + 'arch_base': arch_base, + 'active': True}) + return { + 'type': 'ir.actions.client', + 'tag': 'reload', + } + + position_field = fields.Many2one('ir.model.fields', string='Field Name', + domain=set_domain, required=True) + position = fields.Selection([('before', 'Before'), + ('after', 'After')], string='Position', required=True) + model_id = fields.Many2one('ir.model', string='Model', required=True, index=True, ondelete='cascade', + help="The model this field belongs to", domain=_set_default) + ref_model_id = fields.Many2one('ir.model', string='Model', index=True) + # In odoo 13 the field 'selection' is deprecated, so adding a new field to get the selection values. + selection_field = fields.Char(string="Selection Options") + rel_field = fields.Many2one('ir.model.fields', string='Related Field') + field_type = fields.Selection(selection='get_possible_field_types', string='Field Type', required=True) + ttype = fields.Selection(string="Field Type", related='field_type') + widget = fields.Many2one('field.widgets', string='Widget') + groups = fields.Many2many('res.groups', 'product_dynamic_fields_group_rel', 'field_id', 'group_id') + extra_features = fields.Boolean(string="Show Extra Properties") + + @api.depends('field_type') + @api.onchange('field_type') + def onchange_field_type(self): + if self.field_type: + if self.field_type == 'binary': + return {'domain': {'widget': [('name', '=', 'image')]}} + elif self.field_type == 'many2many': + return {'domain': {'widget': [('name', 'in', ['many2many_tags', 'binary'])]}} + elif self.field_type == 'selection': + return {'domain': {'widget': [('name', 'in', ['radio', 'priority'])]}} + elif self.field_type == 'float': + return {'domain': {'widget': [('name', '=', 'monetary')]}} + elif self.field_type == 'many2one': + return {'domain': {'widget': [('name', '=', 'selection')]}} + else: + return {'domain': {'widget': [('id', '=', False)]}} + return {'domain': {'widget': [('id', '=', False)]}} diff --git a/dynamic_product_fields/wizard/product_fields_view.xml b/dynamic_product_fields/wizard/product_fields_view.xml new file mode 100644 index 000000000..de3d1779e --- /dev/null +++ b/dynamic_product_fields/wizard/product_fields_view.xml @@ -0,0 +1,65 @@ + + + + + product.dynamic.fields.form + product.dynamic.fields + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+ + + Create Custom Fields + product.dynamic.fields + form + + new + + +
diff --git a/sale_customer_product_history/README.rst b/sale_customer_product_history/README.rst new file mode 100755 index 000000000..f41afecb3 --- /dev/null +++ b/sale_customer_product_history/README.rst @@ -0,0 +1,54 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--1-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +Sales History Of Products +========================= + +This module developed to record product sale history . + +Installation +============ + +Just select it from available modules to install it, there is no need to extra installations. + +Configuration +============= + +Nothing to configure. + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +* Developer: + Meera K @ cybrosys + V14 Minhaj T @ cybrosys + V15 Midilaj V K @ cybrosys + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com +* Website : https://cybrosys.com + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Maintainer +========== +.. image:: https://cybrosys.com/images/logo.png + :target: https://cybrosys.com + +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit `Our Website `__ + +Further information +=================== +HTML Description: ``__ + + + diff --git a/sale_customer_product_history/__init__.py b/sale_customer_product_history/__init__.py new file mode 100644 index 000000000..a7cc80ced --- /dev/null +++ b/sale_customer_product_history/__init__.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2021-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# + +from . import models +from . import wizard + diff --git a/sale_customer_product_history/__manifest__.py b/sale_customer_product_history/__manifest__.py new file mode 100644 index 000000000..3b613bea1 --- /dev/null +++ b/sale_customer_product_history/__manifest__.py @@ -0,0 +1,43 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2021-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# + +{ + 'name': "Sales History Of Products", + 'version': '15.0.1.0.0', + 'summary': """Sales history of products from Sales Order Line""", + 'description': """Sales history of products from Sales Order Line""", + 'author': "Cybrosys Techno Solutions", + 'company': "Cybrosys Techno Solutions", + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'category': 'Sales/Sales', + 'depends': ['base', 'sale_management'], + 'license': 'AGPL-3', + 'data': [ + 'security/ir.model.access.csv', + 'wizard/sales_order_history_wizard_view.xml', + 'views/view.xml', + ], + 'images': ['static/description/banner.png'], + 'installable': True, + 'auto_install': False, +} diff --git a/sale_customer_product_history/doc/RELEASE_NOTES.md b/sale_customer_product_history/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..6b74d14e2 --- /dev/null +++ b/sale_customer_product_history/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 30.10.2021 +#### Version 15.0.1.0.0 +#### ADD +- Initial Commit for sale_customer_product_history diff --git a/sale_customer_product_history/models/__init__.py b/sale_customer_product_history/models/__init__.py new file mode 100644 index 000000000..4bb88c487 --- /dev/null +++ b/sale_customer_product_history/models/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2021-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# + +from . import model diff --git a/sale_customer_product_history/models/model.py b/sale_customer_product_history/models/model.py new file mode 100644 index 000000000..7fc9e3e5e --- /dev/null +++ b/sale_customer_product_history/models/model.py @@ -0,0 +1,56 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2021-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# + +from odoo import api, models, fields + + +class SaleOrderLine(models.Model): + _inherit = 'sale.order.line' + + def get_product_history_data(self): + values = [] + customer_id = self.order_id.partner_id + customer_order = self.env['sale.order'].search( + [('partner_id', '=', customer_id.id), ('state', 'in', ('sale', 'done'))]) + for order in customer_order: + for line in order.order_line: + if line.product_id == self.product_id: + values.append((0, 0, {'sale_order_id': order.id, + 'history_price': line.price_unit, + 'history_qty': line.product_uom_qty, + 'history_total': order.amount_total + })) + history_id = self.env['product.sale.order.history'].create({ + 'product_id': self.product_id.id, + 'product_sale_history': values + }) + + return { + 'name': 'Customer Product Sales History', + 'view_mode': 'form', + 'res_model': 'product.sale.order.history', + 'type': 'ir.actions.act_window', + 'target': 'new', + 'res_id': history_id.id + } + + diff --git a/sale_customer_product_history/security/ir.model.access.csv b/sale_customer_product_history/security/ir.model.access.csv new file mode 100644 index 000000000..10f7e340c --- /dev/null +++ b/sale_customer_product_history/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +product_sale_history_line_id,product_sale_history_line_name,model_product_sale_history_line,,1,1,1,1 +product_sale_order_history_id,product_sale_order_history_name,model_product_sale_order_history,,1,1,1,1 diff --git a/sale_customer_product_history/static/description/assets/icons/check.png b/sale_customer_product_history/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/sale_customer_product_history/static/description/assets/icons/check.png differ diff --git a/sale_customer_product_history/static/description/assets/icons/chevron.png b/sale_customer_product_history/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/sale_customer_product_history/static/description/assets/icons/chevron.png differ diff --git a/sale_customer_product_history/static/description/assets/icons/cogs.png b/sale_customer_product_history/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/sale_customer_product_history/static/description/assets/icons/cogs.png differ diff --git a/sale_customer_product_history/static/description/assets/icons/consultation.png b/sale_customer_product_history/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/sale_customer_product_history/static/description/assets/icons/consultation.png differ diff --git a/sale_customer_product_history/static/description/assets/icons/ecom-black.png b/sale_customer_product_history/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/sale_customer_product_history/static/description/assets/icons/ecom-black.png differ diff --git a/sale_customer_product_history/static/description/assets/icons/education-black.png b/sale_customer_product_history/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/sale_customer_product_history/static/description/assets/icons/education-black.png differ diff --git a/sale_customer_product_history/static/description/assets/icons/hotel-black.png b/sale_customer_product_history/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/sale_customer_product_history/static/description/assets/icons/hotel-black.png differ diff --git a/sale_customer_product_history/static/description/assets/icons/license.png b/sale_customer_product_history/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/sale_customer_product_history/static/description/assets/icons/license.png differ diff --git a/sale_customer_product_history/static/description/assets/icons/lifebuoy.png b/sale_customer_product_history/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/sale_customer_product_history/static/description/assets/icons/lifebuoy.png differ diff --git a/sale_customer_product_history/static/description/assets/icons/logo (1).png b/sale_customer_product_history/static/description/assets/icons/logo (1).png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/sale_customer_product_history/static/description/assets/icons/logo (1).png differ diff --git a/sale_customer_product_history/static/description/assets/icons/manufacturing-black.png b/sale_customer_product_history/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/sale_customer_product_history/static/description/assets/icons/manufacturing-black.png differ diff --git a/sale_customer_product_history/static/description/assets/icons/pos-black.png b/sale_customer_product_history/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/sale_customer_product_history/static/description/assets/icons/pos-black.png differ diff --git a/sale_customer_product_history/static/description/assets/icons/puzzle.png b/sale_customer_product_history/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/sale_customer_product_history/static/description/assets/icons/puzzle.png differ diff --git a/sale_customer_product_history/static/description/assets/icons/restaurant-black.png b/sale_customer_product_history/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/sale_customer_product_history/static/description/assets/icons/restaurant-black.png differ diff --git a/sale_customer_product_history/static/description/assets/icons/service-black.png b/sale_customer_product_history/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/sale_customer_product_history/static/description/assets/icons/service-black.png differ diff --git a/sale_customer_product_history/static/description/assets/icons/trading-black.png b/sale_customer_product_history/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/sale_customer_product_history/static/description/assets/icons/trading-black.png differ diff --git a/sale_customer_product_history/static/description/assets/icons/training.png b/sale_customer_product_history/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/sale_customer_product_history/static/description/assets/icons/training.png differ diff --git a/sale_customer_product_history/static/description/assets/icons/update.png b/sale_customer_product_history/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/sale_customer_product_history/static/description/assets/icons/update.png differ diff --git a/sale_customer_product_history/static/description/assets/icons/user.png b/sale_customer_product_history/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/sale_customer_product_history/static/description/assets/icons/user.png differ diff --git a/sale_customer_product_history/static/description/assets/icons/wrench.png b/sale_customer_product_history/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/sale_customer_product_history/static/description/assets/icons/wrench.png differ diff --git a/sale_customer_product_history/static/description/assets/modules/1.png b/sale_customer_product_history/static/description/assets/modules/1.png new file mode 100644 index 000000000..3ad04ecfd Binary files /dev/null and b/sale_customer_product_history/static/description/assets/modules/1.png differ diff --git a/sale_customer_product_history/static/description/assets/modules/2.png b/sale_customer_product_history/static/description/assets/modules/2.png new file mode 100644 index 000000000..499b1a72f Binary files /dev/null and b/sale_customer_product_history/static/description/assets/modules/2.png differ diff --git a/sale_customer_product_history/static/description/assets/modules/3.png b/sale_customer_product_history/static/description/assets/modules/3.png new file mode 100644 index 000000000..5238bdeab Binary files /dev/null and b/sale_customer_product_history/static/description/assets/modules/3.png differ diff --git a/sale_customer_product_history/static/description/assets/modules/4.png b/sale_customer_product_history/static/description/assets/modules/4.png new file mode 100644 index 000000000..7f2815273 Binary files /dev/null and b/sale_customer_product_history/static/description/assets/modules/4.png differ diff --git a/sale_customer_product_history/static/description/assets/modules/5.png b/sale_customer_product_history/static/description/assets/modules/5.png new file mode 100644 index 000000000..cfb5be33c Binary files /dev/null and b/sale_customer_product_history/static/description/assets/modules/5.png differ diff --git a/sale_customer_product_history/static/description/assets/modules/6.png b/sale_customer_product_history/static/description/assets/modules/6.png new file mode 100644 index 000000000..f01b10060 Binary files /dev/null and b/sale_customer_product_history/static/description/assets/modules/6.png differ diff --git a/sale_customer_product_history/static/description/assets/modules/approval_image.png b/sale_customer_product_history/static/description/assets/modules/approval_image.png new file mode 100644 index 000000000..84fe94e80 Binary files /dev/null and b/sale_customer_product_history/static/description/assets/modules/approval_image.png differ diff --git a/sale_customer_product_history/static/description/assets/modules/dynamic_image.png b/sale_customer_product_history/static/description/assets/modules/dynamic_image.png new file mode 100644 index 000000000..f55c47e0f Binary files /dev/null and b/sale_customer_product_history/static/description/assets/modules/dynamic_image.png differ diff --git a/sale_customer_product_history/static/description/assets/modules/list_view_image.png b/sale_customer_product_history/static/description/assets/modules/list_view_image.png new file mode 100644 index 000000000..510d36ae9 Binary files /dev/null and b/sale_customer_product_history/static/description/assets/modules/list_view_image.png differ diff --git a/sale_customer_product_history/static/description/assets/modules/multiple_ref_image.png b/sale_customer_product_history/static/description/assets/modules/multiple_ref_image.png new file mode 100644 index 000000000..3fe90e552 Binary files /dev/null and b/sale_customer_product_history/static/description/assets/modules/multiple_ref_image.png differ diff --git a/sale_customer_product_history/static/description/assets/modules/print_image.png b/sale_customer_product_history/static/description/assets/modules/print_image.png new file mode 100644 index 000000000..b470725a1 Binary files /dev/null and b/sale_customer_product_history/static/description/assets/modules/print_image.png differ diff --git a/sale_customer_product_history/static/description/assets/modules/product_return_image.png b/sale_customer_product_history/static/description/assets/modules/product_return_image.png new file mode 100644 index 000000000..3afc14722 Binary files /dev/null and b/sale_customer_product_history/static/description/assets/modules/product_return_image.png differ diff --git a/sale_customer_product_history/static/description/assets/screenshots/hero.png b/sale_customer_product_history/static/description/assets/screenshots/hero.png new file mode 100644 index 000000000..c09c5d0ed Binary files /dev/null and b/sale_customer_product_history/static/description/assets/screenshots/hero.png differ diff --git a/sale_customer_product_history/static/description/assets/screenshots/screenshot1.png b/sale_customer_product_history/static/description/assets/screenshots/screenshot1.png new file mode 100644 index 000000000..3ebd3a74b Binary files /dev/null and b/sale_customer_product_history/static/description/assets/screenshots/screenshot1.png differ diff --git a/sale_customer_product_history/static/description/assets/screenshots/screenshot2.png b/sale_customer_product_history/static/description/assets/screenshots/screenshot2.png new file mode 100644 index 000000000..af37390b2 Binary files /dev/null and b/sale_customer_product_history/static/description/assets/screenshots/screenshot2.png differ diff --git a/sale_customer_product_history/static/description/banner.png b/sale_customer_product_history/static/description/banner.png new file mode 100644 index 000000000..84a21072b Binary files /dev/null and b/sale_customer_product_history/static/description/banner.png differ diff --git a/sale_customer_product_history/static/description/icon.png b/sale_customer_product_history/static/description/icon.png new file mode 100644 index 000000000..a96471f83 Binary files /dev/null and b/sale_customer_product_history/static/description/icon.png differ diff --git a/sale_customer_product_history/static/description/index.html b/sale_customer_product_history/static/description/index.html new file mode 100644 index 000000000..a7662aa27 --- /dev/null +++ b/sale_customer_product_history/static/description/index.html @@ -0,0 +1,558 @@ +
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+
+
+
+ +
+
+
+

+ Sales History Of Products

+

+ Product sale history button in sale order line +

+ +
+
+ + + + +
+
+

+ Overview +

+
+ +
+

+ With the help of this App you can easily view the sale order history of the product for the + particular customer..

+ +
+
+ +
+
+

+ Features +

+
+ +
+
+ +
+
+

+ View Sales history of products

+

+ Users can view the sale order history of the product for the particular customer.

+
+
+ + +
+ +
+
+

+ Screenshots +

+
+ +
+

+ History Button

+

+ History button in sale order line.

+ + +
+ +
+

+ Wizard Showing History of Sales Order.

+

+ Click on the history button , A wizard will open which shows the history of sale order for the + specific product for the particular customer. +

+ + +
+ + +
+ + +
+
+

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?

+
+
+
+ + +
+ +
+ +
+ +
+ WhatsApp +
+
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+
+ + +
\ No newline at end of file diff --git a/sale_customer_product_history/views/view.xml b/sale_customer_product_history/views/view.xml new file mode 100644 index 000000000..760d81f48 --- /dev/null +++ b/sale_customer_product_history/views/view.xml @@ -0,0 +1,16 @@ + + + + + sale.order.line.history.button.view + sale.order + + + +