mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-26 10:28:40 -06:00
Categories don't save content
This commit is contained in:
parent
6da6d85ad7
commit
2b4327751f
@ -153,10 +153,10 @@ class DocumentPage(models.Model):
|
||||
@api.multi
|
||||
def _inverse_content(self):
|
||||
for rec in self:
|
||||
if rec.content:
|
||||
if rec.type == 'content':
|
||||
rec._create_history({
|
||||
'content': rec.content,
|
||||
'summary': rec.summary
|
||||
'summary': rec.summary,
|
||||
})
|
||||
|
||||
@api.multi
|
||||
|
Loading…
Reference in New Issue
Block a user