From 5172d9af1b7d81411a911cfe8008919f8cf241c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Mart=C3=ADnez?= Date: Wed, 2 Nov 2022 16:14:25 +0100 Subject: [PATCH] [FIX] l10n_es_aeat_mod349: Set the date field to store=True to allow the records to be sorted. --- l10n_es_aeat_mod349/models/mod349.py | 1 + 1 file changed, 1 insertion(+) diff --git a/l10n_es_aeat_mod349/models/mod349.py b/l10n_es_aeat_mod349/models/mod349.py index bb1b88f654a..47a842b99c6 100644 --- a/l10n_es_aeat_mod349/models/mod349.py +++ b/l10n_es_aeat_mod349/models/mod349.py @@ -666,4 +666,5 @@ class Mod349PartnerRefundDetail(models.Model): date = fields.Date( related="refund_line_id.date", readonly=True, + store=True, # Necessary for sorting records )