amsdal_crm 0.1.1__py3-none-any.whl → 0.1.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
amsdal_crm/__about__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '0.1.1'
1
+ __version__ = '0.1.2'
@@ -60,7 +60,7 @@ def _custom_field_def_to_control(field_def: Any) -> dict[str, Any]:
60
60
  A dictionary representing the frontend control configuration
61
61
  """
62
62
  control: dict[str, Any] = {
63
- 'name': f'custom_fields.{field_def.field_name}',
63
+ 'name': f'{field_def.field_name}',
64
64
  'label': field_def.field_label,
65
65
  'required': field_def.is_required,
66
66
  }
@@ -98,6 +98,9 @@ def _add_custom_fields_to_control(control: dict[str, Any], custom_field_controls
98
98
  if 'controls' not in control:
99
99
  control['controls'] = []
100
100
 
101
+ if 'control' in control:
102
+ control.pop('control', None)
103
+
101
104
  # Find the custom_fields control and update it, or append custom fields at the end
102
105
  custom_fields_control = None
103
106
  for ctrl in control.get('controls', []):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amsdal_crm
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: amsdal-crm plugin for AMSDAL Framework
5
5
  Requires-Python: >=3.11
6
6
  Requires-Dist: aiohttp==3.12.15
@@ -1,5 +1,5 @@
1
1
  amsdal_crm/Third-Party Materials - AMSDAL Dependencies - License Notices.md,sha256=ML7PqsHrTMNNZn8E_rA-LzDCAafMSxMcrmSg8YOi-wo,113896
2
- amsdal_crm/__about__.py,sha256=ls1camlIoMxEZz9gSkZ1OJo-MXqHWwKPtdPbZJmwp7E,22
2
+ amsdal_crm/__about__.py,sha256=mdp2CftfqYbdKtP-eWv1z7rAUycYv6X1ntXSMUf8Kss,22
3
3
  amsdal_crm/__init__.py,sha256=b4wxJYesA5Ctk1IrAvlw64i_0EU3SiK1Tw6sUYakd18,303
4
4
  amsdal_crm/app.py,sha256=JLvueh_2KURQLDWMQlq4Z6gAFsqBDTRf6pK095ehp14,1373
5
5
  amsdal_crm/constants.py,sha256=5Ga7q9zEKcQZnAoKv_SE_7w8WxvhPFkM9gY9NruOEaA,347
@@ -9,7 +9,7 @@ amsdal_crm/fixtures/__init__.py,sha256=1tDNXZhcbZBd4tX3lTKKlom1NUg1TX2aa2IbymWO9
9
9
  amsdal_crm/fixtures/permissions.py,sha256=cYA-gWkKQdoN79GymQVHtT0GyFXMzaskwp13Ietp9wE,1107
10
10
  amsdal_crm/fixtures/pipelines.py,sha256=ZCLmgrA700Sl7Oy7l4IQ8FbIbC1378OkcJTrZe5701o,2064
11
11
  amsdal_crm/lifecycle/__init__.py,sha256=B8nw19lEIr7U15Lnu6jh7yzZwF9LWWh4-p3X63sAicQ,31
12
- amsdal_crm/lifecycle/consumer.py,sha256=i8QjD16DuYG5JYNPMBoxfkWJX8leVZfEjEL_3V6GHbI,7253
12
+ amsdal_crm/lifecycle/consumer.py,sha256=2xNiFb4Xz0Xsa_1wL5HosKkb4kDMuYOhCd643qEYqCA,7306
13
13
  amsdal_crm/migrations/0000_initial.py,sha256=8XjM-sbrNKJfcyGE_K2ITW4fOz7gmUxWH_NbX48o4XI,57028
14
14
  amsdal_crm/models/__init__.py,sha256=DSuGeLKPNL_EUGohWtrH6Eof6Nk--dHyZpfqbGWmYIY,1350
15
15
  amsdal_crm/models/account.py,sha256=b9JguizB-eM1BkDar4nGhayZ-icdfIsQp5cdB4sVZaQ,4897
@@ -27,6 +27,6 @@ amsdal_crm/services/custom_field_service.py,sha256=rqTlzcmjc-tqc3nuo2m0cMFdMgo1l
27
27
  amsdal_crm/services/deal_service.py,sha256=ZF7cAc6r10xgXZ8D8Oy3hnE-6GgAXq8fuG_Y4QerRGw,4839
28
28
  amsdal_crm/services/email_service.py,sha256=kung83otZAzm5MjezbWFP_Bp9CJ2NXLlDdjMX9MvNIc,3788
29
29
  amsdal_crm/services/workflow_service.py,sha256=oKOFJrwnMZxAiHuScs63tZxL801z-6ryrUuPMC7OXlE,7036
30
- amsdal_crm-0.1.1.dist-info/METADATA,sha256=3Aj2I9q7wS0OW7CVgMLWdpFHDPkM_qpukZdr9OoQL7A,1596
31
- amsdal_crm-0.1.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
32
- amsdal_crm-0.1.1.dist-info/RECORD,,
30
+ amsdal_crm-0.1.2.dist-info/METADATA,sha256=bkg5fEm_Mr2pPj0ScM1kS0XySZ5Akc6PIO_K2JNnOog,1596
31
+ amsdal_crm-0.1.2.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
32
+ amsdal_crm-0.1.2.dist-info/RECORD,,