mirror of
https://github.com/OCA/knowledge.git
synced 2025-12-22 13:22:19 -06:00
code totally migrate to odoo 9.0 api
This commit is contained in:
@@ -86,6 +86,7 @@ class DocumentPageApproval(models.Model):
|
||||
approved_uid = history_ids.approved_uid.id
|
||||
page.approved_uid = approved_uid
|
||||
|
||||
@api.multi
|
||||
def _is_parent_approval_required(self):
|
||||
"""Check if the document required approval base on his parrent."""
|
||||
for page in self:
|
||||
|
||||
Reference in New Issue
Block a user