mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-22 20:12:04 -06:00
Correction des erreurs pylint-odoo
This commit is contained in:
parent
a42db21206
commit
d7e841018e
@ -1,3 +1,4 @@
|
||||
"""Import of model's module."""
|
||||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
|
@ -1,3 +1,4 @@
|
||||
"""Knowledge Management System module."""
|
||||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
@ -18,18 +19,16 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
|
||||
{
|
||||
'name': 'Knowledge Management System',
|
||||
'version': '9.0.1.0.0',
|
||||
'depends': ['base', 'base_setup'],
|
||||
'author': ['OpenERP SA', 'Odoo Community Association (OCA)'],
|
||||
'author': 'OpenERP SA, Odoo Community Association (OCA)',
|
||||
'category': 'Hidden/Dependency',
|
||||
'license': 'AGPL-3',
|
||||
'website': 'https://www.odoo.com',
|
||||
'data': [
|
||||
'security/knowledge_security.xml',
|
||||
'security/knowledge.xml',
|
||||
'security/ir.model.access.csv',
|
||||
'views/knowledge.xml',
|
||||
'views/res_config.xml',
|
||||
|
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<odoo>
|
||||
<data noupdate="0">
|
||||
<record id="base.user_demo" model="res.users">
|
||||
<field name="groups_id" eval="[(4,ref('base.group_document_user'))]"/>
|
||||
<field name="groups_id" eval="[(4,ref('base.group_document_user'))]"/>
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
||||
</odoo>
|
||||
|
@ -1,3 +1,5 @@
|
||||
"""model's module imported."""
|
||||
|
||||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
|
@ -1,3 +1,4 @@
|
||||
"""KnowledgeConfigSettings class."""
|
||||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
@ -23,6 +24,8 @@ from openerp import models, fields
|
||||
|
||||
|
||||
class KnowledgeConfigSettings(models.TransientModel):
|
||||
"""This class in needed to activate document management."""
|
||||
|
||||
_name = 'knowledge.config.settings'
|
||||
_inherit = 'res.config.settings'
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<odoo>
|
||||
<data noupdate="0">
|
||||
|
||||
<record id="base.group_document_user" model="res.groups">
|
||||
@ -9,4 +9,4 @@
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
</odoo>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<odoo>
|
||||
<data>
|
||||
|
||||
<!-- Top menu item -->
|
||||
@ -15,4 +15,4 @@
|
||||
parent="knowledge.menu_document"/>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
</odoo>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<odoo>
|
||||
<data>
|
||||
|
||||
<record id="view_knowledge_configuration" model="ir.ui.view">
|
||||
@ -35,4 +35,4 @@
|
||||
sequence="19" action="action_knowledge_configuration"/>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
</odoo>
|
||||
|
Loading…
Reference in New Issue
Block a user