mirror of
https://github.com/OCA/knowledge.git
synced 2025-12-22 21:32:18 -06:00
code coverage improve
This commit is contained in:
@@ -40,7 +40,7 @@ class DocumentPageCreateMenu(models.TransientModel):
|
||||
|
||||
@api.model
|
||||
def default_get(self, fields_list):
|
||||
"""Add page to the menu."""
|
||||
"""Get Page name of the menu."""
|
||||
res = super(DocumentPageCreateMenu, self).default_get(fields_list)
|
||||
page_id = self.env.context.get('active_id')
|
||||
obj_page = self.env['document.page']
|
||||
|
||||
Reference in New Issue
Block a user