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