Skip to content

SupplierProductSubmission

Product submission from Supplier portal.

Source: doctype.py

Field Type Required Description Validators
supplier Link - -
product_name str - -
brand_name str - -
barcode str - -
hsn_code str - -
mrp Decimal - -
proposed_trade_price Decimal - -
discount_percent Decimal - -
category str - -
item_group str - -
is_liquor bool - -
bottle_in_origin bool - -
edp_pan_india None - -
fssai_license None - -
bis_certification None - -
agmark None - -
tds_certificate None - -
product_images list[str] - -
lab_report None - -
costing_sheet None - -
sample_submitted bool - -
sample_submission_date None - -
sample_tracking_number None - -
status str - -
product_application Link - -
Setting Value
Submittable False
Track Changes True

Controller hooks are implemented in *_controller.py files. Available lifecycle hooks:

  • validate() - Called before save, raise exceptions for validation errors
  • before_insert() - Called before inserting a new document
  • after_insert() - Called after successfully inserting
  • before_save() - Called before saving (insert or update)
  • after_save() - Called after saving
  • before_delete() - Called before deleting
  • after_delete() - Called after deleting