Openbravo Issue Tracking System - Retail Modules
View Issue Details
0044047Retail ModulesWeb POSpublic2020-05-13 08:122020-06-08 17:02
AgatheBertin 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
RR20Q3 
marvintm
No
0044047: Digital Coupon - Can't use coupon if no subtype for the issuing company
We should be able to use coupon even without subtype.


According to the wiki, it seems having a subtype should not be mandatory:
"Sub Type Tab: Some digital coupon standards allow to define sub types for each issuing company. Those subtypes must have a different code to the other subtypes of the issuing company."


Related Modules
- Digital Coupons http://wiki.openbravo.com/wiki/Projects:DigitalCoupons/User_Guide [^]
- Cheque Cadeau http://wiki.openbravo.com/wiki/Projects:ChequeCadeau/User_Guide [^]
- Create a Issuing Company (no subtypes)
In the POS
- add a product to the ticket
- Try to use a digital Coupon
- Error Message "The sub Type is not valid for the selected issuing company"
NOR
related to defect 0044308 closed prakashmurugesan88 Digital Coupon - When scanning barcode can't use coupon if no subtype for the issuing company 
Issue History
2020-05-13 08:12AgatheBertinNew Issue
2020-05-13 08:12AgatheBertinAssigned To => Retail
2020-05-13 08:12AgatheBertinResolution time => 1590789600
2020-05-13 08:12AgatheBertinTriggers an Emergency Pack => No
2020-05-22 08:44ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2020-05-27 19:02hgbotCheckin
2020-05-27 19:02hgbotNote Added: 0120371
2020-05-28 15:35ranjith_qualiantech_comStatusnew => scheduled
2020-05-28 15:35ranjith_qualiantech_comStatusscheduled => resolved
2020-05-28 15:35ranjith_qualiantech_comResolutionopen => fixed
2020-05-29 09:17marvintmReview Assigned To => marvintm
2020-05-29 09:17marvintmStatusresolved => closed
2020-05-29 09:17marvintmFixed in Version => RR20Q3
2020-06-08 17:02rafarodaRelationship addedrelated to 0044308
2020-06-08 17:02rafarodaTag Attached: NOR

Notes
(0120371)
hgbot   
2020-05-27 19:02   
Repository: erp/pmods/org.openbravo.retail.digitalcoupons
Changeset: 870ee497b5bdce482bfd4f921c93114e142edd49
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed May 27 22:32:42 2020 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.digitalcoupons/rev/870ee497b5bdce482bfd4f921c93114e142edd49 [^]

Related to issue 44047 : Removed mandatory validation for SubType

* If the issuing company has no subTypes, then subType field will be hidden
  else user can select the empty value or defined subType

---
M web/org.openbravo.retail.digitalcoupons/js/modalDigitalCoupons.js
---