How to fix this error when creating loyalty cards.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- ลูกค้าสัมพันธ์
- e-Commerce
- ระบบบัญชี
- สินค้าคงคลัง
- PoS
- Project
- MRP
คำถามนี้ถูกตั้งค่าสถานะ
There is an Error in the odoo source code (or was, i do not know if it has been fixed in the mean time since i have encountered this.)
This code snippet from the loyalty module basically triggers the warning and needs improvement, is the problem still occuring?
@api.onchange('expiration_date')
def _restrict_expiration_on_loyalty(self):
for card in self: if card.program_type == 'loyalty:
raise ValidationError(_("Expiration date cannot be set on a loyalty card."))
hopefully odoo can help. i am not able to create any new loyalty cards. even if i delete all the existing programs and start new. it give the same error. I am on v18 in odoo sh
Hi,
Can you please specify the Odoo version you are using? And also show the settings you did for the loyalty cards?
Good luck
Eva P.
I was manually adding customers. Then someone registered on the website and odoo automatically added them to the loyalty program and there was not expiration date on that customer. I think that is where the problem came in. How to not allowed customer to add themselve
You can configure the cusstomer account to be on invitation. This is in settings. Search for customer account. you will find it under privacy for the webpage.
Good luck
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อRelated Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
---|---|---|---|---|
|
0
มิ.ย. 21
|
2654 | ||
|
0
ส.ค. 24
|
782 | ||
|
3
มิ.ย. 24
|
1391 | ||
|
0
พ.ค. 23
|
1500 | ||
|
2
พ.ค. 25
|
609 |