Daily updates from Odoo
Wednesday, November 20, 2024
4 changes · master
Code cleanup and technical improvements
The internal file layout of multiple Point of Sale related modules has been reorganized to match the newer structure. This helps keep development and maintenance consistent across country-specific, payment, restaurant, IoT, and self-ordering POS features without introducing intended functional changes for business users.
Original PR description
Reorganization of all pos submodules to follow its new file structure Here is the list of all reorganized modules : - community: l10n_ar_pos, l10n_co_pos, l10n_es_edi_tbai_pos, l10n_es_pos, l10n_gcc_pos, l10n_in_pos, pos_adyen, pos_discount, pos_epson_printer, pos_event, pos_hr, pos_loyalty, pos_mercado_pago, pos_online_payment, pos_paytm, pos_razorpay, pos_restaurant, pos_restaurant_adyen, pos_sale, pos_self_order_epson_printer, pos_six, pos_sms, pos_stripe, pos_viva_wallet - enterprise: l10n_cl_edi_pos, l10n_de_pos_cert, l10n_ec_edi_pos, l10n_mx_edi_pos, l10n_pe_edi_pos, pos_avatax, pos_iot, pos_iot_six, pos_preparation_display, pos_restaurant_appointment, pos_self_order_iot, pos_settle_due, whatsapp_pos community PR: https://github.com/odoo/odoo/pull/186724 task-id: 4290514
Product category demo data has been simplified across several business apps, making sample data easier to maintain and understand. The update also improves how default accounts are selected based on each company's localization, helping accounting behavior better match local settings.
Original PR description
This commit clean category data and demo data to have flat catagory and improve related logic to get default accounts based on company localization from company record. task-3941328 Co-authored-by: Dev Reshamiya <dere@odoo.com> Co-authored-by: Kartik Chavda <kcv@odoo.com>
This update modernizes how automated product tours detect visible items during testing. It helps keep test behavior aligned with the current platform tools, reducing false positives and improving reliability without changing day-to-day user workflows.
Original PR description
In this commit, we replace the use of _legacyIsVisible by the visible option of hoot which refers to isVisible function of hoot-dom.js. This change implies changes in a few tours. For information, _legacyIsVisible accepts elements with a width of 0 or a length of 0 (which is a bit absurd) while isVisible does not, which implies the changes where we just add :not(:visible) to the trigger. The other main modifications implies tours where you have to hover the trigger to then see the element you want to click on. task~3974087 https://github.com/odoo/odoo/pull/175964
This update standardizes internal Point of Sale JavaScript method names to a consistent camelCase style across POS and related localization modules. It should not change how users work with the system, but it improves code consistency and maintainability for future updates.
Original PR description
In this commit: -------------------- - Renamed all js methods in point_of_sale and all related modules of point_of_sale to camelCase from snake_case. Related PR: https://github.com/odoo/odoo/pull/185252 Task: 4269182