mirror of
https://github.com/OCA/knowledge.git
synced 2025-12-19 11:52:18 -06:00
[IMP] document_page_project: black, isort
This commit is contained in:
committed by
ntsirintanis
parent
cd39224667
commit
1632ae9ef0
@@ -6,16 +6,12 @@ from odoo import api, fields, models
|
||||
|
||||
|
||||
class ProjectProject(models.Model):
|
||||
_inherit = 'project.project'
|
||||
_inherit = "project.project"
|
||||
|
||||
document_page_ids = fields.One2many(
|
||||
string='Wiki',
|
||||
comodel_name='document.page',
|
||||
inverse_name='project_id',
|
||||
)
|
||||
document_page_count = fields.Integer(
|
||||
compute='_compute_document_page_count',
|
||||
string="Wiki", comodel_name="document.page", inverse_name="project_id"
|
||||
)
|
||||
document_page_count = fields.Integer(compute="_compute_document_page_count")
|
||||
|
||||
@api.multi
|
||||
def _compute_document_page_count(self):
|
||||
|
||||
Reference in New Issue
Block a user