488
488
Field("unit_cost", "double", default=0.00),
490
490
*(s3_timestamp() + s3_uid() + s3_deletion_status()))
492
492
table.site_id.requires = IS_IN_DB(db, "lms_site.id", "lms_storage_loc.name") #this should be automatically done. Using LMS User Preferences
493
493
table.site_id.label = T("Site/Warehouse")
494
494
table.site_id.comment = DIV(A(T("Add Site"), _class="colorbox", _href=URL(r=request, c="lms", f="site", args="create", vars=dict(format="popup")), _target="top"), DIV( _class="tooltip", _title=T("Site") + "|" + T("Add the main Warehouse/Site information where this Item is to be added.")))