mirror of
https://github.com/OCA/knowledge.git
synced 2025-12-19 03:42:19 -06:00
[MIG] document_page_project: Migration to 12.0
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
from . import project_project
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
|
||||
from . import document_page
|
||||
from . import project_project
|
||||
|
||||
@@ -11,7 +11,7 @@ class ProjectProject(models.Model):
|
||||
document_page_ids = fields.One2many(
|
||||
string='Wiki',
|
||||
comodel_name='document.page',
|
||||
inverse_name='project_id'
|
||||
inverse_name='project_id',
|
||||
)
|
||||
document_page_count = fields.Integer(
|
||||
compute='_compute_document_page_count',
|
||||
|
||||
Reference in New Issue
Block a user