[document_page] FIX creating history when there are no changes made. Add history name field, to name revisions. Modified views to allow setting this field.

[document_page] FIX BUG: UI hanging when editing content. This was due to the api.depends on _compute_diff. Removing it because it's not really necessary since the field is not stored.

[document_page] page_id should be readonly.

Improve active field

[document_page] Update version number

[UPD] Update document_page.pot

[MIG] document_page_multi_company (#188)

* [MIG] document_page_multi_company

Added this feature from the old module directly in document_page
This commit is contained in:
Iván Todorovich
2018-04-20 10:42:10 -03:00
committed by FernandoRomera
parent 1125031c74
commit 10aafc1ea3
7 changed files with 99 additions and 18 deletions

View File

@@ -13,6 +13,11 @@ msgstr ""
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: document_page
#: model:ir.model.fields,field_description:document_page.field_document_page_active
msgid "Active"
msgstr ""
#. module: document_page
#: model:ir.ui.view,arch_db:document_page.view_wiki_filter
#: model:ir.ui.view,arch_db:document_page.view_wiki_history_filter
@@ -94,7 +99,7 @@ msgid "Created on"
msgstr ""
#. module: document_page
#: model:ir.model.fields,help:document_page.field_document_page_summary
#: model:ir.model.fields,help:document_page.field_document_page_draft_summary
msgid "Describe the changes made"
msgstr ""
@@ -233,12 +238,19 @@ msgid "Menu Name"
msgstr ""
#. module: document_page
#: model:ir.model.fields,field_description:document_page.field_document_page_draft_name
#: model:ir.model.fields,field_description:document_page.field_document_page_history_name
#: model:ir.ui.view,arch_db:document_page.view_category_form
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
#: model:ir.ui.view,arch_db:document_page.view_wiki_menu_form
msgid "Name"
msgstr ""
#. module: document_page
#: model:ir.model.fields,help:document_page.field_document_page_draft_name
msgid "Name for the changes made"
msgstr ""
#. module: document_page
#: model:ir.model.fields,field_description:document_page.field_document_page_history_page_id
msgid "Page"
@@ -276,6 +288,17 @@ msgstr ""
msgid "Parent Menu"
msgstr ""
#. module: document_page
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
#: model:ir.ui.view,arch_db:document_page.wiki_history_form
msgid "Rev 01"
msgstr ""
#. module: document_page
#: model:ir.ui.view,arch_db:document_page.view_wiki_form
msgid "Revision"
msgstr ""
#. module: document_page
#: code:addons/document_page/wizard/document_page_show_diff.py:28
#, python-format
@@ -283,8 +306,8 @@ msgid "Select one or maximum two history revisions!"
msgstr ""
#. module: document_page
#: model:ir.model.fields,field_description:document_page.field_document_page_draft_summary
#: model:ir.model.fields,field_description:document_page.field_document_page_history_summary
#: model:ir.model.fields,field_description:document_page.field_document_page_summary
msgid "Summary"
msgstr ""