This commit refactors the current model structure of spreadsheet-related
module. Data fields are integrated into an abstract model
`spreadsheet.mixin` and all sub-models are inherited from it. This way
we can group all decode/encode logics into one place.
task 3222572
closesodoo/odoo#116498
Related: odoo/upgrade#4473
Related: odoo/enterprise#38692
Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com>
Some amounts were wrong because quotations were included, even though
they do not make revenue.
opw 3121450
task 3130829
X-original-commit: 0fa2510c34a41e9e91131909a0b24af25aa770fc
Part-of: odoo/odoo#111137
Current behavior:
In the PoS base dashboard there is a "Top Orders" section that shows the
top orders by amount. The orders are shown in ascending order when it
should be descending.
opw-3116114
closesodoo/odoo#109799
X-original-commit: 3e7109827ce285f6204c80e66b5e38a71dd61fd1
Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com>