mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-14 01:41:26 -06:00
[FIX] knowledge: Several things
* Copyright and various stuff * Contributors * External ID not found in the system: base.group_document_user
This commit is contained in:
parent
a94f7e07e8
commit
4e36cf5a57
@ -27,7 +27,7 @@ To use this module, you need to:
|
|||||||
|
|
||||||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
|
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
|
||||||
:alt: Try me on Runbot
|
:alt: Try me on Runbot
|
||||||
:target: https://runbot.odoo-community.org/runbot/repo/118/9.0
|
:target: https://runbot.odoo-community.org/runbot/repo/118/10.0
|
||||||
|
|
||||||
|
|
||||||
Known issues / Roadmap
|
Known issues / Roadmap
|
||||||
@ -44,7 +44,7 @@ In case of trouble, please check there if your issue has already been reported.
|
|||||||
If you spotted it first, help us smashing it by providing a detailed and welcomed feedback `here <https://github.com/OCA/
|
If you spotted it first, help us smashing it by providing a detailed and welcomed feedback `here <https://github.com/OCA/
|
||||||
knowledge/issues/new?body=module:%20
|
knowledge/issues/new?body=module:%20
|
||||||
knowledge%0Aversion:%20
|
knowledge%0Aversion:%20
|
||||||
9.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
10.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
||||||
|
|
||||||
|
|
||||||
Credits
|
Credits
|
||||||
@ -56,7 +56,8 @@ Contributors
|
|||||||
* Odoo SA <info@odoo.com>
|
* Odoo SA <info@odoo.com>
|
||||||
* Savoir-faire Linux <support@savoirfairelinux.com>
|
* Savoir-faire Linux <support@savoirfairelinux.com>
|
||||||
* Gervais Naoussi <gervaisnaoussi@gmail.com>
|
* Gervais Naoussi <gervaisnaoussi@gmail.com>
|
||||||
* Leonardo Donelli @ MONK Software (leonardo.donelli@monksoftware.it)
|
* Leonardo Donelli <leonardo.donelli@monksoftware.it>
|
||||||
|
* Maxime Chambreuil <mchambreuil@ursainfosystems.com>
|
||||||
|
|
||||||
Maintainer
|
Maintainer
|
||||||
----------
|
----------
|
||||||
|
@ -1,23 +1,5 @@
|
|||||||
"""Import of model's module."""
|
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
##############################################################################
|
|
||||||
#
|
|
||||||
# OpenERP, Open Source Management Solution
|
|
||||||
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
|
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
|
||||||
#
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||||
# This program is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU Affero General Public License as
|
|
||||||
# published by the Free Software Foundation, either version 3 of the
|
|
||||||
# License, or (at your option) any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU Affero General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU Affero General Public License
|
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
|
||||||
##############################################################################
|
|
||||||
|
|
||||||
from . import models
|
from . import models
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright 2016 MONK Software
|
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
|
||||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||||
{
|
{
|
||||||
"name": "Knowledge Management System",
|
"name": "Knowledge Management System",
|
||||||
"version": "10.0.1.1.0",
|
"version": "10.0.1.0.0",
|
||||||
"author": "MONK Software, Odoo Community Association (OCA)",
|
"author": "OpenERP SA, MONK Software, Odoo Community Association (OCA)",
|
||||||
"category": "Knowledge",
|
"category": "Knowledge",
|
||||||
"license": "AGPL-3",
|
"license": "AGPL-3",
|
||||||
"website": "https://odoo-community.org/",
|
"website": "https://odoo-community.org/",
|
||||||
@ -16,6 +16,6 @@
|
|||||||
"views/res_config.xml",
|
"views/res_config.xml",
|
||||||
],
|
],
|
||||||
"demo": ["demo/knowledge.xml"],
|
"demo": ["demo/knowledge.xml"],
|
||||||
'installable': True,
|
"installable": True,
|
||||||
"auto_install": False,
|
"auto_install": False,
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<odoo noupdate="1">
|
<odoo noupdate="1">
|
||||||
|
|
||||||
<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('knowledge.group_document_user'))]"/>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright 2016 MONK Software
|
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
|
||||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||||
|
|
||||||
from . import ir_attachment
|
from . import ir_attachment
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||||
|
|
||||||
from odoo import fields, models
|
from odoo import fields, models
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright 2016 MONK Software
|
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
|
||||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||||
|
|
||||||
from odoo import models, fields
|
from odoo import fields, models
|
||||||
|
|
||||||
|
|
||||||
class KnowledgeConfigSettings(models.TransientModel):
|
class KnowledgeConfigSettings(models.TransientModel):
|
||||||
@ -15,3 +15,28 @@ class KnowledgeConfigSettings(models.TransientModel):
|
|||||||
help='Document indexation, full text search of attachements.\n'
|
help='Document indexation, full text search of attachements.\n'
|
||||||
'- This installs the module document.'
|
'- This installs the module document.'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
module_document_page = fields.Boolean(
|
||||||
|
'Manage document pages (Wiki)',
|
||||||
|
help='Provide document page and category as a wiki.\n'
|
||||||
|
'- This installs the module document_page.'
|
||||||
|
)
|
||||||
|
|
||||||
|
module_document_page_approval = fields.Boolean(
|
||||||
|
'Manage documents approval',
|
||||||
|
help='Add workflow on documents per category.\n'
|
||||||
|
'- This installs the module document_page_approval.'
|
||||||
|
)
|
||||||
|
|
||||||
|
module_cmis_read = fields.Boolean(
|
||||||
|
'Attach files from an external DMS into Odoo',
|
||||||
|
help='Connect Odoo with a CMIS compatible server to attach files\n'
|
||||||
|
'to an Odoo record.\n'
|
||||||
|
'- This installs the module cmis_read.'
|
||||||
|
)
|
||||||
|
|
||||||
|
module_cmis_write = fields.Boolean(
|
||||||
|
'Store attachments in an external DMS instead of the Odoo Filestore',
|
||||||
|
help='Connect Odoo with a CMIS compatible server to store files.\n'
|
||||||
|
'- This installs the module cmis_write.'
|
||||||
|
)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<odoo>
|
<odoo>
|
||||||
|
|
||||||
<record id="base.group_document_user" model="res.groups">
|
<record id="group_document_user" model="res.groups">
|
||||||
<field name="name">Knowledge user</field>
|
<field name="name">Knowledge user</field>
|
||||||
<field name="category_id" ref="module_category_knowledge"/>
|
<field name="category_id" ref="module_category_knowledge"/>
|
||||||
<field name="users" eval="[(4, ref('base.user_root'))]"/>
|
<field name="users" eval="[(4, ref('base.user_root'))]"/>
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
<menuitem
|
<menuitem
|
||||||
id="menu_document_root"
|
id="menu_document_root"
|
||||||
name="Knowledge"
|
name="Knowledge"
|
||||||
groups="base.group_system,base.group_document_user"
|
groups="base.group_system,knowledge.group_document_user"
|
||||||
sequence="116"/>
|
sequence="116"/>
|
||||||
|
|
||||||
<menuitem
|
<menuitem
|
||||||
|
@ -19,6 +19,28 @@
|
|||||||
<field name="module_document" class="oe_inline"/>
|
<field name="module_document" class="oe_inline"/>
|
||||||
<label for="module_document"/>
|
<label for="module_document"/>
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<field name="module_document_page" class="oe_inline"/>
|
||||||
|
<label for="module_document_page"/>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<field name="module_document_page_approval" class="oe_inline"/>
|
||||||
|
<label for="module_document_page_approval"/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</group>
|
||||||
|
<separator string="Connect with an external DMS"/>
|
||||||
|
<group>
|
||||||
|
<label for="id" string="Using CMIS"/>
|
||||||
|
<div>
|
||||||
|
<div>
|
||||||
|
<field name="module_cmis_read" class="oe_inline"/>
|
||||||
|
<label for="module_cmis_read"/>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<field name="module_cmis_write" class="oe_inline"/>
|
||||||
|
<label for="module_cmis_write"/>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</group>
|
</group>
|
||||||
</form>
|
</form>
|
||||||
|
Loading…
Reference in New Issue
Block a user