odoo
odoo copied to clipboard
[FIX] crm: make pls test independant of demo data
As all won / lost leads will have an impact on the PLS frequency table, demo data will have one on the probabilities of leads without team_id set, as their probability is based on all leads, regardless on their team. Therefore, make sure we unlink all leads that are not the ones created in the test. We rebuild the table below, which is needed to ensure we only consider test leads.
Follow up of ecac497336826b66799f63c1daa0749535ce73f1
Task-3700966
@robodoo r+
@Odoonan @tde-banana-odoo this pull request has forward-port PRs awaiting action (not merged or closed):
- odoo/odoo#165928
- odoo/odoo#165938
- odoo/odoo#165959
- odoo/odoo#165981
- odoo/odoo#166011
@Odoonan @tde-banana-odoo this pull request has forward-port PRs awaiting action (not merged or closed):
- odoo/odoo#165928
- odoo/odoo#165938
- odoo/odoo#165959
- odoo/odoo#165981
- odoo/odoo#166011