f16395833000c06496de0e8b70793e1e00c992d8
Prior to this commit, we had three insertion commands: * insertText: takes a string and insert a text node containing it * insertHtml: takes a string, convert it to elements on the fly and insert them * insertFragment: takes a fragment element and insert it in the dom With this commit, we now have a single one polymorphic command `insert` that accepts two types of arguments: * string: inserts a text node with the provided string as text * node: insert the provided node in the dom The new `insert` command does **not** support the previous case of `insertHtml` which used to convert string into html on the fly. No more magically hidden conversions ! No more need to construct a fragment yourself like was needed for `insertFragent` either. If you need to convert string into html, notably for hardcoded fixed html, you can use the `parseHTML` util which returns a frament containing the parsed nodes which can be given to `insert` directly.. closes odoo/odoo#99536 Related: odoo/enterprise#31081 Signed-off-by: David Monjoie (dmo) <dmo@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%