mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-28 19:36:30 -06:00
[IMP] check recusion when select parent
This commit is contained in:
parent
ce41442dd8
commit
488de5e46f
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -363,6 +363,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -363,6 +363,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -364,6 +364,12 @@ msgstr "Typ"
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr "Assistent Menü erstellen"
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -355,6 +355,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -363,6 +363,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -365,6 +365,12 @@ msgstr "Type"
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr "Wizard Create Menu"
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -363,6 +363,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -363,6 +363,12 @@ msgstr "Tipo"
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -363,6 +363,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -363,6 +363,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -363,6 +363,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -363,6 +363,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -363,6 +363,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -363,6 +363,12 @@ msgstr "نوع"
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -366,6 +366,12 @@ msgstr "Type"
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr "Assistant de création de menu"
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -363,6 +363,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -366,6 +366,12 @@ msgstr "Tip"
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr "Čarobnjak za kreiranje izbornika"
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -367,6 +367,12 @@ msgstr "Type"
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr "Wizard Crea Menu"
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -363,6 +363,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -363,6 +363,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -363,6 +363,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -363,6 +363,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -363,6 +363,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -363,6 +363,12 @@ msgstr "Type"
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -364,6 +364,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -365,6 +365,12 @@ msgstr "Tipo"
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr "Assistente de Criação de Menus"
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -363,6 +363,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -363,6 +363,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -363,6 +363,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -364,6 +364,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -363,6 +363,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -363,6 +363,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -364,6 +364,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -363,6 +363,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -362,6 +362,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -363,6 +363,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -363,6 +363,12 @@ msgstr ""
|
||||
msgid "Wizard Create Menu"
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: code:addons/document_page/models/document_page.py:119
|
||||
#, python-format
|
||||
msgid "You cannot create recursive categories."
|
||||
msgstr ""
|
||||
|
||||
#. module: document_page
|
||||
#: model:ir.ui.view,arch_db:document_page.view_category_form
|
||||
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
|
||||
|
@ -1,7 +1,8 @@
|
||||
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import api, fields, models
|
||||
from odoo import api, fields, models, _
|
||||
from odoo.exceptions import ValidationError
|
||||
|
||||
|
||||
class DocumentPage(models.Model):
|
||||
@ -112,6 +113,11 @@ class DocumentPage(models.Model):
|
||||
ondelete='cascade',
|
||||
)
|
||||
|
||||
@api.constrains('parent_id')
|
||||
def _check_parent_id(self):
|
||||
if not self._check_recursion():
|
||||
raise ValidationError(_('You cannot create recursive categories.'))
|
||||
|
||||
@api.multi
|
||||
def _get_page_index(self, link=True):
|
||||
"""Return the index of a document."""
|
||||
|
Loading…
Reference in New Issue
Block a user