-
- Downloads
[IMP] sale_coupon: refactor the coupon stages and usability improvement
Fix the layout of logo to the printed coupon. The traceability of the coupons is not clear. for Ex. coupon is send or not? should I resend? so updated the stages of the coupon Now the stages will be like -pending(previously reserved) -- hidden by default -Valid -Sent : updated when mail is sent to customer -used -expired -cancelled : hidden by default(added button to cancel the new coupon) Cron added to expire coupon automatically. PS: model sale.coupon do not inherit the thread so instead of message_post change the state 'sent' from mail_compose_message. Task-ID: 2027296 Closes #34620
Showing
- addons/sale_coupon/data/sale_coupon_email_data.xml 12 additions, 0 deletionsaddons/sale_coupon/data/sale_coupon_email_data.xml
- addons/sale_coupon/models/__init__.py 1 addition, 0 deletionsaddons/sale_coupon/models/__init__.py
- addons/sale_coupon/models/sale_coupon.py 24 additions, 5 deletionsaddons/sale_coupon/models/sale_coupon.py
- addons/sale_coupon/views/sale_coupon_views.xml 3 additions, 2 deletionsaddons/sale_coupon/views/sale_coupon_views.xml
- addons/sale_coupon/wizard/sale_coupon_generate.py 1 addition, 1 deletionaddons/sale_coupon/wizard/sale_coupon_generate.py
Please register or sign in to comment