[9.0] knowledge - #75
Conversation
|
But why do you need this module? This module was only a wrapper to allow certain configuration, but per se doesn't add any model. I don't think it's needed. |
|
OK. |
|
So, do i remove it as requirement for document_page module? |
|
Yes, I think it's the way to go. See if in current v9 menu layout, document_page menu entries fit in any place, or create a new root in it. To assure compatibility with another document_* modules, you can put as XML-ID for this menu "base.menu_document" or similar, and declare the same menu in all modules that need it. |
|
OK! Thanks, i will go that way |
|
@pedrobaeza But why create another module adding a new menu root when this module already does that? IMO it's not a problem to keep this, and |
|
No, you don't need another module, Daniel. You only need to declare the menu on subsequent modules. This is the way to implement it: https://github.com/OCA/knowledge/pull/76/files#diff-1b36a8a2d376367ab8f27aac507585a3R5 I also ask if current v9 menu layout can host menu entries for document_page and the rest of the document_* modules without creating a parent menu. |
|
@pedrobaeza I tend to agree with @dreispt: we should declare the menuitem once in knowledge module instead of every submodules (document_page, document_*) There is no menu_document in base. |
|
@naousse Same remarks as described here: https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-9.0#todo and add |
|
OK, as you want. I was saying that for avoiding a dumb module. The technique I mention is used on Odoo for Sales, Purchases, and other top menus. |
reamed.rst added version number corrected res_config.py is now respecting the new odoo API
There was a problem hiding this comment.
|
I have made the corrections |
|
👍 |
|
Other than a couple of minor notes, it's 👍 |
There was a problem hiding this comment.
This module is the base for any knowledge and document management application.
There was a problem hiding this comment.
@naousse Please remove this line, it makes Travis failed.
There was a problem hiding this comment.
@gurneyalex Not this one, but in __openerp__.py, it does.
|
I'm surprised by the WARNINGs in runbot |
|
👍 |
The knowledge module has been deprecated by Odoo SA in version 9.0. This pull request is a port of this module to provide: