Commit 0305c4da authored by José Ángel Fentánez's avatar José Ángel Fentánez
Browse files

[REF] isolated_addons: update ribbon

parent 977a85c1

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
===========
Help Online
===========
This module allows the creation of an online help available from the lists
and forms in Odoo.
When loading a view, the module generates a button allowing access to an help
page for the related model if the page exists and the user is member of the
group 'Help reader'. If the page doesn't exist and the user is member of
the group 'Help writer', the module generate a button allowing the creation an
help page.
The help pages are created and managed via the website Module.
Note: When updating the page prefix parameters, the record rules must be
adapted.
Usage
=====
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/162/10.0
Known issues / Roadmap
======================
Even if the generated urls to the documentation contains an anchor (website/hel-xx#view_type),
it's no more possible to insert/edit anchors elements into the website since this functionnality is not supported
by the new html editor in Odoo 10.0 (summernote).
Bug Tracker
===========
Bugs are tracked on `GitHub Issues
<https://github.com/OCA/web/issues>`_. 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.
Credits
=======
Contributors
------------
* Laurent Mignon <laurent.mignon@acsone.eu>
* Jonathan Nemry <jonathan.nemry@acsone.eu>
* Cédric Pigeon <cedric.pigeon@acsone.eu>
Maintainer
----------
.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
To contribute to this module, please visit https://odoo-community.org.
# -*- coding: utf-8 -*-
# Copyright 2014 ACSONE SA/NV (<http://acsone.eu>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from . import controllers
from . import models
from . import wizards
# -*- coding: utf-8 -*-
# Copyright 2014 ACSONE SA/NV (<http://acsone.eu>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
'name': 'Help Online',
'version': '10.0.1.0.0',
'author': "ACSONE SA/NV,Odoo Community Association (OCA)",
'maintainer': 'ACSONE SA/NV',
'website': 'http://www.acsone.eu',
'license': 'AGPL-3',
'category': 'Documentation',
'depends': [
'website',
],
'data': [
'security/help_online_groups.xml',
'security/help_online_rules.xml',
'wizards/export_help_wizard_view.xml',
'wizards/import_help_wizard_view.xml',
'views/ir_ui_view_view.xml',
'views/help_online_view.xml',
'data/ir_config_parameter_data.xml',
],
'qweb': [
'static/src/xml/help_online.xml',
],
'installable': True,
}
# -*- coding: utf-8 -*-
# Copyright 2014 ACSONE SA/NV (<http://acsone.eu>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from .import help_online_controllers
# -*- coding: utf-8 -*-
# Copyright 2014 ACSONE SA/NV (<http://acsone.eu>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
import odoo.http as http
from odoo.http import request
class HelpOnlineController(http.Controller):
@http.route('/help_online/build_url', type='json', auth='user')
def build_url(self, model, view_type, domain=None, context=None):
help_online_model = request.env['help.online']
return help_online_model.get_page_url(
model, view_type, domain=domain, context=context)
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data noupdate="0">
<record id="wz_auto_backup" model="export.help.wizard">
</record>
<function model="export.help.wizard" name="auto_backup"/>
</data>
</openerp>
\ No newline at end of file
<?xml version='1.0' encoding='UTF-8' ?>
<odoo>
<data noupdate="1">
<record id="help_online_autobackup_path" model="ir.config_parameter">
<field name="key">help_online_autobackup_path</field>
<field name="value">False</field>
</record>
</data>
<data noupdate="1">
<record id="help_online_page_prefix" model="ir.config_parameter">
<field name="key">help_online_page_prefix</field>
<field name="value">help</field>
</record>
</data>
<data noupdate="1">
<record id="help_online_template_prefix" model="ir.config_parameter">
<field name="key">help_online_template_prefix</field>
<field name="value">help-template</field>
</record>
</data>
</odoo>
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * help_online
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-06-02 09:52+0000\n"
"PO-Revision-Date: 2017-06-02 09:52+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: ar\n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
#. module: help_online
#: model:ir.ui.view,arch_db:help_online.export_help_wizard_view
#: model:ir.ui.view,arch_db:help_online.import_help_wizard_view
msgid "Close"
msgstr "إغلاق"
#. module: help_online
#: code:addons/help_online/models/help_online.py:45
#, python-format
msgid "Create Help page for %s"
msgstr ""
#. module: help_online
#: model:ir.model.fields,field_description:help_online.field_export_help_wizard_create_uid
#: model:ir.model.fields,field_description:help_online.field_help_online_create_uid
#: model:ir.model.fields,field_description:help_online.field_import_help_wizard_create_uid
msgid "Created by"
msgstr ""
#. module: help_online
#: model:ir.model.fields,field_description:help_online.field_export_help_wizard_create_date
#: model:ir.model.fields,field_description:help_online.field_help_online_create_date
#: model:ir.model.fields,field_description:help_online.field_import_help_wizard_create_date
msgid "Created on"
msgstr ""
#. module: help_online
#: model:ir.model.fields,field_description:help_online.field_export_help_wizard_display_name
#: model:ir.model.fields,field_description:help_online.field_help_online_display_name
#: model:ir.model.fields,field_description:help_online.field_import_help_wizard_display_name
msgid "Display Name"
msgstr ""
#. module: help_online
#: model:ir.ui.view,arch_db:help_online.export_help_wizard_view
msgid "Export"
msgstr ""
#. module: help_online
#: code:addons/help_online/wizards/export_help_wizard.py:307
#: model:ir.actions.act_window,name:help_online.action_export_help_wizard
#, python-format
msgid "Export Help"
msgstr ""
#. module: help_online
#: model:ir.ui.view,arch_db:help_online.export_help_wizard_view
msgid "Export Help Data"
msgstr ""
#. module: help_online
#: model:ir.model,name:help_online.model_export_help_wizard
#: model:ir.ui.menu,name:help_online.menu_help_export
msgid "Export Help Online"
msgstr ""
#. module: help_online
#: model:ir.model.fields,field_description:help_online.field_export_help_wizard_export_filename
msgid "Export XML Filename"
msgstr ""
#. module: help_online
#: model:ir.ui.menu,name:help_online.menu_help
#: model:ir.ui.menu,name:help_online.menu_help_main
msgid "Help Online"
msgstr ""
#. module: help_online
#: code:addons/help_online/models/help_online.py:40
#, python-format
msgid "Help on %s"
msgstr ""
#. module: help_online
#: model:res.groups,name:help_online.help_online_group_reader
msgid "Help reader"
msgstr ""
#. module: help_online
#: model:res.groups,name:help_online.help_online_group_writer
msgid "Help writer"
msgstr ""
#. module: help_online
#: model:ir.model.fields,field_description:help_online.field_export_help_wizard_id
#: model:ir.model.fields,field_description:help_online.field_help_online_id
#: model:ir.model.fields,field_description:help_online.field_import_help_wizard_id
msgid "ID"
msgstr ""
#. module: help_online
#: model:ir.ui.view,arch_db:help_online.import_help_wizard_view
msgid "Import"
msgstr ""
#. module: help_online
#: model:ir.actions.act_window,name:help_online.action_import_help_wizard
msgid "Import Help"
msgstr ""
#. module: help_online
#: model:ir.ui.view,arch_db:help_online.import_help_wizard_view
msgid "Import Help Data"
msgstr ""
#. module: help_online
#: model:ir.ui.menu,name:help_online.menu_help_import
msgid "Import Help Online"
msgstr ""
#. module: help_online
#: model:ir.model.fields,field_description:help_online.field_export_help_wizard___last_update
#: model:ir.model.fields,field_description:help_online.field_help_online___last_update
#: model:ir.model.fields,field_description:help_online.field_import_help_wizard___last_update
msgid "Last Modified on"
msgstr ""
#. module: help_online
#: model:ir.model.fields,field_description:help_online.field_export_help_wizard_write_uid
#: model:ir.model.fields,field_description:help_online.field_help_online_write_uid
#: model:ir.model.fields,field_description:help_online.field_import_help_wizard_write_uid
msgid "Last Updated by"
msgstr ""
#. module: help_online
#: model:ir.model.fields,field_description:help_online.field_export_help_wizard_write_date
#: model:ir.model.fields,field_description:help_online.field_help_online_write_date
#: model:ir.model.fields,field_description:help_online.field_import_help_wizard_write_date
msgid "Last Updated on"
msgstr ""
#. module: help_online
#: code:addons/help_online/wizards/export_help_wizard.py:300
#, python-format
msgid "No data to export !"
msgstr ""
#. module: help_online
#: code:addons/help_online/models/help_online.py:17
#, python-format
msgid "No page prefix parameter specified !"
msgstr ""
#. module: help_online
#: code:addons/help_online/wizards/export_help_wizard.py:99
#, python-format
msgid "Only images from ir.attachment are supported when exporting help pages"
msgstr ""
#. module: help_online
#. openerp-web
#: code:addons/help_online/static/src/js/help_online.js:37
#, python-format
msgid "Page does not exist. Do you want to create?"
msgstr ""
#. module: help_online
#: model:ir.model.fields,field_description:help_online.field_import_help_wizard_source_file
msgid "Source File"
msgstr ""
#. module: help_online
#: model:ir.ui.view,arch_db:help_online.export_help_wizard_view
msgid ""
"This wizard allow you to export all QWeb views\n"
" related to help online. The result will be an Odoo\n"
" data xml file."
msgstr ""
#. module: help_online
#: model:ir.ui.view,arch_db:help_online.import_help_wizard_view
msgid ""
"This wizard allow you to import QWeb views\n"
" related to help online. The required file format is an Odoo\n"
" data xml file."
msgstr ""
#. module: help_online
#: code:addons/help_online/wizards/export_help_wizard.py:337
#, python-format
msgid "Unable to write autobackup file in given directory: %s"
msgstr ""
#. module: help_online
#: model:ir.ui.view,arch_db:help_online.view_view_search
msgid "Website Page"
msgstr ""
#. module: help_online
#: model:ir.ui.view,arch_db:help_online.view_view_form
msgid "Website Page?"
msgstr ""
#. module: help_online
#: model:ir.actions.act_window,name:help_online.action_website_pages
#: model:ir.ui.menu,name:help_online.menu_help_pages
msgid "Website Pages"
msgstr ""
#. module: help_online
#: model:ir.model.fields,field_description:help_online.field_export_help_wizard_data
msgid "XML"
msgstr ""
#. module: help_online
#: model:ir.model,name:help_online.model_help_online
msgid "help.online"
msgstr ""
#. module: help_online
#: model:ir.model,name:help_online.model_import_help_wizard
msgid "import.help.wizard"
msgstr ""
#. module: help_online
#: model:ir.model,name:help_online.model_ir_model_data
msgid "ir.model.data"
msgstr ""
#. module: help_online
#: model:ir.ui.view,arch_db:help_online.export_help_wizard_view
#: model:ir.ui.view,arch_db:help_online.import_help_wizard_view
msgid "or"
msgstr ""
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * help_online
#
# Translators:
# Niki Waibel <niki.waibel@gmail.com>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-18 04:00+0000\n"
"PO-Revision-Date: 2017-03-18 04:00+0000\n"
"Last-Translator: Niki Waibel <niki.waibel@gmail.com>, 2017\n"
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: de\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: help_online
#: model:ir.ui.view,arch_db:help_online.export_help_wizard_view
#: model:ir.ui.view,arch_db:help_online.import_help_wizard_view
msgid "Close"
msgstr "Schließen"
#. module: help_online
#: code:addons/help_online/models/help_online.py:45
#, python-format
msgid "Create Help page for %s"
msgstr ""
#. module: help_online
#: model:ir.model.fields,field_description:help_online.field_export_help_wizard_create_uid
#: model:ir.model.fields,field_description:help_online.field_help_online_create_uid
#: model:ir.model.fields,field_description:help_online.field_import_help_wizard_create_uid
msgid "Created by"
msgstr "Erstellt von"
#. module: help_online
#: model:ir.model.fields,field_description:help_online.field_export_help_wizard_create_date
#: model:ir.model.fields,field_description:help_online.field_help_online_create_date
#: model:ir.model.fields,field_description:help_online.field_import_help_wizard_create_date
msgid "Created on"
msgstr "Erstellt am"
#. module: help_online
#: model:ir.model.fields,field_description:help_online.field_export_help_wizard_display_name
#: model:ir.model.fields,field_description:help_online.field_help_online_display_name
#: model:ir.model.fields,field_description:help_online.field_import_help_wizard_display_name
msgid "Display Name"
msgstr "Anzeigename"
#. module: help_online
#: model:ir.ui.view,arch_db:help_online.export_help_wizard_view
msgid "Export"
msgstr "Export"
#. module: help_online
#: code:addons/help_online/wizards/export_help_wizard.py:306
#: model:ir.actions.act_window,name:help_online.action_export_help_wizard
#, python-format
msgid "Export Help"
msgstr ""
#. module: help_online
#: model:ir.ui.view,arch_db:help_online.export_help_wizard_view
msgid "Export Help Data"
msgstr ""
#. module: help_online
#: model:ir.model,name:help_online.model_export_help_wizard
#: model:ir.ui.menu,name:help_online.menu_help_export
msgid "Export Help Online"
msgstr ""
#. module: help_online
#: model:ir.model.fields,field_description:help_online.field_export_help_wizard_export_filename
msgid "Export XML Filename"
msgstr ""
#. module: help_online
#: model:ir.ui.menu,name:help_online.menu_help
#: model:ir.ui.menu,name:help_online.menu_help_main
msgid "Help Online"
msgstr ""
#. module: help_online
#: code:addons/help_online/models/help_online.py:40
#, python-format
msgid "Help on %s"
msgstr ""
#. module: help_online
#: model:res.groups,name:help_online.help_online_group_reader
msgid "Help reader"
msgstr ""
#. module: help_online
#: model:res.groups,name:help_online.help_online_group_writer
msgid "Help writer"
msgstr ""
#. module: help_online
#: model:ir.model.fields,field_description:help_online.field_export_help_wizard_id
#: model:ir.model.fields,field_description:help_online.field_help_online_id
#: model:ir.model.fields,field_description:help_online.field_import_help_wizard_id
msgid "ID"
msgstr "ID"
#. module: help_online
#: model:ir.ui.view,arch_db:help_online.import_help_wizard_view
msgid "Import"
msgstr "Import"
#. module: help_online
#: model:ir.actions.act_window,name:help_online.action_import_help_wizard
msgid "Import Help"
msgstr ""
#. module: help_online
#: model:ir.ui.view,arch_db:help_online.import_help_wizard_view
msgid "Import Help Data"
msgstr ""
#. module: help_online
#: model:ir.ui.menu,name:help_online.menu_help_import
msgid "Import Help Online"
msgstr ""
#. module: help_online
#: model:ir.model.fields,field_description:help_online.field_export_help_wizard___last_update
#: model:ir.model.fields,field_description:help_online.field_help_online___last_update
#: model:ir.model.fields,field_description:help_online.field_import_help_wizard___last_update
msgid "Last Modified on"
msgstr ""
#. module: help_online
#: model:ir.model.fields,field_description:help_online.field_export_help_wizard_write_uid
#: model:ir.model.fields,field_description:help_online.field_help_online_write_uid
#: model:ir.model.fields,field_description:help_online.field_import_help_wizard_write_uid
msgid "Last Updated by"
msgstr ""
#. module: help_online
#: model:ir.model.fields,field_description:help_online.field_export_help_wizard_write_date
#: model:ir.model.fields,field_description:help_online.field_help_online_write_date
#: model:ir.model.fields,field_description:help_online.field_import_help_wizard_write_date
msgid "Last Updated on"
msgstr ""
#. module: help_online
#: code:addons/help_online/wizards/export_help_wizard.py:299
#, python-format
msgid "No data to export !"
msgstr ""
#. module: help_online
#: code:addons/help_online/models/help_online.py:17
#, python-format
msgid "No page prefix parameter specified !"
msgstr ""
#. module: help_online
#: code:addons/help_online/wizards/export_help_wizard.py:99
#, python-format
msgid "Only images from ir.attachment are supported when exporting help pages"
msgstr ""
#. module: help_online
#. openerp-web
#: code:addons/help_online/static/src/js/help_online.js:37
#, python-format
msgid "Page does not exist. Do you want to create?"
msgstr ""
#. module: help_online
#: model:ir.model.fields,field_description:help_online.field_import_help_wizard_source_file
msgid "Source File"
msgstr "Quelldatei"
#. module: help_online
#: model:ir.ui.view,arch_db:help_online.export_help_wizard_view
msgid ""
"This wizard allow you to export all QWeb views\n"
" related to help online. The result will be an Odoo\n"
" data xml file."
msgstr ""
#. module: help_online
#: model:ir.ui.view,arch_db:help_online.import_help_wizard_view
msgid ""
"This wizard allow you to import QWeb views\n"
" related to help online. The required file format is an Odoo\n"
" data xml file."
msgstr ""
#. module: help_online
#: code:addons/help_online/wizards/export_help_wizard.py:336
#, python-format
msgid "Unable to write autobackup file in given directory: %s"
msgstr ""
#. module: help_online
#: model:ir.ui.view,arch_db:help_online.view_view_search
msgid "Website Page"
msgstr ""
#. module: help_online
#: model:ir.ui.view,arch_db:help_online.view_view_form
msgid "Website Page?"
msgstr ""
#. module: help_online
#: model:ir.actions.act_window,name:help_online.action_website_pages
#: model:ir.ui.menu,name:help_online.menu_help_pages
msgid "Website Pages"
msgstr ""
#. module: help_online
#: model:ir.model.fields,field_description:help_online.field_export_help_wizard_data
msgid "XML"
msgstr "XML"
#. module: help_online
#: model:ir.model,name:help_online.model_help_online
msgid "help.online"
msgstr "help.online"