45119056ee7a4609c7f505835a04dc9bdf8d2d13
Before this commit, the makeView test helper processed the given arch and generated the fields to pass to the View component. This led us to do a similar work as what is done in the view service, i.e. duplicate code, or factorize/reuse code. An alternative is to let the View component fetch whatever it needs (view arch, fields, search view...). This is the purpose of this commit. That way, the code of the view service is executed (and thus tested as well) in each test doing a "makeView". This commit makes that change, and adapts some tests accordingly (mainly, tests doing assertions in mockRPC, since we do a get_view in every test). Part-of: odoo/odoo#87522
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%