+4








fe62bfeacb
In this commit we create a DynamicModelFieldSelectorChar widget. Purpose is to
use it in WhatsApp to select fields when trying to make a valid path to find
information on a given model. Example
<field name="xxx" widget="DynamicModelFieldSelectorChar"
options="{'only_searchable': true}"/>
It is based on char widget, using only_searchable options.
Task-2377154 (Add WhatsApp Support)
Part-of: odoo/odoo#134377
Co-authored-by: Akshat Trivedi <aktr@odoo.com>
Co-authored-by: Aurélien Warnon <awa@odoo.com>
Co-authored-by: Gitashri Mantha <gman@odoo.com>
Co-authored-by: Jigar Vaghela <jva@odoo.com>
Co-authored-by: Kashyap Patel <kasp@odoo.com>
Co-authored-by: Khushi Vakil <khva@odoo.com>
Co-authored-by: Nishant Jain <niai@odoo.com>
Co-authored-by: Prakash Prajapati <ppr@odoo.com>
Co-authored-by: Priyanshi patel <prpa@odoo.com>
Co-authored-by: Rahul Prajapati <rapr@odoo.com>
Co-authored-by: Renaud Thiry <reth@odoo.com>
Co-authored-by: Shreya Patel <shpa@odoo.com>
Co-authored-by: Stéphane Debauche <std@odoo.com>
Co-authored-by: Zeel Patel <zepa@odoo.com>
60 lines
2.9 KiB
JSON
60 lines
2.9 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"moduleResolution": "node",
|
|
"baseUrl": ".",
|
|
"target": "ES2022",
|
|
"noEmit": true,
|
|
"disableSizeLimit": true,
|
|
"typeRoots": ["addons/web/tooling/types"],
|
|
"paths": {
|
|
"@web/*": ["addons/web/static/src/*"],
|
|
"@web_enterprise/*": ["web_enterprise/static/src/*"],
|
|
"@web_unsplash/*": ["addons/web_unsplash/static/src/*"],
|
|
"@web_editor/*": ["addons/web_editor/static/src/*"],
|
|
"@web_tour/*": ["addons/web_tour/static/src/*"],
|
|
"@web_gantt/*": ["web_gantt/static/src/*"],
|
|
"@web_cohort/*": ["web_cohort/static/src/*"],
|
|
"@web_map/*": ["web_map/static/src/*"],
|
|
"@web_mobile/*": ["web_mobile/static/src/*"],
|
|
"@web_grid/*": ["web_grid/static/src/*"],
|
|
"@web_studio/*": ["web_studio/static/src/*"],
|
|
"@bus/*": ["addons/bus/static/src/*"],
|
|
"@mail/*": ["addons/mail/static/src/*"],
|
|
"@im_livechat/*": ["addons/im_livechat/static/src/*"],
|
|
"@whatsapp/*": ["addons/whatsapp/static/src/*"],
|
|
"@point_of_sale/*": ["addons/point_of_sale/static/src/*"],
|
|
|
|
"@l10n_co_pos/*": ["addons/l10n_co_pos/static/src/*"],
|
|
"@l10n_fr_pos_cert/*": ["addons/l10n_fr_pos_cert/static/src/*"],
|
|
"@l10n_gcc_pos/*": ["addons/l10n_gcc_pos/static/src/*"],
|
|
"@l10n_in_pos/*": ["addons/l10n_in_pos/static/src/*"],
|
|
"@l10n_sa_pos/*": ["addons/l10n_sa_pos/static/src/*"],
|
|
"@pos_adyen/*": ["addons/pos_adyen/static/src/*"],
|
|
"@pos_discount/*": ["addons/pos_discount/static/src/*"],
|
|
"@pos_epson_printer/*": ["addons/pos_epson_printer/static/src/*"],
|
|
"@pos_epson_printer_restaurant/*": ["addons/pos_epson_printer_restaurant/static/src/*"],
|
|
"@pos_hr/*": ["addons/pos_hr/static/src/*"],
|
|
"@pos_loyalty/*": ["addons/pos_loyalty/static/src/*"],
|
|
"@pos_mercury/*": ["addons/pos_mercury/static/src/*"],
|
|
"@pos_restaurant/*": ["addons/pos_restaurant/static/src/*"],
|
|
"@pos_restaurant_adyen/*": ["addons/pos_restaurant_adyen/static/src/*"],
|
|
"@pos_restaurant_stripe/*": ["addons/pos_restaurant_stripe/static/src/*"],
|
|
"@pos_sale/*": ["addons/pos_sale/static/src/*"],
|
|
"@pos_sale_product_configurator/*": ["addons/pos_sale_product_configurator/static/src/*"],
|
|
"@pos_six/*": ["addons/pos_six/static/src/*"],
|
|
"@pos_stripe/*": ["addons/pos_stripe/static/src/*"],
|
|
"@test_mail/*": ["addons/test_mail/static/src/*"],
|
|
"@whatsapp_pos/*": ["addons/whatsapp_pos/static/src/*"]
|
|
}
|
|
},
|
|
"include": ["**/*.js", "**/*.ts"],
|
|
"exclude": [
|
|
"node_modules",
|
|
"setup",
|
|
"doc",
|
|
"**/lib",
|
|
"**/l10n*",
|
|
"addons/spreadsheet/static/src/o_spreadsheet/o_spreadsheet.js"
|
|
]
|
|
}
|