mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-23 04:22:04 -06:00
[FIX] coding style issues
This commit is contained in:
parent
3e3157bf4f
commit
428f7e9450
@ -45,13 +45,13 @@ Scenario
|
||||
'depends': [
|
||||
'document_page',
|
||||
'email_template',
|
||||
],
|
||||
],
|
||||
'data': [
|
||||
'document_page_wkfl.xml',
|
||||
'document_page_view.xml',
|
||||
'security/document_page_security.xml',
|
||||
'security/ir.model.access.csv',
|
||||
],
|
||||
],
|
||||
'installable': True,
|
||||
'auto_install': False,
|
||||
'images': [
|
||||
|
@ -145,7 +145,7 @@ class document_page_history_wkfl(orm.Model):
|
||||
type='text', store=False),
|
||||
'get_page_url': fields.function(get_page_url, string="URL",
|
||||
type='text', store=False),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
class document_page_approval(orm.Model):
|
||||
|
@ -31,11 +31,11 @@ This module adds a company field to document page and the multi-company rule.
|
||||
""",
|
||||
'depends': [
|
||||
'document_page',
|
||||
],
|
||||
],
|
||||
'data': [
|
||||
'security/document_page_security.xml',
|
||||
'document_page_multi_company_view.xml',
|
||||
],
|
||||
],
|
||||
'installable': True,
|
||||
'auto_install': False,
|
||||
'images': [],
|
||||
|
@ -55,4 +55,4 @@ class AddUrlWizard(orm.TransientModel):
|
||||
'res_model': context['active_model'],
|
||||
}
|
||||
attachment_obj.create(cr, uid, attachment, context=context)
|
||||
return {'type': 'ir.actions.act_close_wizard_and_reload_view'}
|
||||
return {'type': 'ir.actions.act_close_wizard_and_reload_view'}
|
||||
|
Loading…
Reference in New Issue
Block a user