mirror of
https://github.com/OCA/knowledge.git
synced 2025-12-19 20:02:18 -06:00
[MIG] document_page_approval: Migration to 11.0
This commit is contained in:
committed by
FernandoRomera
parent
4f960bc3d1
commit
d0734794fa
@@ -1,4 +1,3 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright (C) 2013 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
@@ -123,7 +122,7 @@ class DocumentPageApproval(models.Model):
|
||||
@api.multi
|
||||
def _create_history(self, vals):
|
||||
res = super(DocumentPageApproval, self)._create_history(vals)
|
||||
res.signal_workflow('document_page_auto_confirm')
|
||||
res.document_page_auto_confirm()
|
||||
|
||||
@api.multi
|
||||
def action_changes_pending_approval(self):
|
||||
|
||||
Reference in New Issue
Block a user