Browse Source

[FIX] Bug Fixed 'all_in_one_dynamic_custom_fields'

pull/268/head
AjmalCybro 2 years ago
parent
commit
e85229ff92
  1. 2
      all_in_one_dynamic_custom_fields/__manifest__.py
  2. 4
      all_in_one_dynamic_custom_fields/doc/RELEASE_NOTES.md
  3. 4
      all_in_one_dynamic_custom_fields/models/dynamic_fields.py

2
all_in_one_dynamic_custom_fields/__manifest__.py

@ -22,7 +22,7 @@
###################################################################################
{
'name': 'All in One Dynamic Fields',
'version': '16.0.1.1.1',
'version': '16.0.1.1.2',
'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',

4
all_in_one_dynamic_custom_fields/doc/RELEASE_NOTES.md

@ -1,6 +1,6 @@
## Module <all_in_one_dynamic_custom_fields>
#### 01.08.2023
#### Version 16.0.1.1.1
#### 02.08.2023
#### Version 16.0.1.1.2
##### ADD
- Initial commit for All in One Custom Dynamic Fields

4
all_in_one_dynamic_custom_fields/models/dynamic_fields.py

@ -126,7 +126,7 @@ class DynamicFields(models.Model):
'</data>') % (self.position_field.name,
self.position, self.name,
self.widget.name)
self.form_view_id = self.env['ir.ui.view'].sudo().create({
self.env['ir.ui.view'].sudo().create({
'name': inherit_form_view_name,
'type': 'form',
'model': self.model_id.model,
@ -153,7 +153,7 @@ class DynamicFields(models.Model):
'''<field name="%s" optional="show"/>'''
'''</xpath>'''
'''</data>''') % self.name
self.tree_view_id = self.env['ir.ui.view'].sudo().create({
self.env['ir.ui.view'].sudo().create({
'name': inherit_tree_view_name,
'type': 'tree',
'model': self.model_id.model,

Loading…
Cancel
Save