diff options
| author | Thibault Delavallée <tde@odoo.com> | 2020-01-14 13:30:24 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2020-01-23 14:34:42 +0000 |
| commit | 726653fa7bbc5d20400cfaa256a8127360a960cf (patch) | |
| tree | 96b80c800e43a492b965185d82d7922a03440180 /addons/web_editor/static/src/xml | |
| parent | 1e1e511cea3ce2488df5a7334f4a09dd3dae14c5 (diff) | |
[IMP] crm: add more tests about lead / opportunity convert and merge wizards
PURPOSE
As crm will soon evolve (onchange -> compute, code improvements, better
management of sales teams) cleaning and improving tests is necessary to avoid
regressions.
SPECIFICATIONS
After ff6b35f759c64e49db787775e5df150ce0f53f9a that added some first tests, this commit will add more tests
notably about convert wizards.
Notably
* add tests for crm.lead2opportunity.partner wizard, notably options about
action (do nothing, exist or create partner), as well as some corner cases
like stage update, lost leads, ...
* rewrite and improve tests about crm.lead2opportunity.partner.mass, aka the
mass converted wizard that implements some random behavior on top of the
crm.lead2opportunity.partner wizard;
Some strange behaviors spotted
* partner action works on lost leads, but not the convert;
* user_id / team_id / stage_id coherency is not enforced during convert
as it relies mainly on onchanges that are not called;
LINKS
Task ID 2180521 (add tests for crm wizards)
Task ID 2056759 (remove crm.partner.binding mixin)
Task ID 2088565 (crm onchange -> compute)
Community PR odoo/odoo#43473
Diffstat (limited to 'addons/web_editor/static/src/xml')
0 files changed, 0 insertions, 0 deletions
