[FIX] planning: fix sorting of records in Gantt view
Steps to reproduce: Open the gantt view and add a few shifts for different resources Observed behavior: https://nimb.ws/1t38Jl resources are not sorted by alphabetical order Expected behavior: https://nimb.ws/NqIAG3 resources should be sorted by alphabetical order task-2633936 closes odoo/odoo#76621 X-original-commit: 9c4ed2bcadc417a2927877902c4c275e5d9d16d5 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com> Signed-off-by: LTU-Odoo <IT-Ideas@users.noreply.github.com>
This commit is contained in:
@@ -862,6 +862,7 @@ class ResourceCalendarAttendance(models.Model):
|
||||
class ResourceResource(models.Model):
|
||||
_name = "resource.resource"
|
||||
_description = "Resources"
|
||||
_order = "name"
|
||||
|
||||
@api.model
|
||||
def default_get(self, fields):
|
||||
|
||||
Reference in New Issue
Block a user