Commit Graph
5 Commits
Author SHA1 Message Date
Simon Genin (ges) feef532b41 [REF] web, stock: refactor report client code
This commit converts the report code to the new framework.

Since the module stock still has code that extends the old
"ReportClientAction", the old report code is put inside this module.
It can be then naturally removed once the module is fully converted.

closes odoo/odoo#97390

Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2022-09-02 20:10:53 +02:00
Brieuc-brd 05ab3dec89 [IMP] web: improve design of block_ui
Prior this commit the spinner was an image.
After this commit the spinner is an animated SVG. It also improves the
layout of the block_ui component.

task-2750837

closes odoo/odoo#83811

Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
2022-03-30 11:12:57 +02:00
qsm-odoo 8d591ee3e2 [REF] web, *: move the openhand.cur file to the right folder
*: point_of_sale, pos_restaurant

With [1], we introduced a cursor file for the grab icon in 13.0. It was
then forward-ported up to master... but it should have been adapted
starting from 15.0 as the 'img' folder of web moved around at [2].

This commit fixes that to not have two 'img' folders in web.
Unfortunately, [1] was not merged yesterday so we cannot really "fix"
the stable 15.0 version whose custo may already rely on that wrong
image location. So this fixes only master.

[1]: https://github.com/odoo/odoo/commit/c8e4e1e90322a652b01fa0eb1e6612b9c244f744
[2]: https://github.com/odoo/odoo/commit/ecfe85db84fb5649aaeb48ba3b221386e61a57bc

closes odoo/odoo#84837

Related: odoo/enterprise#24484
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
2022-02-18 10:46:53 +00:00
Simon Genin (ges) ecfe85db84 [REF] web: static/src/(img|fonts) => static/(img|fonts) 2021-04-29 07:34:40 +00:00
Christophe Matthieu 61eef73b52 [IMP] base, *: use a many2one for the company report layout
Before this rev. one could set the report layout on the company using a
hardcoded list (background, clean, standard, etc.). Other modules (typically
accounting modules) could add options in this list. The used template was built
on the layout key.

Now, the layout is a many2one field to a newly created model `report.layout`,
which is linked to a view with the layout architecture.

This gives more control to customize reports and create a new layout (without
creating a python module that extend the layout selection).
2018-08-13 17:09:28 +02:00