Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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 ff6b35f 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 2056759 (remove crm.partner.binding mixin) Task ID 2088565 (crm onchange -> compute) Community PR odoo#43127 Enterprise PR odoo/enterprise#7322
- Loading branch information
1 parent
1a7c213
commit f4a9412
Showing
2 changed files
with
399 additions
and
194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.