wbcore 1.56.6__py2.py3-none-any.whl → 1.56.7__py2.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.
@@ -27,9 +27,7 @@ class CompanyModelSerializer(EntryModelSerializer):
27
27
  )
28
28
  _employees = PersonRepresentationSerializer(source="employees", many=True)
29
29
  is_primary_employer = wb_serializers.BooleanField(read_only=True)
30
- tier = wb_serializers.CharField(
31
- help_text=settings.DEFAULT_TIERING_HELP_TEXT, required=False, read_only=True, label=_("Tier")
32
- )
30
+ tier = wb_serializers.CharField(help_text=settings.DEFAULT_TIERING_HELP_TEXT, label=_("Tier"), required=False)
33
31
  _type = CompanyTypeRepresentationSerializer(source="type")
34
32
 
35
33
  @wb_serializers.register_resource()
@@ -203,7 +203,6 @@ class EntryModelSerializer(wb_serializers.ModelSerializer):
203
203
  )
204
204
  primary_telephone = wb_serializers.TelephoneField(
205
205
  allow_null=True,
206
- read_only=True,
207
206
  required=False,
208
207
  label=_("Primary Telephone"),
209
208
  )
@@ -29,7 +29,7 @@ class PersonModelSerializer(ModelTranslateSerializerMixin, EntryModelSerializer)
29
29
  color=WBColor.BLUE_LIGHT.value, required=False, label=_("Personality Profile Blue")
30
30
  )
31
31
  _specializations = SpecializationRepresentationSerializer(source="specializations", many=True)
32
- tier = wb_serializers.CharField(read_only=True, help_text=_("Tier of the primary employer"), label=_("Tier"))
32
+ tier = wb_serializers.CharField(help_text=_("Tier of the primary employer"), label=_("Tier"), required=False)
33
33
 
34
34
  def get_user_account_email(self, obj):
35
35
  if hasattr(obj, "user_account"):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wbcore
3
- Version: 1.56.6
3
+ Version: 1.56.7
4
4
  Author-email: Christopher Wittlinger <c.wittlinger@stainly.com>
5
5
  Requires-Dist: boto3==1.35.*
6
6
  Requires-Dist: celery[redis]==5.*
@@ -324,11 +324,11 @@ wbcore/contrib/directory/release_notes/1_0_0.md,sha256=Twbl9RMLO6dbbm5dVoKorw8Be
324
324
  wbcore/contrib/directory/release_notes/1_0_1.md,sha256=yHolV-HwBmIavaPn9pg0ABRgxQ-eKIuiAs-phKb_ix0,285
325
325
  wbcore/contrib/directory/release_notes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
326
326
  wbcore/contrib/directory/serializers/__init__.py,sha256=36WcX6aHrBuZXVWR0JSCeCCvJin_jOEaiwuSYBSs5eo,2131
327
- wbcore/contrib/directory/serializers/companies.py,sha256=E9LegHl_jBdlJnixaa9j3RmMtvgYqHiEHHRK8GmhZzU,5777
327
+ wbcore/contrib/directory/serializers/companies.py,sha256=Bvxex_tq5lyR3k9Ox_Z2AnRQVyhPM0l1bdClJAjeEdo,5747
328
328
  wbcore/contrib/directory/serializers/contacts.py,sha256=Q-3lmivmS4ci9XP-65lO1d06Gm6cQMgPH3YA8FY71ZE,15205
329
- wbcore/contrib/directory/serializers/entries.py,sha256=gtp0zLfyrbr46N3hKhbBy7BkT8wHq-be4weva6ckVhc,13608
329
+ wbcore/contrib/directory/serializers/entries.py,sha256=QV_hlstwFWvhp-uiVPn3xMt0bES_6gKJs4rf_CVHIn0,13584
330
330
  wbcore/contrib/directory/serializers/entry_representations.py,sha256=Pj8j4HYDINvXlLZ7onBypF2ZOK_GGzFZevd-yzESqoU,1397
331
- wbcore/contrib/directory/serializers/persons.py,sha256=1zPg1FnPuXg-0jtf2lRxP0Wo-inD2ZifzEpv5UelZys,7641
331
+ wbcore/contrib/directory/serializers/persons.py,sha256=YtUgKKeijvV87JLtgeQtxmyk21COLQjSrb5klBw_EXQ,7641
332
332
  wbcore/contrib/directory/serializers/relationships.py,sha256=jGrjy8M8kaxNRHHJ0HiDMdD_-wZFwioRJabCpCwHZ4U,12390
333
333
  wbcore/contrib/directory/static/directory/markdown/documentation/address.md,sha256=gfUVi2PZh5uQ5sWkLG-AxYV9ULWeswRp3E2Me4fEs88,1865
334
334
  wbcore/contrib/directory/static/directory/markdown/documentation/banking.md,sha256=5jgF1tqTGdr4fRaXCtobtpFEx0xcSmVYkKvzVALp4L8,28387
@@ -1229,6 +1229,6 @@ wbcore/viewsets/generics.py,sha256=lKDq9UY_Tyc56u1bqaIEvHGgoaXwXxpZ1c3fLVteptI,1
1229
1229
  wbcore/viewsets/mixins.py,sha256=IdHd_uixOv3ExKoHxTgL5Bt8OELIwfYwhBZm0nsvZfc,12054
1230
1230
  wbcore/viewsets/utils.py,sha256=4520Ij3ASM8lOa8QZkCqbBfOexVRiZu688eW-PGqMOA,882
1231
1231
  wbcore/viewsets/viewsets.py,sha256=FPPESunEjlunDr5VFsjTfsquTS3iDSQkw0H6QjMKPqk,6574
1232
- wbcore-1.56.6.dist-info/METADATA,sha256=y-y-6lzajumEVNnQ1SH4JkvwCCBMYJUFH4d_eWaQvT0,2332
1233
- wbcore-1.56.6.dist-info/WHEEL,sha256=tkmg4JIqwd9H8mL30xA7crRmoStyCtGp0VWshokd1Jc,105
1234
- wbcore-1.56.6.dist-info/RECORD,,
1232
+ wbcore-1.56.7.dist-info/METADATA,sha256=wUZw8P3Rfudayh6ulfJYieR4lWeV-w62wavr1ocxJDk,2332
1233
+ wbcore-1.56.7.dist-info/WHEEL,sha256=tkmg4JIqwd9H8mL30xA7crRmoStyCtGp0VWshokd1Jc,105
1234
+ wbcore-1.56.7.dist-info/RECORD,,