diff --git a/all_in_one_dynamic_custom_fields/README.rst b/all_in_one_dynamic_custom_fields/README.rst new file mode 100755 index 000000000..1fafdbe36 --- /dev/null +++ b/all_in_one_dynamic_custom_fields/README.rst @@ -0,0 +1,47 @@ +.. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +All in One Custom Dynamic Fields +================================ +The features of module facilitates the addition of fields to any view within a model, +allowing users to specify attributes and properties at their preferred location. + +Configuration +============= +- www.odoo.com/documentation/17.0/setup/install.html +- Install our custom addon + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +AFFERO General Public License, Version 3 (AGPL v3). +(http://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Credits +------- +Developer: (V17) Mohammed Dilshad Tk, Contact: odoo@cybrosys.com + +Contacts +-------- +* Mail Contact : odoo@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/all_in_one_dynamic_custom_fields/__init__.py b/all_in_one_dynamic_custom_fields/__init__.py new file mode 100755 index 000000000..7ccce3662 --- /dev/null +++ b/all_in_one_dynamic_custom_fields/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: MOHAMMED DILSHAD TK (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from . import models diff --git a/all_in_one_dynamic_custom_fields/__manifest__.py b/all_in_one_dynamic_custom_fields/__manifest__.py new file mode 100755 index 000000000..a5468779c --- /dev/null +++ b/all_in_one_dynamic_custom_fields/__manifest__.py @@ -0,0 +1,47 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: MOHAMMED DILSHAD TK (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +{ + 'name': 'All in One Dynamic Fields', + 'version': '17.0.1.0.0', + 'category': 'Extra Tools', + 'summary': 'Create Custom Fields As Per Your Need Without Any Coding.', + 'description': "The features of module facilitates the addition of fields" + "to any view within a model, allowing users to specify" + "attributes and properties at their preferred " + "location.", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': ['base'], + 'data': [ + 'data/dynamic_field_widgets_data.xml', + 'security/all_in_one_dynamic_custom_fields_security.xml', + 'security/ir.model.access.csv', + 'views/dynamic_fields_views.xml', + ], + 'images': ['static/description/banner.png'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/all_in_one_dynamic_custom_fields/data/dynamic_field_widgets_data.xml b/all_in_one_dynamic_custom_fields/data/dynamic_field_widgets_data.xml new file mode 100755 index 000000000..be0e7c4fe --- /dev/null +++ b/all_in_one_dynamic_custom_fields/data/dynamic_field_widgets_data.xml @@ -0,0 +1,47 @@ + + + + + + image + binary + Image + + + + many2many_tags + many2many + Many2many Tags + + + + binary + many2many + Binary + + + + radio + selection + Radio + + + + priority + selection + Priority + + + + monetary + float + Monetary + + + + selection + many2one + Selection + + + diff --git a/all_in_one_dynamic_custom_fields/doc/RELEASE_NOTES.md b/all_in_one_dynamic_custom_fields/doc/RELEASE_NOTES.md new file mode 100755 index 000000000..dfe0eed21 --- /dev/null +++ b/all_in_one_dynamic_custom_fields/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 08.01.2024 +#### Version 17.0.1.0.0 +##### ADD + +- Initial commit for All in One Custom Dynamic Fields diff --git a/all_in_one_dynamic_custom_fields/models/__init__.py b/all_in_one_dynamic_custom_fields/models/__init__.py new file mode 100755 index 000000000..70627ee22 --- /dev/null +++ b/all_in_one_dynamic_custom_fields/models/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: MOHAMMED DILSHAD TK (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from . import dynamic_fields +from . import field_widgets +from . import ir_model_fields diff --git a/all_in_one_dynamic_custom_fields/models/dynamic_fields.py b/all_in_one_dynamic_custom_fields/models/dynamic_fields.py new file mode 100755 index 000000000..06aca196d --- /dev/null +++ b/all_in_one_dynamic_custom_fields/models/dynamic_fields.py @@ -0,0 +1,226 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: MOHAMMED DILSHAD TK (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from odoo import api, fields, models, _ + + +class DynamicFields(models.Model): + """Creates dynamic fields model to create and manage new fields""" + _name = 'dynamic.fields' + _rec_name = 'field_description' + _description = 'Custom Dynamic Fields' + _inherit = 'ir.model.fields' + + @api.model + def get_possible_field_types(self): + """Return all available field types other than 'o2m' 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 + + @api.onchange('model_id') + def _onchange_model_id(self): + """Pass selected model into model field to filter position fields, + set values to form_view_ids to filter form view ids and pass + values to tree_view_ids to filter tree view ids""" + for rec in self: + rec.model = rec.model_id.model + rec.write({'form_view_ids': [(6, 0, rec.model_id.view_ids.filtered( + lambda view: view.type == 'form' and view.mode == 'primary') + .ids)]}) + rec.write({'tree_view_ids': [(6, 0, self.model_id.view_ids.filtered( + lambda view: view.type == 'tree' and view.mode == 'primary') + .ids)]}) + + model = fields.Char(string='Model', help="To store selected model name") + position_field_id = fields.Many2one(comodel_name='ir.model.fields', + string='Field Name', + required=True, ondelete='cascade', + help="Position field for new field" + , domain=lambda + self: "[('model', '=', model)]") + position = fields.Selection(selection=[('before', 'Before'), + ('after', 'After')], + string='Position', + required=True, help="Position of new field") + model_id = fields.Many2one(comodel_name='ir.model', string='Model', + required=True, + index=True, ondelete='cascade', + help="The model this field belongs to") + ref_model_id = fields.Many2one(comodel_name='ir.model', string='Relational ' + 'Model', + index=True, help="Relational model" + " for relational fields") + selection_field = fields.Char(string="Selection Options", + help="The model this field belongs to") + field_type = fields.Selection(selection='get_possible_field_types', + string='Field Type', required=True, + help="Data type of new field") + ttype = fields.Selection(string="Field Type", related='field_type', + help="Field type of field") + widget = fields.Many2one(comodel_name='dynamic.field.widgets', + string='Widget', help="Widgets for field", + domain=lambda self: "[('data_type', '=', " + "field_type)]") + groups = fields.Many2many('res.groups', + 'employee_dynamic_fields_group_rel', + 'field_id', 'group_id', + help="Groups of field") + extra_features = fields.Boolean(string="Show Extra Properties", + help="Enable to add extra features") + status = fields.Selection(selection=[('draft', 'Draft'), ('form', + 'Field Created')], + string='Status', + index=True, readonly=True, tracking=True, + copy=False, default='draft', + required=True, help='State for record') + form_view_ids = fields.Many2many(comodel_name='ir.ui.view', + string="Form View IDs", + help="Stores form view ids") + tree_view_ids = fields.Many2many(comodel_name='ir.ui.view', + relation="rel_tree_view", + string="Tree View IDs", + help="Stores tree view ids") + form_view_id = fields.Many2one(comodel_name='ir.ui.view', + string="Form View ID", + required=True, + help="Form view id of the model", + domain=lambda self: "[('id', 'in', " + "form_view_ids)]") + form_view_inherit_id = fields.Char(string="Form View Inherit Id", + related='form_view_id.xml_id', + help="Form view inherit id(adds" + " by selecting form view id)") + add_field_in_tree = fields.Boolean(string="Add Field to the Tree View", + default=False, + help="Enable to add field in tree view") + tree_view_id = fields.Many2one(comodel_name='ir.ui.view', + string="Tree View ID", + help="Tree view id of the model", + domain=lambda self: "[('id', 'in', " + "tree_view_ids)]") + tree_view_inherit_id = fields.Char(string="Tree View Inherit Id", + related='tree_view_id.xml_id', + help="Tree view inherit id(adds" + " by selecting tree view id)") + + def action_create_dynamic_field(self): + """Function to create dynamic field to a particular model, data type, + properties and etc""" + self.write({'status': 'form'}) + if self.field_type == 'monetary' and not self.env[ + 'ir.model.fields'].sudo().search([ + ('model', '=', self.model_id.id), + ('name', '=', 'currency_id')]): + self.env['ir.model.fields'].sudo().create({ + 'name': 'x_currency_id', + 'field_description': 'Currency', + 'model_id': self.model_id.id, + 'ttype': 'many2one', + 'relation': 'res.currency', + 'is_dynamic_field': True + }) + 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_field': True + }) + inherit_form_view_name = str( + self.form_view_id.name) + ".inherit.dynamic.custom." + str(self. + field_description) + ".field" + xml_id = self.form_view_id.xml_id + inherit_id = self.env.ref(xml_id) + arch_base = _('' + '' + '' + '' + '' + '') % (self.position_field_id.name, + self.position, self.name) + if self.widget: + arch_base = _('' + '' + '' + '' + '' + '') % (self.position_field_id.name, + self.position, self.name, + self.widget.name) + self.form_view_id = self.env['ir.ui.view'].sudo().create({ + 'name': inherit_form_view_name, + 'type': 'form', + 'model': self.model_id.model, + 'mode': 'extension', + 'inherit_id': inherit_id.id, + 'arch_base': arch_base, + 'active': True + }) + self.action_create_to_tree_view() + return { + 'type': 'ir.actions.client', + 'tag': 'reload', + } + + def action_create_to_tree_view(self): + """Function to add field to tree view""" + if self.add_field_in_tree: + inherit_tree_view_name = str( + self.tree_view_id.name) + ".inherit.dynamic.custom" + \ + str(self.field_description) + ".field" + self.tree_view_id = self.env['ir.ui.view'].sudo().create({ + 'name': inherit_tree_view_name, + 'type': 'tree', + 'model': self.model_id.model, + 'mode': 'extension', + 'inherit_id': self.tree_view_id.id, + 'arch_base': _( + '' + '' + '''''' + '''''' + '''''' + '''''') % self.name, + 'active': True}) + return { + 'type': 'ir.actions.client', + 'tag': 'reload', + } + + def unlink(self): + """Super unlink function""" + if self.form_view_id: + self.form_view_id.active = False + if self.tree_view_id: + self.tree_view_id.active = False + res = super(DynamicFields, self).unlink() + return res diff --git a/all_in_one_dynamic_custom_fields/models/field_widgets.py b/all_in_one_dynamic_custom_fields/models/field_widgets.py new file mode 100755 index 000000000..8bf409e49 --- /dev/null +++ b/all_in_one_dynamic_custom_fields/models/field_widgets.py @@ -0,0 +1,39 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: MOHAMMED DILSHAD TK (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from odoo import fields, models + + +class FieldWidgets(models.Model): + """We can't filter a selection field dynamically + so when we select a field its widgets also need to change according to + the selected field type, we can't do it by a 'selection' field, + need a 'Many 2 one' field.""" + + _name = 'dynamic.field.widgets' + _rec_name = 'description' + _description = 'Field Widgets' + + name = fields.Char(string="Name", help="Technical name of the widget") + data_type = fields.Char(string="Data Type", help="Datatype suitable for" + " the widget") + description = fields.Char(string="Description", help="Description of" + " the widget") diff --git a/all_in_one_dynamic_custom_fields/models/ir_model_fields.py b/all_in_one_dynamic_custom_fields/models/ir_model_fields.py new file mode 100755 index 000000000..3fb9d1f83 --- /dev/null +++ b/all_in_one_dynamic_custom_fields/models/ir_model_fields.py @@ -0,0 +1,32 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: MOHAMMED DILSHAD TK (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from odoo import models, fields + + +class IrModelFields(models.Model): + """Adding a new field to understand the dynamically created fields.""" + + _inherit = 'ir.model.fields' + + is_dynamic_field = fields.Boolean(string="Dynamic Field", + help="To filter dynamically" + " created fields") diff --git a/all_in_one_dynamic_custom_fields/security/all_in_one_dynamic_custom_fields_security.xml b/all_in_one_dynamic_custom_fields/security/all_in_one_dynamic_custom_fields_security.xml new file mode 100755 index 000000000..e36f8db15 --- /dev/null +++ b/all_in_one_dynamic_custom_fields/security/all_in_one_dynamic_custom_fields_security.xml @@ -0,0 +1,30 @@ + + + + + All in One Custom Dynamic Fields + Helps you handle your All-in-One Custom + Dynamic Fields Permissions + + 5 + + + + User + + + + + Administrator + + + + + diff --git a/all_in_one_dynamic_custom_fields/security/ir.model.access.csv b/all_in_one_dynamic_custom_fields/security/ir.model.access.csv new file mode 100755 index 000000000..32e953a65 --- /dev/null +++ b/all_in_one_dynamic_custom_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_all_in_one_dynamic_custom_fields_administrator,dynamic.fields,model_dynamic_fields,all_in_one_dynamic_custom_fields.group_all_in_one_dynamic_custom_fields_administrator,1,1,1,1 +access_all_in_one_dynamic_custom_fields_user,dynamic.fields,model_dynamic_fields,all_in_one_dynamic_custom_fields.group_all_in_one_dynamic_custom_fields_user,1,0,0,0 +access_dynamic_field_widgets,"dynamic.field.widgets","model_dynamic_field_widgets",,1,1,1,1 diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/icons/capture (1).png b/all_in_one_dynamic_custom_fields/static/description/assets/icons/capture (1).png new file mode 100755 index 000000000..8824deafc Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/icons/capture (1).png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/icons/check.png b/all_in_one_dynamic_custom_fields/static/description/assets/icons/check.png new file mode 100755 index 000000000..c8e85f51d Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/icons/check.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/icons/chevron.png b/all_in_one_dynamic_custom_fields/static/description/assets/icons/chevron.png new file mode 100755 index 000000000..2089293d6 Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/icons/chevron.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/icons/cogs.png b/all_in_one_dynamic_custom_fields/static/description/assets/icons/cogs.png new file mode 100755 index 000000000..95d0bad62 Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/icons/cogs.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/icons/consultation.png b/all_in_one_dynamic_custom_fields/static/description/assets/icons/consultation.png new file mode 100755 index 000000000..8319d4baa Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/icons/consultation.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/icons/ecom-black.png b/all_in_one_dynamic_custom_fields/static/description/assets/icons/ecom-black.png new file mode 100755 index 000000000..a9385ff13 Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/icons/ecom-black.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/icons/education-black.png b/all_in_one_dynamic_custom_fields/static/description/assets/icons/education-black.png new file mode 100755 index 000000000..3eb09b27b Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/icons/education-black.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/icons/hotel-black.png b/all_in_one_dynamic_custom_fields/static/description/assets/icons/hotel-black.png new file mode 100755 index 000000000..130f613be Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/icons/hotel-black.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/icons/img.png b/all_in_one_dynamic_custom_fields/static/description/assets/icons/img.png new file mode 100755 index 000000000..70197f477 Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/icons/img.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/icons/license.png b/all_in_one_dynamic_custom_fields/static/description/assets/icons/license.png new file mode 100755 index 000000000..a5869797e Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/icons/license.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/icons/lifebuoy.png b/all_in_one_dynamic_custom_fields/static/description/assets/icons/lifebuoy.png new file mode 100755 index 000000000..658d56ccc Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/icons/lifebuoy.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/icons/manufacturing-black.png b/all_in_one_dynamic_custom_fields/static/description/assets/icons/manufacturing-black.png new file mode 100755 index 000000000..697eb0e9f Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/icons/manufacturing-black.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/icons/photo-capture.png b/all_in_one_dynamic_custom_fields/static/description/assets/icons/photo-capture.png new file mode 100755 index 000000000..06c111758 Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/icons/photo-capture.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/icons/pos-black.png b/all_in_one_dynamic_custom_fields/static/description/assets/icons/pos-black.png new file mode 100755 index 000000000..97c0f90c1 Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/icons/pos-black.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/icons/puzzle.png b/all_in_one_dynamic_custom_fields/static/description/assets/icons/puzzle.png new file mode 100755 index 000000000..65cf854e7 Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/icons/puzzle.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/icons/restaurant-black.png b/all_in_one_dynamic_custom_fields/static/description/assets/icons/restaurant-black.png new file mode 100755 index 000000000..4a35eb939 Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/icons/restaurant-black.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/icons/service-black.png b/all_in_one_dynamic_custom_fields/static/description/assets/icons/service-black.png new file mode 100755 index 000000000..301ab51cb Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/icons/service-black.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/icons/trading-black.png b/all_in_one_dynamic_custom_fields/static/description/assets/icons/trading-black.png new file mode 100755 index 000000000..9398ba2f1 Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/icons/trading-black.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/icons/training.png b/all_in_one_dynamic_custom_fields/static/description/assets/icons/training.png new file mode 100755 index 000000000..884ca024d Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/icons/training.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/icons/update.png b/all_in_one_dynamic_custom_fields/static/description/assets/icons/update.png new file mode 100755 index 000000000..ecbc5a01a Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/icons/update.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/icons/user.png b/all_in_one_dynamic_custom_fields/static/description/assets/icons/user.png new file mode 100755 index 000000000..6ffb23d9f Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/icons/user.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/icons/wrench.png b/all_in_one_dynamic_custom_fields/static/description/assets/icons/wrench.png new file mode 100755 index 000000000..6c04dea0f Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/icons/wrench.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/misc/Cybrosys R.png b/all_in_one_dynamic_custom_fields/static/description/assets/misc/Cybrosys R.png new file mode 100755 index 000000000..da4058087 Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/misc/Cybrosys R.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/misc/email.svg b/all_in_one_dynamic_custom_fields/static/description/assets/misc/email.svg new file mode 100755 index 000000000..15291cdc3 --- /dev/null +++ b/all_in_one_dynamic_custom_fields/static/description/assets/misc/email.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/misc/phone.svg b/all_in_one_dynamic_custom_fields/static/description/assets/misc/phone.svg new file mode 100755 index 000000000..b7bd7f251 --- /dev/null +++ b/all_in_one_dynamic_custom_fields/static/description/assets/misc/phone.svg @@ -0,0 +1,3 @@ + + + diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/misc/star (1) 2.svg b/all_in_one_dynamic_custom_fields/static/description/assets/misc/star (1) 2.svg new file mode 100755 index 000000000..5ae9f507a --- /dev/null +++ b/all_in_one_dynamic_custom_fields/static/description/assets/misc/star (1) 2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/misc/support (1) 1.svg b/all_in_one_dynamic_custom_fields/static/description/assets/misc/support (1) 1.svg new file mode 100755 index 000000000..7d37a8f30 --- /dev/null +++ b/all_in_one_dynamic_custom_fields/static/description/assets/misc/support (1) 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/misc/support-email.svg b/all_in_one_dynamic_custom_fields/static/description/assets/misc/support-email.svg new file mode 100755 index 000000000..eb70370d6 --- /dev/null +++ b/all_in_one_dynamic_custom_fields/static/description/assets/misc/support-email.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/misc/tick-mark.svg b/all_in_one_dynamic_custom_fields/static/description/assets/misc/tick-mark.svg new file mode 100755 index 000000000..2dbb40187 --- /dev/null +++ b/all_in_one_dynamic_custom_fields/static/description/assets/misc/tick-mark.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/misc/whatsapp 1.svg b/all_in_one_dynamic_custom_fields/static/description/assets/misc/whatsapp 1.svg new file mode 100755 index 000000000..0bfaf8fc6 --- /dev/null +++ b/all_in_one_dynamic_custom_fields/static/description/assets/misc/whatsapp 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/misc/whatsapp.svg b/all_in_one_dynamic_custom_fields/static/description/assets/misc/whatsapp.svg new file mode 100755 index 000000000..b618aea1d --- /dev/null +++ b/all_in_one_dynamic_custom_fields/static/description/assets/misc/whatsapp.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/modules/1.png b/all_in_one_dynamic_custom_fields/static/description/assets/modules/1.png new file mode 100755 index 000000000..ba1058c42 Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/modules/1.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/modules/2.png b/all_in_one_dynamic_custom_fields/static/description/assets/modules/2.png new file mode 100755 index 000000000..6949185dd Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/modules/2.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/modules/3.png b/all_in_one_dynamic_custom_fields/static/description/assets/modules/3.png new file mode 100755 index 000000000..4e506f79b Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/modules/3.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/modules/4.png b/all_in_one_dynamic_custom_fields/static/description/assets/modules/4.png new file mode 100755 index 000000000..e78427938 Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/modules/4.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/modules/5.png b/all_in_one_dynamic_custom_fields/static/description/assets/modules/5.png new file mode 100755 index 000000000..272ec20f9 Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/modules/5.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/modules/6.png b/all_in_one_dynamic_custom_fields/static/description/assets/modules/6.png new file mode 100755 index 000000000..7d5c3154f Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/modules/6.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/hero.gif b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..5a0a51be3 Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/hero.gif differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/img1.png b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/img1.png new file mode 100755 index 000000000..1bd10114b Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/img1.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/img10.png b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/img10.png new file mode 100755 index 000000000..f0930c4f1 Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/img10.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/img11.png b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/img11.png new file mode 100755 index 000000000..fa54c04dd Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/img11.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/img12.png b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/img12.png new file mode 100755 index 000000000..60670b488 Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/img12.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/img2.png b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/img2.png new file mode 100755 index 000000000..b4036463d Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/img2.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/img3.png b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/img3.png new file mode 100755 index 000000000..f57219158 Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/img3.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/img4.png b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/img4.png new file mode 100755 index 000000000..eea8af095 Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/img4.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/img5.png b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/img5.png new file mode 100755 index 000000000..3bd1e9382 Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/img5.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/img6.png b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/img6.png new file mode 100755 index 000000000..dc1b4a7de Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/img6.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/img7.png b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/img7.png new file mode 100755 index 000000000..93413e82f Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/img7.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/img8.png b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/img8.png new file mode 100755 index 000000000..898169f83 Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/img8.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/img9.png b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/img9.png new file mode 100755 index 000000000..c737fadda Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/img9.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/banner.png b/all_in_one_dynamic_custom_fields/static/description/banner.png new file mode 100644 index 000000000..060909362 Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/banner.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/icon.png b/all_in_one_dynamic_custom_fields/static/description/icon.png new file mode 100644 index 000000000..64ad19520 Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/icon.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/index.html b/all_in_one_dynamic_custom_fields/static/description/index.html new file mode 100755 index 000000000..5ccc18a95 --- /dev/null +++ b/all_in_one_dynamic_custom_fields/static/description/index.html @@ -0,0 +1,828 @@ + + + + + + + Odoo App 3 Index + + + + + + + + +
+
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+ Odoo.Sh +
+
+
+
+
+
+

+ All in One Dynamic Fields

+

+ Create Custom Fields In As Per You Need Without Any + Coding.

+
+ +
+
+
+
+
+

+ Key Highlights +

+
+
+
+
+
+ +
+
+

+ Creates custom fields

+

Creates custom + fields in any modules without coding. +

+
+
+
+
+
+
+ +
+
+

+ Set position easily

+

The position of + the fields can be easily set. +

+
+
+
+
+
+
+ +
+
+

+ Use field widgets +

Widgets can be + selected + for custom fields. +

+
+
+
+
+
+
+ +
+
+

+ Set field properties

+

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

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

+ Create Custom Dynamic Fields.

+

+ After installation, give the user access to + 'Create Custom Dynamic Fields' from user + settings.

+
+
+ +
+
+
+
+
+
+

+ Create Fields.

+

+ Open the module and Click Create Button to + create new custom fields and fill the + details.Then click the Create Field.

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

+ Model

+

+ Select the model for which you want to + create a custom field.

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

+ Field Type

+

+ Choose the field type.

+
+
+ +
+
+
+
+
+
+

+ List / Tree View

+

+ The custom field also we can add to the + module List/Tree view.

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

+ Sale Order Form View

+

+ A new custom field is created in the sale + order form view.

+
+
+ +
+
+
+
+
+
+

+ Sale Order Tree/List View

+

+ A new custom field is created in the sale + order tree view.

+
+
+ +
+
+
+
+
+
+
    +
  • + Creates custom + fields in any modules without coding +
  • +
  • + Easily set the + position of the new fields. +
  • +
  • + Can set the + field properties + (help,required,copied,read-only,indexed) +
  • + +
+
+
+
+
+
+
Version + 17.0.1.0.0|Released on:08th Jan 2024 +
+

+ Initial Commit for All in One Custom Dynamic + Fields

+
+
+
+
+
+
+
+

+ Related Products

+
+
+ +
+
+

+ Our Services

+ +
+
+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Customization

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Support

+
+
+
+
+
+
+ service-icon +
+
+

Hire + Odoo Developer

+
+
+
+
+ +
+
+ service-icon +
+
+

Odoo + Integration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Migration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Consultancy

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

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

+
+
+
+
+
+
+

+ Support

+
+
+
+
+
+
+
+ +
+ Need + Help? +

Got + questions or need help? Get in touch.

+
odoo@cybrosys.com +
+
+
+
+
+
+
+
+ +
+ WhatsApp +

Say hi to + us on WhatsApp!

+
+91 + 99456767686 +
+
+
+
+
+
+
+
+
+ + + + + + diff --git a/all_in_one_dynamic_custom_fields/views/dynamic_fields_views.xml b/all_in_one_dynamic_custom_fields/views/dynamic_fields_views.xml new file mode 100755 index 000000000..141b2551e --- /dev/null +++ b/all_in_one_dynamic_custom_fields/views/dynamic_fields_views.xml @@ -0,0 +1,132 @@ + + + + + dynamic.fields.view.tree + dynamic.fields + + + + + + + + + + + + dynamic.fields.view.form + dynamic.fields + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + + Custom Dynamic Fields + dynamic.fields + tree,form + +

+ Create New Custom Dynamic Field! +

+
+
+ + + + + + +