When I import a list in events as attendees, they are not converted into leads, even though I have set up a Lead Generation Rule. If I create a new attendee directly in Odoo, the rule does work. How can I automatically convert imported attendees into leads?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
1
Balas
755
Tampilan
Hello Wim Peeters,
According to Native odoo behaviour,
event_lead_rule_skip = True means skip lead creation
Solution would be overwrite following method to allow import process to create lead.
class EventRegistration(models.Model):
_inherit = 'event.registration'
def _load_records_create(self, values):
""" In import mode: do not run rules those are intended to run when customers
buy tickets, not when bootstrapping a database. """
return super(EventRegistration, self.with_context(event_lead_rule_skip=False))._load_records_create(values)
Thanks & Regards,
CandidRoot Solutions Pvt. Ltd.
Mobile: (+91) 8849036209
Email: info@candidroot.com
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
2
Apr 25
|
2288 | ||
|
1
Mar 25
|
1262 | ||
|
2
Mar 25
|
1305 | ||
unable to show event cover photo in the guest view
Diselesaikan
|
|
1
Jul 24
|
1402 | |
|
0
Mar 24
|
1812 |