If a menu item is created manually via the Odoo UI, then it (likely) won't have an xmlid. As a result, the `t-foreach` fails, resulting in the whole Odoo UI crashing (a blank white screen is shown). This code should use `id` as the `t-key` instead, as that is *always* available, even for menu items created manually.
Removed the optimisation of hiding the week number at a certain size
for consistency with the responsive design of Odoo enterprise. It is a
non-functional optimisation as it hides useful information that hardly
takes up any space. It also causes incompatibilities in the design with
extensions that do not take into account these specific changes.
TT54811
In Odoo 17, the Class TourStepUtils was removed, and stepUtils is now an object instead of a class. When this module is installed, the tours stop working and throw the error:
Uncaught Error: Dependencies should be defined by an array: function (require) {.
This commit adapts the code to align with these changes, ensuring that tours work correctly.
Add support to serve menu icon in image URL format rather than base64.
It can take advantanges from browser caching and Nginx proxy.
Signed-off-by: Fai <lamkafai1997@gmail.com>
Before this change when trying to access web using superuser the web
interface is not charged.
By doing this change is all working normally.
Steps to reproduce the problem:
1. Log in
2. Go to web/become
We give a color clue to the users so they can better tell if they're
sending an internal note or a public message.
Dislaimer: we use the `has()` pseudo class mainly because is simpler to
implement and the support is quite extended right now. Even Firefox will
catch up soon (now it has support behing a config flag).
So users with compatible browser will enjoy it, while others will just stay
as they were.
TT44953
Kanban View has an attribute 'records_draggable', means 'whether it should be possible to drag records when kanban is grouped'.
It's support was broken.
Co-authored-by: MackZhong <mackz@sina.com>