Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added field Lab Account Number on a Supplier #2475

Merged
merged 3 commits into from
Apr 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Changelog
2.6.0 (unreleased)
------------------

- #2475 Add field Lab Account Number on a Supplier
- #2522 Fix user who retest is not considered a verifier
- #2520 Fix Slot Header titile of QC samples in Worksheet view
- #2517 Add sorting to the Supported Services list of RefernceSample Multichoice field
Expand Down
17 changes: 15 additions & 2 deletions src/bika/lims/content/supplier.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
required=0,
widget=StringWidget(
visible={"view": "visible", "edit": "visible"},
label=_("Website."),
label=_("Website"),
),
),

Expand Down Expand Up @@ -84,11 +84,24 @@
schemata="Bank details",
widget=StringWidget(
visible={"view": "visible", "edit": "visible"},
label=_("SWIFT code."),
label=_("SWIFT code"),
),
),

StringField(
"LabAccountNumber",
searchable=1,
required=0,
schemata="default",
widget=StringWidget(
visible={"view": "visible", "edit": "visible"},
label=_("Lab Account Number"),
),
),
))

schema.moveField('LabAccountNumber', before='TaxNumber')


class Supplier(Organisation):
"""Supplier content
Expand Down
Loading