mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-25 18:08:42 -06:00
[FIX] PEP8 compliance
This commit is contained in:
parent
7531b5f35f
commit
0727881da0
@ -22,9 +22,9 @@
|
|||||||
{
|
{
|
||||||
'name': 'Document Page Multi-Company',
|
'name': 'Document Page Multi-Company',
|
||||||
'version': '1.0',
|
'version': '1.0',
|
||||||
"author" : "Savoir-faire Linux",
|
"author": "Savoir-faire Linux",
|
||||||
"website" : "http://www.savoirfairelinux.com",
|
"website": "http://www.savoirfairelinux.com",
|
||||||
"license" : "AGPL-3",
|
"license": "AGPL-3",
|
||||||
'category': 'Knowledge Management',
|
'category': 'Knowledge Management',
|
||||||
'description': """
|
'description': """
|
||||||
This module adds a company field to document page and the multi-company rule.
|
This module adds a company field to document page and the multi-company rule.
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
##############################################################################
|
##############################################################################
|
||||||
from openerp.osv import fields, orm
|
from openerp.osv import fields, orm
|
||||||
|
|
||||||
|
|
||||||
class document_page_history(orm.Model):
|
class document_page_history(orm.Model):
|
||||||
_inherit = 'document.page.history'
|
_inherit = 'document.page.history'
|
||||||
_columns = {
|
_columns = {
|
||||||
@ -30,6 +31,7 @@ class document_page_history(orm.Model):
|
|||||||
'company_id': lambda self, cr, uid, c: self.pool.get('res.users').browse(cr, uid, uid, c).company_id.id,
|
'company_id': lambda self, cr, uid, c: self.pool.get('res.users').browse(cr, uid, uid, c).company_id.id,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
class document_page(orm.Model):
|
class document_page(orm.Model):
|
||||||
_inherit = 'document.page'
|
_inherit = 'document.page'
|
||||||
_columns = {
|
_columns = {
|
||||||
|
Loading…
Reference in New Issue
Block a user