c70e4100502051752dcc3e2730757b2e87ba7254
Steps to reproduce: - go to "Link Tracker" app; - go to "Campaigns" tab (UTMs); - create a new campaign; - leave and return in this record. Issue: A traceback appears. Error message: `Invalid props for component 'Notebook': 'defaultPage' is not a string` Cause: The `defaultPage` prop must be a string. When the record is new, it will be `undefined`, so it will pass props validation because this prop is optional. But when we try to calculate it and it does not return a value, the `defaultPage` is null. The variable is therefore declared but it is empty (and therefore not a string). `null` value does not pass the props validation test. The problem appears in the "Campaigns" tab because there is a notebook without content. Solution: Test if it is possible to have a value. If not, set the `defaultPage` prop to be `undefined`. opw-3109327 closes odoo/odoo#109533 X-original-commit: 402b1a822c3983af33aa1d3a3c7e93d8836c60d8 Signed-off-by: Dardenne Florent (dafl) <dafl@odoo.com>
…
…
…
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%