mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-23 04:22:04 -06:00
[FIX] document_page: no order parameter in One2many field
This commit is contained in:
parent
9c015f5c44
commit
eeab2a835e
@ -12,9 +12,7 @@ class DocumentPage(models.Model):
|
|||||||
|
|
||||||
_inherit = "document.page"
|
_inherit = "document.page"
|
||||||
|
|
||||||
history_ids = fields.One2many(
|
history_ids = fields.One2many(domain=[("state", "=", "approved")])
|
||||||
order="approved_date DESC", domain=[("state", "=", "approved")]
|
|
||||||
)
|
|
||||||
|
|
||||||
approved_date = fields.Datetime(
|
approved_date = fields.Datetime(
|
||||||
"Approved Date",
|
"Approved Date",
|
||||||
|
Loading…
Reference in New Issue
Block a user