aamo-odoo be8b9c9d80 [FIX] gamification: remove "completeness" field from order by in SQL
We are removing the "completeness" field from the order because it's a
non-storable field. When we attempt to access this field, it triggers a logger
warning check at line [1].

This commit will help you to implement a "goals" search by domain and order by
"ID" and sorting by "completeness" and "current" value, with condition-based
sorting for 'higher' or 'lower' requirements check at line[2].

[1] : https://github.com/odoo/odoo/pull/127353/commits/12e9749bcc1dc4f7b1a129933ae16840195bcae8#diff-7144f88ea32f36feb17ce1b8dda7dee1631f5ada34075414587df3948c6b3d1bL5317
[2] : https://github.com/odoo/odoo/blob/5c5b4d991423e0282d06a98e5677977d53dc0817/addons/gamification/models/gamification_challenge.py#L545-L548

sentry - 5162134321

closes odoo/odoo#161270

Signed-off-by: Thomas Lefebvre (thle) <thle@odoo.com>
2024-04-25 11:21:44 +00:00
2024-04-15 09:10:09 +00:00
…
…
…
…
…

Build Status Tech Doc Help Nightly Builds

Odoo

Odoo is a suite of web based open source business apps.

The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...

Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.

Getting started with Odoo

For a standard installation please follow the Setup instructions from the documentation.

To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%