Tuesday, April 14, 2020
2 changes · master
Code cleanup and technical improvements
The accounting app code and screen definitions were split from very large files into smaller, focused files. This does not introduce new business features, but it should make future accounting updates easier to maintain and reduce development risk over time.
Original PR description
-- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update reorganizes and cleans CRM and Sales Team setup, demo data, menus, and tests to make future sales team membership improvements easier to deliver. It has little direct impact on daily users, but improves maintainability and reduces the risk of issues in upcoming changes.
Original PR description
PURPOSE Prepare enhancements of sales team membership. SPECIFICATIONS Lint crm data and demo, notably about sales team and file organization. Also move crm menu entries declaration in a single file and remove some menu entries not imported anymore. Lint sales_team module. Linting containing * reorder fields according to their use; * order methods according to guidelines (compute, CRUD, actions, tools); * fix some docstrings and typos; * remove unused imports and dead code; * rename files according to guidelines; * move views in their own file for mail.activity and assets; * correctly name data and demo files; * rename some inner methods to ease understanding; Clean sales team tests and extract common test data from crm LINKS Task ID 2086889 (sales team enhancements) Task ID 2234698 (preparation lint) Community PR #49520