mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-27 02:48:41 -06:00
Added store and index to related company_id field
This commit is contained in:
parent
ad2d1e1548
commit
bf9b08ff1e
@ -24,6 +24,8 @@ class DocumentPageHistory(models.Model):
|
||||
'Company',
|
||||
help='If set, page is accessible only from this company',
|
||||
related='page_id.company_id',
|
||||
store=True,
|
||||
index=True,
|
||||
readonly=True,
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user