sale_offer

sale_offer.duplicate_customer_category

  • Attribute: lsserver.core.localizations.keys.SALE_OFFER_DUPLICATE_CUSTOMER_CATEGORY
  • Fields: customer_category_ids
  • Example Message: The customer categories with ids %(customer_category_ids)s are already included in the sale offer.
  • Doc: The customer categories with ids None are already included in the sale offer.

sale_offer.duplicate_product

  • Attribute: lsserver.core.localizations.keys.SALE_OFFER_DUPLICATE_PRODUCT
  • Fields: product_ids
  • Example Message: The products with ids %(product_ids)s are already included in the sale offer.
  • Doc: The products with ids None are already included in the sale offer.

sale_offer.gift_card_product_error

  • Attribute: lsserver.core.localizations.keys.SALE_OFFER_GIFT_CARD_PRODUCT_ERROR
  • Fields: code
  • Example Message: Gift Card Product [%(code)s] cannot be added to sale offer.
  • Doc: Gift Card Product [None] cannot be added to sale offer.

sale_offer.invoice_line_item_attached_error

  • Attribute: lsserver.core.localizations.keys.SALE_OFFER_INVOICE_LINE_ITEM_ATTACHED_ERROR
  • Example Message: Cannot delete sale offer since it is attached to a invoice line