diff --git a/all_in_one_dynamic_custom_fields/README.rst b/all_in_one_dynamic_custom_fields/README.rst new file mode 100644 index 000000000..0cf83a382 --- /dev/null +++ b/all_in_one_dynamic_custom_fields/README.rst @@ -0,0 +1,43 @@ +.. image:: https://img.shields.io/badge/licence-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 +================================ + +All in One Custom Dynamic Fields + +Installation +============ +- www.odoo.com/documentation/15.0/setup/install.html +- Install our custom addon + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +* Developer: + Version 15: Minhaj T @cybrosys + +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: ``__ \ No newline at end of file diff --git a/all_in_one_dynamic_custom_fields/__init__.py b/all_in_one_dynamic_custom_fields/__init__.py new file mode 100644 index 000000000..0bf9c8572 --- /dev/null +++ b/all_in_one_dynamic_custom_fields/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +################################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies (). +# Author: Cybrosys Techno Solutions () +# +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +################################################################################### + +from . import models diff --git a/all_in_one_dynamic_custom_fields/__manifest__.py b/all_in_one_dynamic_custom_fields/__manifest__.py new file mode 100644 index 000000000..56f223881 --- /dev/null +++ b/all_in_one_dynamic_custom_fields/__manifest__.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +################################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies (). +# Author: Cybrosys Techno Solutions () +# +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +################################################################################### + +{ + 'name': 'All in One Dynamic Fields', + 'version': '15.0.1.0.0', + 'summary': 'Create Custom Fields As Per Your Need Without Any Coding.', + 'description': 'All in One Dynamic Fields, All in One Custom Fields, Dynamic Fields, Custom Fields, Create Fields Dynamically', + 'category': 'Extra Tools', + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'license': 'AGPL-3', + 'depends': ['base'], + 'data': [ + 'data/widget_data.xml', + 'security/security.xml', + 'security/ir.model.access.csv', + 'views/dynamic_fields.xml', + ], + 'images': ['static/description/banner.png'], + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/all_in_one_dynamic_custom_fields/data/widget_data.xml b/all_in_one_dynamic_custom_fields/data/widget_data.xml new file mode 100644 index 000000000..f3df52478 --- /dev/null +++ b/all_in_one_dynamic_custom_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/all_in_one_dynamic_custom_fields/doc/RELEASE_NOTES.md b/all_in_one_dynamic_custom_fields/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..81fa6e1ab --- /dev/null +++ b/all_in_one_dynamic_custom_fields/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 09.08.2022 +#### Version 15.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 100644 index 000000000..0451c323f --- /dev/null +++ b/all_in_one_dynamic_custom_fields/models/__init__.py @@ -0,0 +1,26 @@ +# -*- coding: utf-8 -*- +################################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies (). +# Author: Cybrosys Techno Solutions () +# +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +################################################################################### + +from . import ir_model_fields +from . import field_widgets +from . import dynamic_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 100644 index 000000000..d4958e2c5 --- /dev/null +++ b/all_in_one_dynamic_custom_fields/models/dynamic_fields.py @@ -0,0 +1,209 @@ +# -*- coding: utf-8 -*- +################################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies (). +# Author: Cybrosys Techno Solutions () +# +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +################################################################################### + +from odoo import api, fields, models, _ +from odoo.exceptions import ValidationError + + +class DynamicFields(models.Model): + _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 '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 + + position_field = fields.Many2one('ir.model.fields', string='Field Name', + required=True, + ondelete='cascade') + 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") + ref_model_id = fields.Many2one('ir.model', string='Model', index=True) + 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('dynamic.field.widgets', string='Widget') + groups = fields.Many2many('res.groups', 'employee_dynamic_fields_group_rel', + 'field_id', 'group_id') + extra_features = fields.Boolean(string="Show Extra Properties") + status = fields.Selection([ + ('draft', 'Draft'), + ('form', 'Field Created'), + ('tree', 'Added in Tree View'), + ], string='Status', index=True, readonly=True, tracking=True, + copy=False, default='draft', + required=True, help='Record Status') + + form_view_id = fields.Many2one('ir.ui.view', string="Form View ID", + required=True) + form_view_inherit_id = fields.Char(string="Form View Inherit Id", + related='form_view_id.xml_id') + add_field_in_tree = fields.Boolean(string="Add Field to the Tree View", + default=False) + tree_view_id = fields.Many2one('ir.ui.view', string="Tree View ID") + tree_view_inherit_id = fields.Char(string="Tree View Inherit Id", + related='tree_view_id.xml_id') + + def create_dynamic_fields(self): + 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.name, + self.position, self.name) + if self.widget: + arch_base = _('' + '' + '' + '' + '' + '') % (self.position_field.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 + }) + + def add_field_to_tree_view(self): + if self.env['ir.model.fields'].sudo().search( + [('model', '=', self.model_id.model), + ('name', '=', 'state')]): + self.write({'status': 'tree'}) + if self.add_field_in_tree: + inherit_tree_view_name = str( + self.tree_view_id.name) + ".inherit.dynamic.custom" + \ + str(self.field_description) + ".field" + tree_view_arch_base = _( + '' + '' + '''''' + '''''' + '''''' + '''''') % (self.name) + 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': tree_view_arch_base, + 'active': True}) + + else: + raise ValidationError( + _('Error! Selected Model You cannot add a custom field to the tree view.' + 'The feature only applies to the model tree/list view that contains the state ' + 'field.')) + + @api.depends('model_id') + @api.onchange('model_id') + def set_domain(self): + """Return the fields that currently present in the form""" + form_view_ids = self.model_id.view_ids.filtered( + lambda l: l.type == 'form' and l.mode == 'primary') + tree_view_ids = self.model_id.view_ids.filtered( + lambda l: l.type == 'tree' and l.mode == 'primary') + fields = self.env['ir.model.fields'].sudo().search([ + ('model', '=', self.model_id.model)]) + field_list = [] + for rec in fields: + for field in rec: + field_list.append(field.id) + return {'domain': { + 'form_view_id': [('id', 'in', form_view_ids.ids)], + 'tree_view_id': [('id', 'in', tree_view_ids.ids)], + 'position_field': [('id', 'in', field_list)] + }} + + @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/all_in_one_dynamic_custom_fields/models/field_widgets.py b/all_in_one_dynamic_custom_fields/models/field_widgets.py new file mode 100644 index 000000000..e03fe5f4c --- /dev/null +++ b/all_in_one_dynamic_custom_fields/models/field_widgets.py @@ -0,0 +1,38 @@ +# -*- coding: utf-8 -*- +################################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies (). +# Author: Cybrosys Techno Solutions () +# +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +################################################################################### + +from odoo import models, fields + + +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 'Many2one' field. + """ + + _name = 'dynamic.field.widgets' + _rec_name = 'description' + _description = 'Field Widgets' + + name = fields.Char(string="Name") + description = fields.Char(string="Description") 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 100644 index 000000000..a6cf59471 --- /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) 2022-TODAY Cybrosys Technologies (). +# Author: Cybrosys Techno Solutions () +# +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +################################################################################### + +from odoo import 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") 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 100644 index 000000000..9c05b7930 --- /dev/null +++ b/all_in_one_dynamic_custom_fields/security/ir.model.access.csv @@ -0,0 +1,5 @@ +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/security/security.xml b/all_in_one_dynamic_custom_fields/security/security.xml new file mode 100644 index 000000000..763ab2096 --- /dev/null +++ b/all_in_one_dynamic_custom_fields/security/security.xml @@ -0,0 +1,32 @@ + + + + + + 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/static/description/assets/icons/check.png b/all_in_one_dynamic_custom_fields/static/description/assets/icons/check.png new file mode 100644 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 100644 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 100644 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 100644 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 100644 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 100644 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 100644 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/license.png b/all_in_one_dynamic_custom_fields/static/description/assets/icons/license.png new file mode 100644 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 100644 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/logo.png b/all_in_one_dynamic_custom_fields/static/description/assets/icons/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/icons/logo.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 100644 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/pos-black.png b/all_in_one_dynamic_custom_fields/static/description/assets/icons/pos-black.png new file mode 100644 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 100644 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 100644 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 100644 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 100644 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 100644 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 100644 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 100644 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 100644 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/modules/budget_image.png b/all_in_one_dynamic_custom_fields/static/description/assets/modules/budget_image.png new file mode 100644 index 000000000..b50130c7d Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/modules/budget_image.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/modules/crm_doc_image.png b/all_in_one_dynamic_custom_fields/static/description/assets/modules/crm_doc_image.png new file mode 100644 index 000000000..0e6f19573 Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/modules/crm_doc_image.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/modules/dynamic_image.png b/all_in_one_dynamic_custom_fields/static/description/assets/modules/dynamic_image.png new file mode 100644 index 000000000..5238bdeab Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/modules/dynamic_image.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/modules/employee_image.png b/all_in_one_dynamic_custom_fields/static/description/assets/modules/employee_image.png new file mode 100644 index 000000000..30ad58232 Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/modules/employee_image.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/modules/gantt_image.png b/all_in_one_dynamic_custom_fields/static/description/assets/modules/gantt_image.png new file mode 100644 index 000000000..1ae7cfe3b Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/modules/gantt_image.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/modules/sale_image.png b/all_in_one_dynamic_custom_fields/static/description/assets/modules/sale_image.png new file mode 100644 index 000000000..004c61a9e Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/modules/sale_image.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/01.png b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/01.png new file mode 100644 index 000000000..2fa0aea4a Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/01.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/02.png b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/02.png new file mode 100644 index 000000000..7c89f5123 Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/02.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/03.png b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/03.png new file mode 100644 index 000000000..10506b3a7 Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/03.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/04.png b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/04.png new file mode 100644 index 000000000..27bc9118e Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/04.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/05.png b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/05.png new file mode 100644 index 000000000..9ef3f3a32 Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/05.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/06.png b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/06.png new file mode 100644 index 000000000..ad5ef6340 Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/06.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/07.png b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/07.png new file mode 100644 index 000000000..0595e6628 Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/07.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/08.png b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/08.png new file mode 100644 index 000000000..cec50b2fd Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/08.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/09.png b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/09.png new file mode 100644 index 000000000..11f0b705e Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/09.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/10.png b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/10.png new file mode 100644 index 000000000..31aefb304 Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/10.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/11.png b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/11.png new file mode 100644 index 000000000..3593d96cf Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/11.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/hero.png b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/hero.png new file mode 100644 index 000000000..3288ef310 Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/hero.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/main_view.png b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/main_view.png new file mode 100644 index 000000000..537f8fbe6 Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/main_view.png differ diff --git a/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/security.png b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/security.png new file mode 100644 index 000000000..2e92f19c5 Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/assets/screenshots/security.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..53de17dbf 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..d3a4f04ca 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 100644 index 000000000..379814530 --- /dev/null +++ b/all_in_one_dynamic_custom_fields/static/description/index.html @@ -0,0 +1,728 @@ +
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+ +
+
+
+
+ +
+
+
+

+ All In One Dynamic Fields

+

+ Create custom fields in as per you need without any coding. +

+ +
+
+ + + + +
+
+

+ Overview +

+
+ +
+

+ All in One Custom Dynamic Fields module helps with easy creation of custom fields in as per you need without any coding. + This module helps to add new fields on the form view and tree view as per requirement.

+ +
+
+ + +
+
+

+ Features +

+
+ +
+
+ +
+
+

+ Creates custom fields in any modules without coding.

+ +
+
+
+
+ +
+
+

+ The position of the fields can be easily set.

+ +
+
+ +
+
+ +
+
+

+ Widgets can be selected for custom fields.

+ +
+
+ +
+
+ +
+
+

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

+ +
+
+ +
+ +
+
+

+ Configuration +

+
+ +
+

+ No additional configuration required

+ +
+
+ +
+
+

+ Screenshots +

+
+
+

+ 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. + Note: The feature only applies to the model tree/list view that contains the state field. +

+ + + +
+ + +
+

+ 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. +

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

Suggested Products

+
+ + +
+
+ + +
+
+
+

Our Services

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

Our Industries

+
+
+ +
+
+ +
+ Trading +
+

+ Easily procure + and + sell your products

+
+
+ +
+
+ +
+ POS +
+

+ Easy + configuration + and convivial experience

+
+
+ +
+
+ +
+ Education +
+

+ A platform for + educational management

+
+
+ +
+
+ +
+ Manufacturing +
+

+ Plan, track and + schedule your operations

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

+ Mobile + friendly, + awe-inspiring product pages

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

+ Keep track of + services and invoice

+
+
+ +
+
+ +
+ Restaurant +
+

+ Run your bar or + restaurant methodically

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

+ An + all-inclusive + hotel management application

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

Need Help?

+
+
+
+ + +
+ +
+ + +
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+
+ + +
\ No newline at end of file diff --git a/all_in_one_dynamic_custom_fields/static/description/web_icon.png b/all_in_one_dynamic_custom_fields/static/description/web_icon.png new file mode 100644 index 000000000..26b52f16e Binary files /dev/null and b/all_in_one_dynamic_custom_fields/static/description/web_icon.png differ diff --git a/all_in_one_dynamic_custom_fields/views/dynamic_fields.xml b/all_in_one_dynamic_custom_fields/views/dynamic_fields.xml new file mode 100644 index 000000000..eae1d57a9 --- /dev/null +++ b/all_in_one_dynamic_custom_fields/views/dynamic_fields.xml @@ -0,0 +1,109 @@ + + + + custom_dynamic_fields_view_tree + dynamic.fields + + + + + + + + + + + + custom_dynamic_fields_view_form + dynamic.fields + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + + Custom Dynamic Fields + dynamic.fields + tree,form + +

+ Create New Custom Dynamic Field! +

+
+
+ + + + + + +