Compare commits
No commits in common. '12.0' and '9.0' have entirely different histories.
-
16.travis.yml
-
79README.md
-
69help_online/README.rst
-
7help_online/__init__.py
-
30help_online/__openerp__.py
-
5help_online/controllers/__init__.py
-
15help_online/controllers/help_online_controllers.py
-
9help_online/data/help_auto_backup.sample
-
25help_online/data/ir_config_parameter_data.xml
-
244help_online/i18n/ar.po
-
244help_online/i18n/ca.po
-
253help_online/i18n/de.po
-
244help_online/i18n/es.po
-
244help_online/i18n/eu.po
-
244help_online/i18n/fi.po
-
253help_online/i18n/fr.po
-
244help_online/i18n/hr.po
-
244help_online/i18n/it.po
-
244help_online/i18n/nl.po
-
255help_online/i18n/pt_BR.po
-
244help_online/i18n/sl.po
-
244help_online/i18n/tr.po
-
6help_online/models/__init__.py
-
50help_online/models/help_online.py
-
57help_online/models/ir_model.py
-
16help_online/security/help_online_groups.xml
-
30help_online/security/help_online_rules.xml
-
BINhelp_online/static/description/help_online_create_page.png
-
BINhelp_online/static/description/help_online_view_page.png
-
BINhelp_online/static/description/icon.png
-
17help_online/static/description/index.html
-
3help_online/static/src/css/help_online.css
-
BINhelp_online/static/src/img/snippet/snippet_thumbs.png
-
86help_online/static/src/js/help_online.js
-
36help_online/static/src/xml/help_online.xml
-
7help_online/tests/__init__.py
-
100help_online/tests/common.py
-
78help_online/tests/data/help_test_data.xml
-
72help_online/tests/test_export_help_wizard.py
-
58help_online/tests/test_help_online.py
-
59help_online/tests/test_import_help_wizard.py
-
24help_online/views/help_online_view.xml
-
24help_online/views/ir_ui_view_view.xml
-
6help_online/wizards/__init__.py
-
334help_online/wizards/export_help_wizard.py
-
50help_online/wizards/export_help_wizard_view.xml
-
53help_online/wizards/import_help_wizard.py
-
43help_online/wizards/import_help_wizard_view.xml
-
86help_popup/README.rst
-
1help_popup/__init__.py
-
43help_popup/__openerp__.py
-
55help_popup/demo/help.xml
-
60help_popup/i18n/fr.po
-
61help_popup/i18n/sl.po
-
35help_popup/model.py
-
40help_popup/report/help.xml
-
13help_popup/report/report.xml
-
BINhelp_popup/static/description/icon.png
-
BINhelp_popup/static/description/popup.png
-
35help_popup/static/src/js/popup_help.js
-
8help_popup/static/src/xml/popup_help.xml
-
18help_popup/views/action_view.xml
-
11help_popup/views/popup_help_view.xml
-
2setup/_metapackage/VERSION.txt
-
78setup/_metapackage/setup.py
-
1setup/help_online/odoo_addons/__init__.py
-
1setup/help_online/odoo_addons/help_online
-
0setup/help_online/setup.py
-
1setup/support_branding/odoo_addons/__init__.py
-
1setup/support_branding/odoo_addons/support_branding
-
0setup/support_branding/setup.py
-
1setup/web_access_rule_buttons/odoo_addons/__init__.py
-
1setup/web_access_rule_buttons/odoo_addons/web_access_rule_buttons
-
0setup/web_access_rule_buttons/setup.py
-
1setup/web_action_conditionable/odoo_addons/__init__.py
-
1setup/web_action_conditionable/odoo_addons/web_action_conditionable
-
0setup/web_action_conditionable/setup.py
-
1setup/web_advanced_search/odoo/addons/web_advanced_search
-
1setup/web_advanced_search_x2x/odoo_addons/__init__.py
-
1setup/web_advanced_search_x2x/odoo_addons/web_advanced_search_x2x
-
0setup/web_advanced_search_x2x/setup.py
-
1setup/web_company_color/odoo/addons/web_company_color
-
1setup/web_dashboard_tile/odoo_addons/__init__.py
-
1setup/web_dashboard_tile/odoo_addons/web_dashboard_tile
-
0setup/web_dashboard_tile/setup.py
-
1setup/web_decimal_numpad_dot/odoo/addons/web_decimal_numpad_dot
-
1setup/web_decimal_numpad_dot/odoo_addons/__init__.py
-
1setup/web_decimal_numpad_dot/odoo_addons/web_decimal_numpad_dot
-
1setup/web_dialog_size/odoo/addons/web_dialog_size
-
1setup/web_dialog_size/odoo_addons/__init__.py
-
1setup/web_dialog_size/odoo_addons/web_dialog_size
-
1setup/web_disable_export_group/odoo/addons/web_disable_export_group
-
1setup/web_duplicate_visibility/odoo_addons/__init__.py
-
1setup/web_duplicate_visibility/odoo_addons/web_duplicate_visibility
-
0setup/web_duplicate_visibility/setup.py
-
1setup/web_easy_switch_company/odoo_addons/__init__.py
-
1setup/web_easy_switch_company/odoo_addons/web_easy_switch_company
-
0setup/web_easy_switch_company/setup.py
-
1setup/web_edit_user_filter/odoo/addons/web_edit_user_filter
-
1setup/web_editor_background_color/odoo/addons/web_editor_background_color
@ -0,0 +1,69 @@ |
|||||
|
.. 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/9.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 9.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. |
@ -0,0 +1,7 @@ |
|||||
|
# -*- 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 |
@ -0,0 +1,30 @@ |
|||||
|
# -*- 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': '9.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': [ |
||||
|
'base', |
||||
|
'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, |
||||
|
} |
@ -0,0 +1,5 @@ |
|||||
|
# -*- 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 |
@ -0,0 +1,15 @@ |
|||||
|
# -*- 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 openerp.http as http |
||||
|
from openerp.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) |
@ -0,0 +1,9 @@ |
|||||
|
<?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> |
@ -0,0 +1,25 @@ |
|||||
|
<?xml version='1.0' encoding='UTF-8' ?> |
||||
|
<openerp> |
||||
|
|
||||
|
<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> |
||||
|
|
||||
|
</openerp> |
@ -0,0 +1,244 @@ |
|||||
|
# 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 9.0c\n" |
||||
|
"Report-Msgid-Bugs-To: \n" |
||||
|
"POT-Creation-Date: 2017-05-24 00:42+0000\n" |
||||
|
"PO-Revision-Date: 2017-05-24 00:42+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:302 |
||||
|
#: 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:295 |
||||
|
#, 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:332 |
||||
|
#, 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 "" |
@ -0,0 +1,244 @@ |
|||||
|
# Translation of Odoo Server. |
||||
|
# This file contains the translation of the following modules: |
||||
|
# * help_online |
||||
|
# |
||||
|
# Translators: |
||||
|
# Marc Tormo i Bochaca <mtbochaca@gmail.com>, 2017 |
||||
|
msgid "" |
||||
|
msgstr "" |
||||
|
"Project-Id-Version: Odoo Server 9.0c\n" |
||||
|
"Report-Msgid-Bugs-To: \n" |
||||
|
"POT-Creation-Date: 2017-06-03 10:59+0000\n" |
||||
|
"PO-Revision-Date: 2017-06-03 10:59+0000\n" |
||||
|
"Last-Translator: Marc Tormo i Bochaca <mtbochaca@gmail.com>, 2017\n" |
||||
|
"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n" |
||||
|
"MIME-Version: 1.0\n" |
||||
|
"Content-Type: text/plain; charset=UTF-8\n" |
||||
|
"Content-Transfer-Encoding: \n" |
||||
|
"Language: ca\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 "" |
||||
|
|
||||
|
#. 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 "Creat per" |
||||
|
|
||||
|
#. 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 "Creat a " |
||||
|
|
||||
|
#. 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 "Nom a mostrar" |
||||
|
|
||||
|
#. 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:302 |
||||
|
#: 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 "" |
||||
|
|
||||
|
#. 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 "Última modificació a" |
||||
|
|
||||
|
#. 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 "Última actualització per" |
||||
|
|
||||
|
#. 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 "Última actualització a " |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: code:addons/help_online/wizards/export_help_wizard.py:295 |
||||
|
#, 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:332 |
||||
|
#, 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 "" |
@ -0,0 +1,253 @@ |
|||||
|
# Translation of Odoo Server. |
||||
|
# This file contains the translation of the following modules: |
||||
|
# * help_online |
||||
|
# |
||||
|
# Translators: |
||||
|
# OCA Transbot <transbot@odoo-community.org>, 2017 |
||||
|
# Rudolf Schnapka <rs@techno-flex.de>, 2018 |
||||
|
msgid "" |
||||
|
msgstr "" |
||||
|
"Project-Id-Version: Odoo Server 9.0c\n" |
||||
|
"Report-Msgid-Bugs-To: \n" |
||||
|
"POT-Creation-Date: 2017-12-28 03:58+0000\n" |
||||
|
"PO-Revision-Date: 2017-12-28 03:58+0000\n" |
||||
|
"Last-Translator: Rudolf Schnapka <rs@techno-flex.de>, 2018\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 "Hilfsseite anlegen für %s" |
||||
|
|
||||
|
#. 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 "Angelegt durch" |
||||
|
|
||||
|
#. 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 "Angelegt 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 "Anzeigebezeichnung" |
||||
|
|
||||
|
#. 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:302 |
||||
|
#: model:ir.actions.act_window,name:help_online.action_export_help_wizard |
||||
|
#, python-format |
||||
|
msgid "Export Help" |
||||
|
msgstr "Exporthilfe" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:ir.ui.view,arch_db:help_online.export_help_wizard_view |
||||
|
msgid "Export Help Data" |
||||
|
msgstr "Exporthilfe-Daten" |
||||
|
|
||||
|
#. 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 "Exporthilfe Online" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:ir.model.fields,field_description:help_online.field_export_help_wizard_export_filename |
||||
|
msgid "Export XML Filename" |
||||
|
msgstr "Export XML-Dateiname" |
||||
|
|
||||
|
#. 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 "Hilfe Online" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: code:addons/help_online/models/help_online.py:40 |
||||
|
#, python-format |
||||
|
msgid "Help on %s" |
||||
|
msgstr "Hilfe zu %s" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:res.groups,name:help_online.help_online_group_reader |
||||
|
msgid "Help reader" |
||||
|
msgstr "Hilfeanzeige" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:res.groups,name:help_online.help_online_group_writer |
||||
|
msgid "Help writer" |
||||
|
msgstr "Hilfeeditor" |
||||
|
|
||||
|
#. 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 "Importhilfe" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:ir.ui.view,arch_db:help_online.import_help_wizard_view |
||||
|
msgid "Import Help Data" |
||||
|
msgstr "Importhilfe-Daten" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:ir.ui.menu,name:help_online.menu_help_import |
||||
|
msgid "Import Help Online" |
||||
|
msgstr "Importhilfe Online" |
||||
|
|
||||
|
#. 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 "Zuletzt geändert am" |
||||
|
|
||||
|
#. 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 "Zuletzt geändert durch" |
||||
|
|
||||
|
#. 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 "Zuletzt aktualisiert am" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: code:addons/help_online/wizards/export_help_wizard.py:295 |
||||
|
#, python-format |
||||
|
msgid "No data to export !" |
||||
|
msgstr "Keine Daten zu exportieren." |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: code:addons/help_online/models/help_online.py:17 |
||||
|
#, python-format |
||||
|
msgid "No page prefix parameter specified !" |
||||
|
msgstr "Kein Seiten-Präfix festgelegt." |
||||
|
|
||||
|
#. 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 "" |
||||
|
"Nur Bilder aus ir.attachment zugelassen beim Exportieren von Hilfeseiten" |
||||
|
|
||||
|
#. 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 "Seite existiert nicht, möchten Sie diese anlegen?" |
||||
|
|
||||
|
#. 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 "" |
||||
|
"Dieser Assistent ermöglich den Export aller QWeb-Formulare\n" |
||||
|
" mit Bezug auf Online-Hilfe. Das Ergebnis ist eine Odoo-\n" |
||||
|
" XML-Datendatei." |
||||
|
|
||||
|
#. 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 "" |
||||
|
"Dieser Assistent ermöglich den Import von QWeb-Formularen\n" |
||||
|
" mit Bezug auf Online-Hilfe. Erforderlich ist hierzu eine Odoo-\n" |
||||
|
" XML-Datendatei." |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: code:addons/help_online/wizards/export_help_wizard.py:332 |
||||
|
#, python-format |
||||
|
msgid "Unable to write autobackup file in given directory: %s" |
||||
|
msgstr "" |
||||
|
"Unfähig eine Autobackupdatei im angegebenen Verzeichnis zu erstellen: %s" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:ir.ui.view,arch_db:help_online.view_view_search |
||||
|
msgid "Website Page" |
||||
|
msgstr "Webseite" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:ir.ui.view,arch_db:help_online.view_view_form |
||||
|
msgid "Website Page?" |
||||
|
msgstr "Webseite?" |
||||
|
|
||||
|
#. 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 "Webseiten" |
||||
|
|
||||
|
#. 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" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:ir.model,name:help_online.model_import_help_wizard |
||||
|
msgid "import.help.wizard" |
||||
|
msgstr "import.help.wizard" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:ir.model,name:help_online.model_ir_model_data |
||||
|
msgid "ir.model.data" |
||||
|
msgstr "ir.model.data" |
||||
|
|
||||
|
#. 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 "oder" |
@ -0,0 +1,244 @@ |
|||||
|
# Translation of Odoo Server. |
||||
|
# This file contains the translation of the following modules: |
||||
|
# * help_online |
||||
|
# |
||||
|
# Translators: |
||||
|
# Pedro M. Baeza <pedro.baeza@gmail.com>, 2017 |
||||
|
msgid "" |
||||
|
msgstr "" |
||||
|
"Project-Id-Version: Odoo Server 9.0c\n" |
||||
|
"Report-Msgid-Bugs-To: \n" |
||||
|
"POT-Creation-Date: 2017-01-14 02:26+0000\n" |
||||
|
"PO-Revision-Date: 2017-01-14 02:26+0000\n" |
||||
|
"Last-Translator: Pedro M. Baeza <pedro.baeza@gmail.com>, 2017\n" |
||||
|
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" |
||||
|
"MIME-Version: 1.0\n" |
||||
|
"Content-Type: text/plain; charset=UTF-8\n" |
||||
|
"Content-Transfer-Encoding: \n" |
||||
|
"Language: es\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 "Cerrar" |
||||
|
|
||||
|
#. 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:302 |
||||
|
#: 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:295 |
||||
|
#, 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:332 |
||||
|
#, 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 "" |
@ -0,0 +1,244 @@ |
|||||
|
# 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 9.0c\n" |
||||
|
"Report-Msgid-Bugs-To: \n" |
||||
|
"POT-Creation-Date: 2017-05-24 00:42+0000\n" |
||||
|
"PO-Revision-Date: 2017-05-24 00:42+0000\n" |
||||
|
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n" |
||||
|
"Language-Team: Basque (https://www.transifex.com/oca/teams/23907/eu/)\n" |
||||
|
"MIME-Version: 1.0\n" |
||||
|
"Content-Type: text/plain; charset=UTF-8\n" |
||||
|
"Content-Transfer-Encoding: \n" |
||||
|
"Language: eu\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 "Itxi" |
||||
|
|
||||
|
#. 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:302 |
||||
|
#: 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:295 |
||||
|
#, 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:332 |
||||
|
#, 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 "" |
@ -0,0 +1,244 @@ |
|||||
|
# 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 9.0c\n" |
||||
|
"Report-Msgid-Bugs-To: \n" |
||||
|
"POT-Creation-Date: 2017-05-24 00:42+0000\n" |
||||
|
"PO-Revision-Date: 2017-05-24 00:42+0000\n" |
||||
|
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n" |
||||
|
"Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n" |
||||
|
"MIME-Version: 1.0\n" |
||||
|
"Content-Type: text/plain; charset=UTF-8\n" |
||||
|
"Content-Transfer-Encoding: \n" |
||||
|
"Language: fi\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 "Sulje" |
||||
|
|
||||
|
#. 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:302 |
||||
|
#: 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:295 |
||||
|
#, 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:332 |
||||
|
#, 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 "" |
@ -0,0 +1,253 @@ |
|||||
|
# Translation of Odoo Server. |
||||
|
# This file contains the translation of the following modules: |
||||
|
# * help_online |
||||
|
# |
||||
|
# Translators: |
||||
|
# OCA Transbot <transbot@odoo-community.org>, 2017 |
||||
|
# leemannd <denis.leemann@camptocamp.com>, 2017 |
||||
|
msgid "" |
||||
|
msgstr "" |
||||
|
"Project-Id-Version: Odoo Server 9.0c\n" |
||||
|
"Report-Msgid-Bugs-To: \n" |
||||
|
"POT-Creation-Date: 2017-01-14 02:26+0000\n" |
||||
|
"PO-Revision-Date: 2017-01-14 02:26+0000\n" |
||||
|
"Last-Translator: leemannd <denis.leemann@camptocamp.com>, 2017\n" |
||||
|
"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" |
||||
|
"MIME-Version: 1.0\n" |
||||
|
"Content-Type: text/plain; charset=UTF-8\n" |
||||
|
"Content-Transfer-Encoding: \n" |
||||
|
"Language: fr\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 "Fermer" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: code:addons/help_online/models/help_online.py:45 |
||||
|
#, python-format |
||||
|
msgid "Create Help page for %s" |
||||
|
msgstr "Créer la page d'aide pour %s" |
||||
|
|
||||
|
#. 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 "Créé par" |
||||
|
|
||||
|
#. 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 "Créé le" |
||||
|
|
||||
|
#. 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 "Nom affiché" |
||||
|
|
||||
|
#. 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:302 |
||||
|
#: model:ir.actions.act_window,name:help_online.action_export_help_wizard |
||||
|
#, python-format |
||||
|
msgid "Export Help" |
||||
|
msgstr "Export des pages d'aide" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:ir.ui.view,arch_db:help_online.export_help_wizard_view |
||||
|
msgid "Export Help Data" |
||||
|
msgstr "Export des pages d'aide" |
||||
|
|
||||
|
#. 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 "Export des pages d'aide" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:ir.model.fields,field_description:help_online.field_export_help_wizard_export_filename |
||||
|
msgid "Export XML Filename" |
||||
|
msgstr "Fichier XML" |
||||
|
|
||||
|
#. 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 "Aide en ligne" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: code:addons/help_online/models/help_online.py:40 |
||||
|
#, python-format |
||||
|
msgid "Help on %s" |
||||
|
msgstr "Aide sur %s" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:res.groups,name:help_online.help_online_group_reader |
||||
|
msgid "Help reader" |
||||
|
msgstr "Aide: lecteur" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:res.groups,name:help_online.help_online_group_writer |
||||
|
msgid "Help writer" |
||||
|
msgstr "Aide: rédacteur" |
||||
|
|
||||
|
#. 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 "Import des pages d'aide" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:ir.ui.view,arch_db:help_online.import_help_wizard_view |
||||
|
msgid "Import Help Data" |
||||
|
msgstr "Import des pages d'aide" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:ir.ui.menu,name:help_online.menu_help_import |
||||
|
msgid "Import Help Online" |
||||
|
msgstr "Import des pages d'aide" |
||||
|
|
||||
|
#. 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 "Dernière modification le" |
||||
|
|
||||
|
#. 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 "Mis à jour par" |
||||
|
|
||||
|
#. 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 "Mis à jour le" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: code:addons/help_online/wizards/export_help_wizard.py:295 |
||||
|
#, python-format |
||||
|
msgid "No data to export !" |
||||
|
msgstr "Aucune page à exporter !" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: code:addons/help_online/models/help_online.py:17 |
||||
|
#, python-format |
||||
|
msgid "No page prefix parameter specified !" |
||||
|
msgstr "Le paramètre spécifiant le préfixe des pages n'est pas configuré !" |
||||
|
|
||||
|
#. 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 "" |
||||
|
"Seules les images provenant de ir.attachement sont supportées lors de " |
||||
|
"l'export de pages d'aide" |
||||
|
|
||||
|
#. 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 "La page n'existe pas. Voulez-vous la créer?" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:ir.model.fields,field_description:help_online.field_import_help_wizard_source_file |
||||
|
msgid "Source File" |
||||
|
msgstr "Fichier de données" |
||||
|
|
||||
|
#. 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 "" |
||||
|
"Cette fenêtre de l'assistant permet l'export de toutes les vues QWeb\n" |
||||
|
"liées à l'aide en ligne. Le résultat sera sous la forme d'un fichier de données xml." |
||||
|
|
||||
|
#. 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 "" |
||||
|
"Cette fenêtre de l'assistant permet l'import de toutes les vues QWeb\n" |
||||
|
"liées à l'aide en ligne. Le fichier doit être un fichier \n" |
||||
|
"de donnés au format xml" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: code:addons/help_online/wizards/export_help_wizard.py:332 |
||||
|
#, python-format |
||||
|
msgid "Unable to write autobackup file in given directory: %s" |
||||
|
msgstr "" |
||||
|
"Impossible d'écrire le fichier de sauvegarde dans le répertoire spécifié: %s" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:ir.ui.view,arch_db:help_online.view_view_search |
||||
|
msgid "Website Page" |
||||
|
msgstr "Page du site" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:ir.ui.view,arch_db:help_online.view_view_form |
||||
|
msgid "Website Page?" |
||||
|
msgstr "Page du site?" |
||||
|
|
||||
|
#. 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 "Pages du site" |
||||
|
|
||||
|
#. 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 "" |
||||
|
|
||||
|
#. 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 "ou" |
@ -0,0 +1,244 @@ |
|||||
|
# 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 9.0c\n" |
||||
|
"Report-Msgid-Bugs-To: \n" |
||||
|
"POT-Creation-Date: 2017-05-24 00:42+0000\n" |
||||
|
"PO-Revision-Date: 2017-05-24 00:42+0000\n" |
||||
|
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n" |
||||
|
"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" |
||||
|
"MIME-Version: 1.0\n" |
||||
|
"Content-Type: text/plain; charset=UTF-8\n" |
||||
|
"Content-Transfer-Encoding: \n" |
||||
|
"Language: hr\n" |
||||
|
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\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 "Zatvori" |
||||
|
|
||||
|
#. 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:302 |
||||
|
#: 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:295 |
||||
|
#, 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:332 |
||||
|
#, 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 "" |
@ -0,0 +1,244 @@ |
|||||
|
# 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 9.0c\n" |
||||
|
"Report-Msgid-Bugs-To: \n" |
||||
|
"POT-Creation-Date: 2017-05-24 00:42+0000\n" |
||||
|
"PO-Revision-Date: 2017-05-24 00:42+0000\n" |
||||
|
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n" |
||||
|
"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" |
||||
|
"MIME-Version: 1.0\n" |
||||
|
"Content-Type: text/plain; charset=UTF-8\n" |
||||
|
"Content-Transfer-Encoding: \n" |
||||
|
"Language: it\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 "Chiudi" |
||||
|
|
||||
|
#. 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:302 |
||||
|
#: 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:295 |
||||
|
#, 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:332 |
||||
|
#, 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 "" |
@ -0,0 +1,244 @@ |
|||||
|
# 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 9.0c\n" |
||||
|
"Report-Msgid-Bugs-To: \n" |
||||
|
"POT-Creation-Date: 2017-05-24 00:42+0000\n" |
||||
|
"PO-Revision-Date: 2017-05-24 00:42+0000\n" |
||||
|
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n" |
||||
|
"Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n" |
||||
|
"MIME-Version: 1.0\n" |
||||
|
"Content-Type: text/plain; charset=UTF-8\n" |
||||
|
"Content-Transfer-Encoding: \n" |
||||
|
"Language: nl\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 "Sluiten" |
||||
|
|
||||
|
#. 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:302 |
||||
|
#: 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:295 |
||||
|
#, 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:332 |
||||
|
#, 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 "" |
@ -0,0 +1,255 @@ |
|||||
|
# Translation of Odoo Server. |
||||
|
# This file contains the translation of the following modules: |
||||
|
# * help_online |
||||
|
# |
||||
|
# Translators: |
||||
|
# OCA Transbot <transbot@odoo-community.org>, 2017 |
||||
|
# Armando Vulcano Junior <vulcano@uol.com.br>, 2017 |
||||
|
msgid "" |
||||
|
msgstr "" |
||||
|
"Project-Id-Version: Odoo Server 9.0c\n" |
||||
|
"Report-Msgid-Bugs-To: \n" |
||||
|
"POT-Creation-Date: 2017-12-28 03:58+0000\n" |
||||
|
"PO-Revision-Date: 2017-12-28 03:58+0000\n" |
||||
|
"Last-Translator: Armando Vulcano Junior <vulcano@uol.com.br>, 2017\n" |
||||
|
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/pt_BR/)\n" |
||||
|
"MIME-Version: 1.0\n" |
||||
|
"Content-Type: text/plain; charset=UTF-8\n" |
||||
|
"Content-Transfer-Encoding: \n" |
||||
|
"Language: pt_BR\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 "Fechar" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: code:addons/help_online/models/help_online.py:45 |
||||
|
#, python-format |
||||
|
msgid "Create Help page for %s" |
||||
|
msgstr "Criar página de Ajuda para %s" |
||||
|
|
||||
|
#. 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 "Criado por" |
||||
|
|
||||
|
#. 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 "Criado em" |
||||
|
|
||||
|
#. 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 "Mostrar Nome" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:ir.ui.view,arch_db:help_online.export_help_wizard_view |
||||
|
msgid "Export" |
||||
|
msgstr "Exportar" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: code:addons/help_online/wizards/export_help_wizard.py:302 |
||||
|
#: model:ir.actions.act_window,name:help_online.action_export_help_wizard |
||||
|
#, python-format |
||||
|
msgid "Export Help" |
||||
|
msgstr "Exportar Ajuda" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:ir.ui.view,arch_db:help_online.export_help_wizard_view |
||||
|
msgid "Export Help Data" |
||||
|
msgstr "Exportar Dados Ajuda" |
||||
|
|
||||
|
#. 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 "Exportar Ajuda Online" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:ir.model.fields,field_description:help_online.field_export_help_wizard_export_filename |
||||
|
msgid "Export XML Filename" |
||||
|
msgstr "Exportar arquivo XML" |
||||
|
|
||||
|
#. 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 "Ajuda Online" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: code:addons/help_online/models/help_online.py:40 |
||||
|
#, python-format |
||||
|
msgid "Help on %s" |
||||
|
msgstr "Ajuda em %s" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:res.groups,name:help_online.help_online_group_reader |
||||
|
msgid "Help reader" |
||||
|
msgstr "Leitor Ajuda" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:res.groups,name:help_online.help_online_group_writer |
||||
|
msgid "Help writer" |
||||
|
msgstr "Gravador Ajuda" |
||||
|
|
||||
|
#. 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 "Importar" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:ir.actions.act_window,name:help_online.action_import_help_wizard |
||||
|
msgid "Import Help" |
||||
|
msgstr "Importar Ajuda" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:ir.ui.view,arch_db:help_online.import_help_wizard_view |
||||
|
msgid "Import Help Data" |
||||
|
msgstr "Importar Dados Ajuda" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:ir.ui.menu,name:help_online.menu_help_import |
||||
|
msgid "Import Help Online" |
||||
|
msgstr "Importar Ajuda Online" |
||||
|
|
||||
|
#. 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 "Última Modificação em" |
||||
|
|
||||
|
#. 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 "Última Atualização por" |
||||
|
|
||||
|
#. 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 "Última Atualização em" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: code:addons/help_online/wizards/export_help_wizard.py:295 |
||||
|
#, python-format |
||||
|
msgid "No data to export !" |
||||
|
msgstr "Sem dados para exportar !" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: code:addons/help_online/models/help_online.py:17 |
||||
|
#, python-format |
||||
|
msgid "No page prefix parameter specified !" |
||||
|
msgstr "Nenhum parâmetro de prefixo de página especificado !" |
||||
|
|
||||
|
#. 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 "" |
||||
|
"Somente as imagens do ir.attachment são suportadas ao exportar páginas de " |
||||
|
"ajuda" |
||||
|
|
||||
|
#. 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 "Página não existe. Deseja criar ?" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:ir.model.fields,field_description:help_online.field_import_help_wizard_source_file |
||||
|
msgid "Source File" |
||||
|
msgstr "Arquivo Fonte" |
||||
|
|
||||
|
#. 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 "" |
||||
|
"Este assistente permite exportar todas as visualizações do QWeb\n" |
||||
|
" relacionadas com a ajuda online. O resultado será um arquivo xml\n" |
||||
|
" de dados Odoo." |
||||
|
|
||||
|
#. 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 "" |
||||
|
"Este assistente permite importar todas as visualizações do QWeb\n" |
||||
|
" relacionadas com a ajuda on-line. O formato do arquivo requerido é\n" |
||||
|
"arquivo xml de dados Odoo." |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: code:addons/help_online/wizards/export_help_wizard.py:332 |
||||
|
#, python-format |
||||
|
msgid "Unable to write autobackup file in given directory: %s" |
||||
|
msgstr "" |
||||
|
"Não foi possível gravar arquivo de backup automático no seguinte " |
||||
|
"diretório:%s" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:ir.ui.view,arch_db:help_online.view_view_search |
||||
|
msgid "Website Page" |
||||
|
msgstr "Página do Site" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:ir.ui.view,arch_db:help_online.view_view_form |
||||
|
msgid "Website Page?" |
||||
|
msgstr "Página do Site ?" |
||||
|
|
||||
|
#. 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 "Páginas do Site" |
||||
|
|
||||
|
#. 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 "ajuda.online" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:ir.model,name:help_online.model_import_help_wizard |
||||
|
msgid "import.help.wizard" |
||||
|
msgstr "assistente.importação.ajuda" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:ir.model,name:help_online.model_ir_model_data |
||||
|
msgid "ir.model.data" |
||||
|
msgstr "ir.dados.modelo" |
||||
|
|
||||
|
#. 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 "ou" |
@ -0,0 +1,244 @@ |
|||||
|
# 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 9.0c\n" |
||||
|
"Report-Msgid-Bugs-To: \n" |
||||
|
"POT-Creation-Date: 2017-01-14 02:26+0000\n" |
||||
|
"PO-Revision-Date: 2017-01-14 02:26+0000\n" |
||||
|
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n" |
||||
|
"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" |
||||
|
"MIME-Version: 1.0\n" |
||||
|
"Content-Type: text/plain; charset=UTF-8\n" |
||||
|
"Content-Transfer-Encoding: \n" |
||||
|
"Language: sl\n" |
||||
|
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\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 "Zaključi" |
||||
|
|
||||
|
#. 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 "Ustvaril" |
||||
|
|
||||
|
#. 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 "Ustvarjeno" |
||||
|
|
||||
|
#. 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 "Izvoz" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: code:addons/help_online/wizards/export_help_wizard.py:302 |
||||
|
#: model:ir.actions.act_window,name:help_online.action_export_help_wizard |
||||
|
#, python-format |
||||
|
msgid "Export Help" |
||||
|
msgstr "Izvoz navodil" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:ir.ui.view,arch_db:help_online.export_help_wizard_view |
||||
|
msgid "Export Help Data" |
||||
|
msgstr "Izvoz podatkov spletnih navodil" |
||||
|
|
||||
|
#. 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 "Izvozi spletna navodila" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:ir.model.fields,field_description:help_online.field_export_help_wizard_export_filename |
||||
|
msgid "Export XML Filename" |
||||
|
msgstr "Naziv izvožene XML datoteke" |
||||
|
|
||||
|
#. 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 "Spletna navodila" |
||||
|
|
||||
|
#. 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 "Bralec navodil" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:res.groups,name:help_online.help_online_group_writer |
||||
|
msgid "Help writer" |
||||
|
msgstr "Avtor navodil" |
||||
|
|
||||
|
#. 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 "Uvoz" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:ir.actions.act_window,name:help_online.action_import_help_wizard |
||||
|
msgid "Import Help" |
||||
|
msgstr "Uvoz navodil" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:ir.ui.view,arch_db:help_online.import_help_wizard_view |
||||
|
msgid "Import Help Data" |
||||
|
msgstr "Uvoz podatkov navodil" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:ir.ui.menu,name:help_online.menu_help_import |
||||
|
msgid "Import Help Online" |
||||
|
msgstr "Uvoz spletnih navodil" |
||||
|
|
||||
|
#. 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 "Zadnjič posodobil" |
||||
|
|
||||
|
#. 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 "Zadnjič posodobljeno" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: code:addons/help_online/wizards/export_help_wizard.py:295 |
||||
|
#, 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 "Izvorna datoteka" |
||||
|
|
||||
|
#. 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:332 |
||||
|
#, 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 "Spletna stran" |
||||
|
|
||||
|
#. module: help_online |
||||
|
#: model:ir.ui.view,arch_db:help_online.view_view_form |
||||
|
msgid "Website Page?" |
||||
|
msgstr "Spletna stran?" |
||||
|
|
||||
|
#. 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 "Spletne strani" |
||||
|
|
||||
|
#. 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 "" |
||||
|
|
||||
|
#. 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 "ali" |
@ -0,0 +1,244 @@ |
|||||
|
# 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 9.0c\n" |
||||
|
"Report-Msgid-Bugs-To: \n" |
||||
|
"POT-Creation-Date: 2017-05-24 00:42+0000\n" |
||||
|
"PO-Revision-Date: 2017-05-24 00:42+0000\n" |
||||
|
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n" |
||||
|
"Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/tr/)\n" |
||||
|
"MIME-Version: 1.0\n" |
||||
|
"Content-Type: text/plain; charset=UTF-8\n" |
||||
|
"Content-Transfer-Encoding: \n" |
||||
|
"Language: tr\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 "Kapat" |
||||
|
|
||||
|
#. 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:302 |
||||
|
#: 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:295 |
||||
|
#, 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:332 |
||||
|
#, 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 "" |
@ -0,0 +1,6 @@ |
|||||
|
# -*- 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 |
||||
|
from . import ir_model |
@ -0,0 +1,50 @@ |
|||||
|
# -*- 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 openerp import models, exceptions |
||||
|
from openerp.tools.translate import _ |
||||
|
|
||||
|
|
||||
|
class HelpOnline(models.TransientModel): |
||||
|
_name = 'help.online' |
||||
|
|
||||
|
def _get_view_name(self, model, view_type, domain=None, context=None): |
||||
|
parameter_model = self.env['ir.config_parameter'] |
||||
|
page_prefix = parameter_model.get_param('help_online_page_prefix', |
||||
|
False) |
||||
|
if not page_prefix: |
||||
|
raise exceptions.Warning(_('No page prefix parameter specified !')) |
||||
|
name = '%s-%s' % (page_prefix, model.replace('.', '-')) |
||||
|
return name |
||||
|
|
||||
|
def get_existing_pages(self, name, limit=None): |
||||
|
website = self.env['website'] |
||||
|
return website.search_pages(needle=name, limit=limit) |
||||
|
|
||||
|
def get_page_url(self, model, view_type, domain=None, context=None): |
||||
|
user_model = self.env['res.users'] |
||||
|
if not user_model.has_group('help_online.help_online_group_reader'): |
||||
|
return {} |
||||
|
ir_model = self.env['ir.model'] |
||||
|
description = self.env[model]._description |
||||
|
res = ir_model.name_search(model, operator='=') |
||||
|
if res: |
||||
|
description = res[0][1] |
||||
|
name = self._get_view_name(model, view_type, domain, context) |
||||
|
pages = self.get_existing_pages(name, limit=1) |
||||
|
if pages: |
||||
|
url = pages[0]['loc'] |
||||
|
if view_type: |
||||
|
url = url + '#' + view_type |
||||
|
title = _('Help on %s') % description |
||||
|
return {'url': url, |
||||
|
'title': title, |
||||
|
'exists': True} |
||||
|
elif user_model.has_group('help_online.help_online_group_writer'): |
||||
|
title = _('Create Help page for %s') % description |
||||
|
return {'url': 'website/add/%s' % name, |
||||
|
'title': title, |
||||
|
'exists': False} |
||||
|
else: |
||||
|
return {} |
@ -0,0 +1,57 @@ |
|||||
|
# -*- 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 openerp import models, api |
||||
|
|
||||
|
from lxml import etree as ET |
||||
|
|
||||
|
|
||||
|
class IrModelData(models.Model): |
||||
|
_inherit = 'ir.model.data' |
||||
|
|
||||
|
@api.model |
||||
|
def _update(self, model, module, values, xml_id=False, store=True, |
||||
|
noupdate=False, mode='init', res_id=False): |
||||
|
|
||||
|
if model == 'ir.ui.view': |
||||
|
parameter_model = self.env['ir.config_parameter'] |
||||
|
page_prefix = parameter_model.get_param('help_online_page_prefix', |
||||
|
False) |
||||
|
if page_prefix and xml_id.startswith('website.%s' % page_prefix): |
||||
|
xml_str = self.manageImageReferences(values['arch'], module) |
||||
|
values['arch'] = xml_str |
||||
|
|
||||
|
return super(IrModelData, self)._update(model, |
||||
|
module, |
||||
|
values, |
||||
|
xml_id=xml_id, |
||||
|
store=store, |
||||
|
noupdate=noupdate, |
||||
|
mode=mode, |
||||
|
res_id=res_id) |
||||
|
|
||||
|
def manageImageReferences(self, xml_str, module): |
||||
|
parser = ET.XMLParser(remove_blank_text=True) |
||||
|
root = ET.XML(xml_str, parser=parser) |
||||
|
img_model = 'ir.attachment' |
||||
|
for img_elem in root.iter('img'): |
||||
|
if img_model in img_elem.get('src'): |
||||
|
img_src = img_elem.get('src') |
||||
|
try: |
||||
|
if '/ir.attachment/' in img_src: |
||||
|
fragments = img_src.split('/ir.attachment/') |
||||
|
xml_id = fragments[1].split('|')[0] |
||||
|
img_src = img_src.replace("|", "_") |
||||
|
else: |
||||
|
id_pos = img_src.index('id=') + 3 |
||||
|
xml_id = img_elem.get('src')[id_pos:] |
||||
|
|
||||
|
img_id = self.get_object_reference(module, |
||||
|
xml_id) |
||||
|
|
||||
|
img_elem.attrib['src'] = img_src.replace(xml_id, |
||||
|
str(img_id[1])) |
||||
|
except: |
||||
|
continue |
||||
|
return ET.tostring(root, encoding='utf-8', xml_declaration=False) |
@ -0,0 +1,16 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<record id="help_online_group_reader" model="res.groups"> |
||||
|
<field name="name">Help reader</field> |
||||
|
<field name="category_id" ref="base.module_category_documentation"/> |
||||
|
</record> |
||||
|
<record id="help_online_group_writer" model="res.groups"> |
||||
|
<field name="name">Help writer</field> |
||||
|
<field name="category_id" ref="base.module_category_documentation"/> |
||||
|
<field name="implied_ids" eval="[ |
||||
|
(4, ref('help_online_group_reader')), |
||||
|
(4, ref('base.group_website_publisher')), |
||||
|
]"/> |
||||
|
<field name="users" eval="[(4, ref('base.user_root'))]"/> |
||||
|
</record> |
||||
|
</odoo> |
@ -0,0 +1,30 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo noupdate="1"> |
||||
|
<record id="online_help_confidential_rule" model="ir.rule"> |
||||
|
<field name="name">Online Help Hidden by Default</field> |
||||
|
<field name="model_id" ref="base.model_ir_ui_view"/> |
||||
|
<field name="domain_force">[ |
||||
|
'|', |
||||
|
('type', '!=', 'qweb'), |
||||
|
('name','not like','help-%'), |
||||
|
]</field> |
||||
|
<field name="groups" eval="[(6, 0, [ |
||||
|
ref('base.group_portal'), |
||||
|
ref('base.group_public'), |
||||
|
ref('base.group_user'), |
||||
|
])]"/> |
||||
|
<field name="perm_read" eval="1"/><field name="perm_write" eval="0"/> |
||||
|
<field name="perm_create" eval="0"/><field name="perm_unlink" eval="0"/> |
||||
|
</record> |
||||
|
|
||||
|
<record id="online_help_reader_rule" model="ir.rule"> |
||||
|
<field name="name">Online Help for Help Reader</field> |
||||
|
<field name="model_id" ref="base.model_ir_ui_view"/> |
||||
|
<field name="domain_force">[(1, '=', 1)]</field> |
||||
|
<field name="groups" eval="[(6, 0, [ |
||||
|
ref('help_online.help_online_group_reader'), |
||||
|
])]"/> |
||||
|
<field name="perm_read" eval="1"/><field name="perm_write" eval="0"/> |
||||
|
<field name="perm_create" eval="0"/><field name="perm_unlink" eval="0"/> |
||||
|
</record> |
||||
|
</odoo> |
After Width: 971 | Height: 541 | Size: 53 KiB |
After Width: 971 | Height: 601 | Size: 86 KiB |
After Width: 225 | Height: 218 | Size: 79 KiB |
@ -0,0 +1,17 @@ |
|||||
|
<div class="document"> |
||||
|
<div class="section" id="help-online"> |
||||
|
<h1>Help Online</h1> |
||||
|
<p>This module allows the creation of an online help available from the lists and forms in Odoo.</p> |
||||
|
<p>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'.</p> |
||||
|
<img alt="help_online_view_page.png" src="help_online_view_page.png" width="80%" height="80%"/> |
||||
|
<p>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.</p> |
||||
|
<img alt="help_online_create_page.png" src="help_online_create_page.png" width="80%" height="80%"/> |
||||
|
<p>The help pages are created and managed via the website Module.</p> |
||||
|
<br/> |
||||
|
<p>If you want to export your work, you simply have to use the export wizard through the settings menu.</p> |
||||
|
</div> |
||||
|
</div> |
@ -0,0 +1,3 @@ |
|||||
|
a.o_help_online_not_found { |
||||
|
background-color: #df3f3f; |
||||
|
} |
After Width: 169 | Height: 180 | Size: 42 KiB |
@ -0,0 +1,86 @@ |
|||||
|
odoo.define('oca.HelpOnline', function (require) { |
||||
|
"use strict"; |
||||
|
|
||||
|
var core = require('web.core'); |
||||
|
var QWeb = core.qweb; |
||||
|
var _t = core._t; |
||||
|
var ViewManager = require('web.ViewManager'); |
||||
|
var ControlPanel = require('web.ControlPanel'); |
||||
|
var Dialog = require('web.Dialog'); |
||||
|
|
||||
|
ControlPanel.include({ |
||||
|
start: function(){ |
||||
|
this._super.apply(this, arguments); |
||||
|
this._toggle_visibility(true); |
||||
|
this.nodes = _.extend( |
||||
|
this.nodes, |
||||
|
{$help_online_buttons: this.$('.o_help_online_buttons')}); |
||||
|
this._toggle_visibility(false); |
||||
|
}, |
||||
|
}); |
||||
|
|
||||
|
ViewManager.include({ |
||||
|
|
||||
|
/** |
||||
|
* This function render the help button with the informations received |
||||
|
* from the call to the method build_url from the help_online controller |
||||
|
*/ |
||||
|
render_help_button: function(url_info){ |
||||
|
var $helpButton = $(QWeb.render("HelpOnline.Button", {'view_manager':this, 'url_info': url_info})); |
||||
|
$helpButton.tooltip(); |
||||
|
if (url_info.exists === false) { |
||||
|
$helpButton.on('click', function (event) { |
||||
|
var evt = event; |
||||
|
evt.preventDefault(); |
||||
|
Dialog.confirm( |
||||
|
self, |
||||
|
_t('Page does not exist. Do you want to create?'), |
||||
|
{confirm_callback: function() { |
||||
|
var form = $("<form></form>"); |
||||
|
form.attr({ |
||||
|
id : "formform", |
||||
|
// The location given in the link itself
|
||||
|
action : evt.target.href, |
||||
|
method : "GET", |
||||
|
// Open in new window/tab
|
||||
|
target : evt.target.target |
||||
|
}); |
||||
|
$("body").append(form); |
||||
|
$("#formform").submit(); |
||||
|
$("#formform").remove(); |
||||
|
return false; |
||||
|
} |
||||
|
}); |
||||
|
}); |
||||
|
} |
||||
|
return $helpButton; |
||||
|
}, |
||||
|
|
||||
|
/** |
||||
|
* This function render the help buttons container on the view. |
||||
|
* It should be called after start() by render_view_control_elements. |
||||
|
* @param {control_elements} the list of control elements to display into the ControlPanel |
||||
|
*/ |
||||
|
render_help_buttons: function(control_elements){ |
||||
|
if (! control_elements.$help_online_buttons){ |
||||
|
control_elements.$help_online_buttons = $('<div/>'); |
||||
|
} |
||||
|
var self = this; |
||||
|
this.rpc('/help_online/build_url', {model: this.dataset.model, view_type: this.active_view.type}).then(function(result) { |
||||
|
if (result && ! _.isEmpty(result)) { |
||||
|
var $helpButton = self.render_help_button(result); |
||||
|
control_elements.$help_online_buttons = $helpButton; |
||||
|
// update the control panel with the new help button
|
||||
|
self.update_control_panel({cp_content: _.extend({}, self.searchview_elements, control_elements)}, {clear: false}); |
||||
|
} |
||||
|
}); |
||||
|
}, |
||||
|
|
||||
|
render_view_control_elements: function() { |
||||
|
var control_elements = this._super.apply(this, arguments); |
||||
|
this.render_help_buttons(control_elements); |
||||
|
return control_elements; |
||||
|
}, |
||||
|
|
||||
|
}); |
||||
|
}); |
@ -0,0 +1,36 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<templates> |
||||
|
<t t-name='HelpOnline.Button'> |
||||
|
<t t-if='url_info'> |
||||
|
<a t-att-class="'fa fa-question-circle btn btn-icon o_help_online_button ' + (url_info.exists? '': 'o_help_online_not_found')" |
||||
|
t-att-title='url_info.title' t-att-href='url_info.url' |
||||
|
target='_blank'></a> |
||||
|
</t> |
||||
|
</t> |
||||
|
|
||||
|
<t t-name='HelpOnline.ButtonsContainer'> |
||||
|
<div class='hidden-xs btn-group btn-group-sm o_help_online_buttons'> |
||||
|
</div> |
||||
|
</t> |
||||
|
|
||||
|
<t t-extend="ControlPanel"> |
||||
|
<t t-jquery="div.o_cp_switch_buttons" t-operation="after"> |
||||
|
<t t-call='HelpOnline.ButtonsContainer' /> |
||||
|
</t> |
||||
|
<t t-jquery="div.oe-cp-switch-buttons" t-operation="after"> |
||||
|
<t t-call='HelpOnline.ButtonsContainer' /> |
||||
|
</t> |
||||
|
</t> |
||||
|
|
||||
|
<t t-extend="X2ManyControlPanel"> |
||||
|
<t t-jquery="div.o_cp_pager" t-operation="after"> |
||||
|
<t t-call='HelpOnline.ButtonsContainer' /> |
||||
|
</t> |
||||
|
<t t-jquery="div.oe-cp-pager" t-operation="after"> |
||||
|
<div class="pull-right"> |
||||
|
<t t-call='HelpOnline.ButtonsContainer' /> |
||||
|
</div> |
||||
|
</t> |
||||
|
</t> |
||||
|
|
||||
|
</templates> |
@ -0,0 +1,7 @@ |
|||||
|
# -*- 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 test_help_online |
||||
|
from . import test_export_help_wizard |
||||
|
from . import test_import_help_wizard |
@ -0,0 +1,100 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
# Copyright 2016 ACSONE SA/NV (<http://acsone.eu>) |
||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
||||
|
|
||||
|
import os |
||||
|
import sys |
||||
|
from lxml import etree as ET |
||||
|
|
||||
|
from openerp.tools.convert import convert_xml_import |
||||
|
|
||||
|
|
||||
|
class TestWizardCommon(object): |
||||
|
_data_files = ('data/help_test_data.xml',) |
||||
|
|
||||
|
_module_ns = 'help_online' |
||||
|
|
||||
|
def createPage(self, pageName, imgXmlId=False): |
||||
|
imgId = False |
||||
|
if imgXmlId: |
||||
|
imgId = self.ref(imgXmlId) |
||||
|
|
||||
|
rootNode = ET.Element('t') |
||||
|
rootNode.attrib['name'] = pageName |
||||
|
rootNode.attrib['t-name'] = "website.%s" % pageName |
||||
|
tNode = ET.SubElement(rootNode, |
||||
|
't', |
||||
|
attrib={'t-call': 'website.layout'}) |
||||
|
structDivNode = ET.SubElement(tNode, |
||||
|
'div', |
||||
|
attrib={'class': 'oe_structure oe_empty', |
||||
|
'id': 'wrap'}) |
||||
|
sectionNode = ET.SubElement(structDivNode, |
||||
|
'section', |
||||
|
attrib={'class': 'mt16 mb16'}) |
||||
|
containerNode = ET.SubElement(sectionNode, |
||||
|
'div', |
||||
|
attrib={'class': 'container'}) |
||||
|
rowNode = ET.SubElement(containerNode, |
||||
|
'div', |
||||
|
attrib={'class': 'row'}) |
||||
|
bodyDivNode = ET.SubElement(rowNode, |
||||
|
'div', |
||||
|
attrib={'class': 'col-md-12 ' |
||||
|
'text-center mt16 mb32'}) |
||||
|
style = "font-family: 'Helvetica Neue', Helvetica,"\ |
||||
|
" Arial, sans-serif; color: rgb(51, 51, 51);"\ |
||||
|
" text-align: left;" |
||||
|
h2Node = ET.SubElement(bodyDivNode, |
||||
|
'h2', |
||||
|
attrib={'style': style}) |
||||
|
h2Node.text = "Test Sample Title" |
||||
|
if imgId: |
||||
|
imgDivNode = ET.SubElement(bodyDivNode, |
||||
|
'div', |
||||
|
attrib={'style': 'text-align: left;'}) |
||||
|
src = "/website/image?field=datas&"\ |
||||
|
"model=ir.attachment&id=%s" % str(imgId) |
||||
|
ET.SubElement(imgDivNode, |
||||
|
'img', |
||||
|
attrib={'class': 'img-thumbnail', |
||||
|
'src': src}) |
||||
|
imgDivNode = ET.SubElement(bodyDivNode, |
||||
|
'div', |
||||
|
attrib={'style': 'text-align: left;'}) |
||||
|
src = "/website/image/ir.attachment/%s_ccc838d/datas" % str(imgId) |
||||
|
ET.SubElement(imgDivNode, |
||||
|
'img', |
||||
|
attrib={'class': 'img-thumbnail', |
||||
|
'src': src}) |
||||
|
imgDivNode = ET.SubElement(bodyDivNode, |
||||
|
'div', |
||||
|
attrib={'style': 'text-align: left;'}) |
||||
|
src = "/web/image/%s" % str(imgId) |
||||
|
ET.SubElement(imgDivNode, |
||||
|
'img', |
||||
|
attrib={'class': 'img-thumbnail', |
||||
|
'src': src}) |
||||
|
arch = ET.tostring(rootNode, encoding='utf-8', xml_declaration=False) |
||||
|
vals = { |
||||
|
'name': pageName, |
||||
|
'type': 'qweb', |
||||
|
'arch': arch, |
||||
|
'page': True, |
||||
|
} |
||||
|
view_id = self.env['ir.ui.view'].create(vals) |
||||
|
return view_id.id |
||||
|
|
||||
|
def setUp(self): |
||||
|
super(TestWizardCommon, self).setUp() |
||||
|
self.pageName = False |
||||
|
self.imgXmlId = False |
||||
|
self.pageTemplate = False |
||||
|
# Loads the data file before |
||||
|
module = sys.modules[self.__class__.__module__] |
||||
|
base_path = os.path.dirname(module.__file__) |
||||
|
for path in self._data_files: |
||||
|
path = path.split('/') |
||||
|
path.insert(0, base_path) |
||||
|
path = os.path.join(*path) |
||||
|
convert_xml_import(self.cr, self._module_ns, path) |
@ -0,0 +1,78 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<openerp> |
||||
|
<data> |
||||
|
<record id="test_img_1" model="ir.attachment"> |
||||
|
<field name="datas">iVBORw0KGgoAAAANSUhEUgAAANwAAAAzCAIAAABzKvGBAAAOOUlEQVR42u1beVRU5xWfYcZh3wao |
||||
|
cSnLAIMRIw1WZVdTPTGLadIsoqBCwiJatFUjmyZVqgxL03NsFgLYuCH2tCc9bZo0icbIqqKpwRiO |
||||
|
wDC4gMgyI1sEBhh633zymOW9N9tzZkze/eOeYb737r3f/X7f797vzYMtlUrZbPbk5CSjGW0lmi2T |
||||
|
yawhDkYzeloDU7IYYcSaBAOl5XcGoxmtqnt7ey29MRhhRE0YUDJidcLu6emxCsZmNKOnNMaU1hAH |
||||
|
oxk9rbu7u60iDkYzGmdKKN/WEAejGa3GlJbuaxlhRE0YUDJidcLu6uqyCsZmNKPxnhKY0hriME5D |
||||
|
Q9zR0dHf32/pvU0srq6u3t7efD5f51x6e3stPhH9o5VKpRBtX1+fEV7c3NzAi7u7O5WXu3fvWhxb |
||||
|
xunr16/DKgoEAicnJzs7O1psVlVVxcTE0BLhyMjI0NCQRCKZOXOmr68vxZVNTU0wEX9/f0dHR3t7 |
||||
|
e6Mjv3TpElcpsPbwpRGImZiYGB8f37lzJ4Wv5uZmPFpIu0Fxjo6O4jnx8fEhZUoo39aAMCM4Eub2 |
||||
|
5JNP8ng8Gi1XV1dHR0fTGKdcLr9y5YpQKCTjBmCd1tbW0NBQAJOJkTc0NMyYMQMSYjQox5QSHx9P |
||||
|
Fq1MJkPRcjgco6MFFygnwJqkTGnWIkGTwALMmTPH09OTXrMIlPTaRKU5JCTkoU4EIm9sbLS1tQX2 |
||||
|
YhkLylGlhIWFkUV79epViNbDw8PEaFEDsHDhQsLRRxWUsAaQOyAG2s3SDkqo41BYyczSNRGwIxaL |
||||
|
7ZWi+r1OdAI54Z+HlRIQEEARbXh4OOoQTBGAfn19PZkXdmdnp8VrsRG6pqYmKiqKdssIlOaMli6P |
||||
|
hKBUKIKfT4yca0uxY25XH/53o7JzUAWl4dFeP5FcVKlmWrCxcG+M+wTaGAblBGNKiyPskUDPQ4qW |
||||
|
Lo9gp6WlBRDp4OCAc+Ro9Kvb5vOpSUv6XcGpKkdE1ffv3wdQBgYGGhJt8/GkwkpS8/4bC/cANA1b |
||||
|
wTt37lgcYUbo2trayMhI2i2jpJszWro8EoJyIPKVNxd4dNX/vuBvNtwpOsRHx17e8c6SmT1X3j5x |
||||
|
zg3uglEclPpG2wz8WKWzWPtvKsqKdlMoFHrmBCvfJmbExsaGLa08kHHrpZK4eUTXsHor80rZyVkx |
||||
|
nupMDuFy7lXl7r75cukGodKOjazywO7jrQ/of4MoexlffSYWRM9DwjqBR2lVXtYJCeUyC+JFmTF8 |
||||
|
DTsaoAQQyCJeyV7o2VX/u0P/csS/x2VwdbJo0c+6v8k6epbv4uKiCkq9otWK8+ncf74RNAZ+ESqu |
||||
|
l619+/SDoRVZx+L85aq4pFpBYErdfSm5gBUer/XYJtFXrOU7S9YHEV3TVy36kJueE+06Pj5OcSNs |
||||
|
ZYcbJ2PrIk4lzYcL4GJohycmJgj9ouzoEWBvlSgby9yyN0viAnVerafZBwwhiD+YGaPPsZnCrPYQ |
||||
|
t6/64O7jYkqDwD2ZUa6TKocYQlBKw1/JCfHsvpzx0VcPYIdfD/fKIl7FRr/J/OiMu5ubmwZT6oq2 |
||||
|
tyov+0Tb9BAgcpP/8GhDSWL+OYxR8nNWPsYdqM5NL0NTWZV5JE4gl+uTE5NACdPorxHtOtoauGrV |
||||
|
xOmxl4hAyWZLa0RlnG25Uc4jOCgJb4S2pq08sfznf94T44ayBoicJDk86oMeteKyIqsszh/WifoW |
||||
|
vcxOBY/+jNlVGi+cNNqs9hDkAbBFccKFWcCJHnasvqBUgZ2qEe1RA0DZWynKLqegc7/4vOxlnjNm |
||||
|
tJYniBBdBrxxKCvCEWcZKlB2dHQYXZWAogckEpvg4Fmyr7PSxYAtodY1HE7LyTzpM3uXucqn2Rsy |
||||
|
3icWc5944jHpWbjxxQ/XPW5jw+P1V+YWjyVnRRP1xRq6rq4uIiKC4prmEynk3Y5g/YGM5V4Ed6FM |
||||
|
Ednsqc7PIa2pSho2Llptj1AWRVknWilRDkSUGe2uYYdGUOqMVlYNMbaRBxiwqWhPlOsYrMOppMIz |
||||
|
6LtV+47E+cBe0pkTDJQsYwXhEhBmO1Cds60VsKXNlDxJReLl6I/igbnlFDcGQ+12uFG2ruKGv7gV |
||||
|
WxBBHJRGD1IGQlMiGWw6mfoO+XkQoejw+oBx/c1yOOKTSYVnKXECQF9GUsspotUe4vbV5GXoLt8Z |
||||
|
kS6qTAl26AUldbQt5amEe37Vvn9sDeFCYGAHrLGaVI7mwtR39kK9HEH1iiIn7Pb2dhO7eKzcDNUi |
||||
|
bGkwJSBPUpFyKaJ8nd8wqsWqo9jPD4M12I3FsU/Y2jr+UJvz28qYQ/tXekHKrpXG1YYqUU7o9/z5 |
||||
|
8+Hh4USnrpaTKX86x9IhKzKPrBPIFVqnKJQpbY9crvjUG4WndVjFNlI0X6F/tIQeIZ8ALIrf8fDy |
||||
|
rRo/vaDUGW1rxWai50DCzSUFqzxgqSewCK+WqZ3NhWmH9sXYDw2hkxBFTjCmNPF0qYqtIM3aLa5I |
||||
|
+t/iIxsEcgIEqKJ5PocDCYWmE0XM5bYc3fj32flZkVgJ0GstcY/T9YIClFnHYn2HWVqIJ8uUrW1b |
||||
|
RWL+lzqsBm4oyIKapX+0hB4BjjZKIcu5Qimw8Bp26GVK6mjvVednEnQzT791KtF/dPTumX0Zx7VG |
||||
|
hWl/yV3uMDQ0NjZGnROMKXWtoA7h8XgPsFUcK9QYkpx6/Zvov8b5qdZuwhuDlAUdIVI5JCl//ePZ |
||||
|
BdmRLnJCpyg72t9DS+DsPHxub/oHzbpBqX2KIjPLw2ZSQAlKYcr7B8PtB4HA9I+WcAjrKXNOUvRr |
||||
|
IH7QK8R4aNihlympo+W2VhA/Mn8qu2Tlzbzscu34hWmluctdBgcH0XmXIicPEZQwycG6gv/O3Q+1 |
||||
|
W/VhEOGNGChbypOLWDuK14MR3kDtwRJeCoZJw0AJTu2U0v/13pRiMmAKNxXlRDiPGALKgQt5u0ta |
||||
|
yOylvX/wVy4jI7CihM+wDALljP5anT2lYGOhRk9pblByW/WpSCoSlFZSEO30AwhKERUob9++bXpP |
||||
|
6fBDXc428YvF6wLV+rC+WlHZRGoOIEtB9Awc1f092yW//mDtfC4XMNpzdv/Uo5YVOeVJfsMYmgn9 |
||||
|
XrhwISwsjDAeJYZ4SmSKS37z1udook//8ePU+WgVoXxAakBr34syRdQVcJycnGCmbKX0fpmJIx7a |
||||
|
qNwVrniTZ2i02h7Bi6OjI3gkW17wAtDR6CmpQKl8Tunq6qoBSornlDqjhfCG6vJ3HFF9SBC0uST/ |
||||
|
KTf5ZNeXe9PLNPlg9cGPU+YNDQ1hpx9l10SREwyUBsCdSCCJAC/IESyzPt8TXqB8lo4JFHGUMrlS |
||||
|
yJ5ToilRRIUd7ZXvcTUffm3PF6zApHdzopzQHkUNGaFlMrMIlyg20PZt5bH7z2DnyWLRMheMIBHE |
||||
|
yYKhiFZ7COyjUw6ZNXTW0aBksEMGSurlA1AePeuh8YuOPtHa2g6ez9tdOl09hMnvHVjuJufIzr6V |
||||
|
flgdlEFppYWwc6F2440cRU7Yt27dMpEpWdgTEw7KkT7fq57N8eMkuh69FoB6ebhRQfIbI+iLFy+G |
||||
|
hoZSv+EL3gGagEv4ALmAjE8qhWIuKFM654texoHPsIRgGW0qsuvhmoaGhqVLlxrtUR9NCMq+voDX |
||||
|
tq8U2LNIZVj86YEjTXw+cLMqKPWJFpbP0fHW8fgDX1CjnhW0paxoJX8MaBK1N/gKknnBmNL0jJhf |
||||
|
X7t2bfbs2e7u7jqvRCdZdGLVaZkiU2pZw5oTLs5Y1Nffu3evu7t73rx5pnjUJ3LtFzIAZAAF6FUg |
||||
|
TkTzGoyLWgXoTGB7azClPtEqb79f+fY20u4dyvYnWx8fH0eWYQPrtRuBKVmPoMhksps3by5YsIDe |
||||
|
93xR0mk0CCQK+0cgEEBLR+YRKN/0WWiDEnkHHJC9QoBQBU0O3jWpMiWZl0WLFuE/gbKnnqra2Q2c |
||||
|
ztys/sQDg2OwQgGnAmi4wbJqFwchffvtt2ReHlVQgrS1tfX19fn4+CiTYkeLTRpBiVYCdo6Xl9fc |
||||
|
uXPJLvv+++9nzZrF5/MNsU0cuTYoWUo6pGh2UTeC968IlIsXLw4KIny1htXY2AjRQoFS/RIhGwTA |
||||
|
iloy1lTjC0BE/2Kh8fgFqkdPT49QKCSOCrJm8VpstB4YGGhvb4cKRQuMaBcoiwBHdIYgm4VUKgVe |
||||
|
QJRvSjbIQKktGdlFm1Ni/XwJ9gkC5Zo1a8hihgIF0QYHB2tEi/oZ1MQj0p1QCvo1RKPDgT9R9XB2 |
||||
|
dibujgCUll47K5L6+volS5aY2emNGzeA8r29vU2hfIhcz38c+0Pue4/N9HxmdbSP92yNIcRqCQkJ |
||||
|
FI4AMHi04E51iD0lrCmG1ggDjAPuAdaenp5z5swhc8GGjFgD5/3EdX9/f0dHh3koP3XLnu8aKp95 |
||||
|
dm3s2ucDA3zx74HXASjUvI40FCiIdnBw0AjvwI7ghYwjp5nSGlaF0WbTSyOev9vx3Z3OrrWxybt2 |
||||
|
bv5FSLA1RKWmgSnNsDsZsR5BoIQPqri0dFBqwoDyJyc4KFnWikt2W1ub6VYYeYQkLHINDkrWFC53 |
||||
|
7ki1HlwyoPzJiQYoFQpFR0fn+vg068ElWyKRWEVvy2hzaVVQ4u8Lt3d0bkpIhzoesnC+xSPEmNIa |
||||
|
MsVos+nwqBcQKHFEoqfcwJfJqbusApfAlJZma0bMKgiUGojEcfnbbTkWr+Ps+vp6S2eJEbPKcy8k |
||||
|
IFBqIBJJZ2dX+vY97x7KtWCEbOp3ARn949PefotuSi4jRLa33/Hy8gAsrovbogqLzz+roMsjetXc |
||||
|
YFBaQ6YYbTbt679Y0nIRIfKXS1d/8J7oqRWRGxO2b92S+NyzK2n3aAwoCf/7jpEfsQAoxU3nESI/ |
||||
|
+0/5lq2Zn35yDKp2Usqbl+t1vUVuuIyMjBh6y/8Bzpl/yXfWC20AAAAASUVORK5CYII= |
||||
|
</field> |
||||
|
<field name="index_content">image</field> |
||||
|
<field name="datas_fname">test.png</field> |
||||
|
<field name="name">test.png</field> |
||||
|
<field name="res_model">ir.ui.view</field> |
||||
|
<field name="mimetype">image/png</field> |
||||
|
</record> |
||||
|
</data> |
||||
|
</openerp> |
@ -0,0 +1,72 @@ |
|||||
|
# -*- 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 base64 |
||||
|
from lxml import etree as ET |
||||
|
|
||||
|
import openerp.tests.common as common |
||||
|
from .common import TestWizardCommon |
||||
|
|
||||
|
|
||||
|
class TestExportHelpWizard(TestWizardCommon): |
||||
|
pageName = None |
||||
|
imgXmlId = None |
||||
|
|
||||
|
def test_export_help(self): |
||||
|
""" |
||||
|
Export help data |
||||
|
""" |
||||
|
self.createPage(pageName=self.pageName, imgXmlId=self.imgXmlId) |
||||
|
|
||||
|
wizardPool = self.env['export.help.wizard'] |
||||
|
wizard = wizardPool.create({}) |
||||
|
wizard.export_help() |
||||
|
xmlData = base64.decodestring(wizard.data) |
||||
|
|
||||
|
parser = ET.XMLParser(remove_blank_text=True) |
||||
|
rootXml = ET.XML(xmlData, parser=parser) |
||||
|
|
||||
|
xPath = ".//template[@id='website.%s']" % self.pageName |
||||
|
templateNodeList = rootXml.findall(xPath) |
||||
|
self.assertEqual(len(templateNodeList), 1) |
||||
|
self.assertNotIn("website.", templateNodeList[0].attrib['name']) |
||||
|
|
||||
|
if self.imgXmlId: |
||||
|
xPath = ".//record[@id='%s']" % self.imgXmlId |
||||
|
imgNodeList = rootXml.findall(xPath) |
||||
|
self.assertEqual(len(imgNodeList), 1, |
||||
|
'The same image should be exported only once') |
||||
|
|
||||
|
for imgElem in templateNodeList[0].iter('img'): |
||||
|
imgSrc = imgElem.get('src') |
||||
|
if '/ir.attachment/' in imgSrc: |
||||
|
self.assertIn("/ir.attachment/%s|" |
||||
|
% self.imgXmlId, imgSrc) |
||||
|
else: |
||||
|
self.assertIn("/web/image/%s" % self.imgXmlId, imgSrc) |
||||
|
|
||||
|
if self.pageTemplate: |
||||
|
xPath = ".//template[@id='website.%s_snippet']" % self.pageName |
||||
|
templateNodeList = rootXml.findall(xPath) |
||||
|
self.assertEqual(len(templateNodeList), 1) |
||||
|
self.assertNotIn("website.", templateNodeList[0].attrib['name']) |
||||
|
|
||||
|
|
||||
|
class TestExportHelpWithImage(TestExportHelpWizard, common.TransactionCase): |
||||
|
def setUp(self): |
||||
|
super(TestExportHelpWithImage, self).setUp() |
||||
|
parameter_model = self.env['ir.config_parameter'] |
||||
|
page_prefix = parameter_model.get_param('help_online_page_prefix') |
||||
|
self.pageName = '%stest-page' % page_prefix |
||||
|
self.imgXmlId = '%s.test_img_1' % self._module_ns |
||||
|
|
||||
|
|
||||
|
class TestExportHelpTemplate(TestExportHelpWizard, common.TransactionCase): |
||||
|
def setUp(self): |
||||
|
super(TestExportHelpTemplate, self).setUp() |
||||
|
parameter_model = self.env['ir.config_parameter'] |
||||
|
param = 'help_online_template_prefix' |
||||
|
template_prefix = parameter_model.get_param(param) |
||||
|
self.pageName = '%stest-template' % template_prefix |
||||
|
self.pageTemplate = True |
@ -0,0 +1,58 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
# Copyright 2016 ACSONE SA/NV (<http://acsone.eu>) |
||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
||||
|
|
||||
|
import mock |
||||
|
|
||||
|
import openerp.tests.common as common |
||||
|
from .common import TestWizardCommon |
||||
|
|
||||
|
|
||||
|
class TestHelpOnline(TestWizardCommon, common.TransactionCase): |
||||
|
|
||||
|
def test_get_page_url(self): |
||||
|
model = 'res.partner' |
||||
|
help_online = self.env['help.online'] |
||||
|
user = self.env.user |
||||
|
group_writer = self.env.ref('help_online.help_online_group_writer') |
||||
|
group_reader = self.env.ref('help_online.help_online_group_reader') |
||||
|
self.assertTrue(user.has_group('help_online.help_online_group_writer')) |
||||
|
with mock.patch('openerp.addons.website.models.website' |
||||
|
'.website.search_pages') as search_pages: |
||||
|
# The expected page dosn't exist |
||||
|
search_pages.return_value = [] |
||||
|
info = help_online.get_page_url(model, 'form') |
||||
|
self.assertDictEqual( |
||||
|
{'exists': False, |
||||
|
'title': 'Create Help page for Partner', |
||||
|
'url': 'website/add/help-res-partner'}, info, |
||||
|
"If the user is member of help_online_group_writer " |
||||
|
"and the page doesn't exist, the module should return an url " |
||||
|
"to create the page") |
||||
|
# remove user of group writer. |
||||
|
group_writer.write({'users': [(3, self.env.user.id)]}) |
||||
|
info = help_online.get_page_url(model, 'form') |
||||
|
self.assertDictEqual( |
||||
|
{}, info, |
||||
|
"If the user is not member of help_online_group_writer " |
||||
|
"and the page doesn't exist, the module should return an " |
||||
|
"empty dict") |
||||
|
# The expected page exists |
||||
|
search_pages.return_value = [{'loc': 'pages/help-res-partner'}] |
||||
|
self.assertTrue( |
||||
|
user.has_group('help_online.help_online_group_reader')) |
||||
|
info = help_online.get_page_url(model, 'form') |
||||
|
self.assertDictEqual( |
||||
|
{'exists': True, |
||||
|
'title': 'Help on Partner', |
||||
|
'url': 'pages/help-res-partner#form'}, info, |
||||
|
"If the user is member of help_online_group_reader " |
||||
|
"and the page exists, the module should return an url " |
||||
|
"to the page") |
||||
|
# remove user from group reader |
||||
|
group_reader.write({'users': [(3, self.env.user.id)]}) |
||||
|
info = help_online.get_page_url(model, 'form') |
||||
|
self.assertDictEqual( |
||||
|
{}, info, |
||||
|
"If the user is not member of help_online_group_reader " |
||||
|
"and the page exists, the module should return an empty dict") |
@ -0,0 +1,59 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
# Copyright 2016 ACSONE SA/NV (<http://acsone.eu>) |
||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
||||
|
|
||||
|
import base64 |
||||
|
|
||||
|
import openerp.tests.common as common |
||||
|
from .common import TestWizardCommon |
||||
|
|
||||
|
|
||||
|
class TestImportHelpWizard(TestWizardCommon, common.TransactionCase): |
||||
|
|
||||
|
def setUp(self): |
||||
|
super(TestImportHelpWizard, self).setUp() |
||||
|
self.page_name = "export_import_help" |
||||
|
self.img_xml_id = '%s.test_img_1' % self._module_ns |
||||
|
self.img_name = self.env.ref(self.img_xml_id).name |
||||
|
self.ir_attchement = self.env['ir.attachment'] |
||||
|
self.ir_ui_view = self.env['ir.ui.view'] |
||||
|
self.export_help_wizard = self.env['export.help.wizard'] |
||||
|
self.import_help_wizard = self.env['import.help.wizard'] |
||||
|
|
||||
|
def _do_check_resources(self, expected=1): |
||||
|
pages = self.ir_ui_view.search([('name', '=', self.page_name)]) |
||||
|
self.assertEqual(expected, len(pages)) |
||||
|
attachments = self.ir_attchement.search( |
||||
|
[('name', '=', self.img_name)]) |
||||
|
self.assertEqual(expected, len(attachments)) |
||||
|
|
||||
|
def test_import_help(self): |
||||
|
self.createPage(pageName=self.page_name, imgXmlId=self.img_xml_id) |
||||
|
self._do_check_resources() |
||||
|
wizard = self.export_help_wizard.create({}) |
||||
|
wizard.export_help() |
||||
|
xmlData = base64.decodestring(wizard.data) |
||||
|
self.env.ref(self.img_xml_id).unlink() |
||||
|
self.ir_ui_view.search([('name', '=', self.page_name)]).unlink() |
||||
|
self._do_check_resources(0) |
||||
|
wizard = self.import_help_wizard.create({ |
||||
|
'source_file': base64.encodestring(xmlData) |
||||
|
}) |
||||
|
wizard.import_help() |
||||
|
self._do_check_resources() |
||||
|
|
||||
|
def test_import_export_help(self): |
||||
|
"""Check that exported data are not ducplicated by export / import |
||||
|
""" |
||||
|
self.createPage(pageName=self.page_name, imgXmlId=self.img_xml_id) |
||||
|
self._do_check_resources() |
||||
|
# export |
||||
|
wizard = self.export_help_wizard.create({}) |
||||
|
wizard.export_help() |
||||
|
xmlData = base64.decodestring(wizard.data) |
||||
|
self._do_check_resources() |
||||
|
wizard = self.import_help_wizard.create({ |
||||
|
'source_file': base64.encodestring(xmlData) |
||||
|
}) |
||||
|
wizard.import_help() |
||||
|
self._do_check_resources() |
@ -0,0 +1,24 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<template id="assets_backend" name="help.online.assets" inherit_id="web.assets_backend"> |
||||
|
<xpath expr="." position="inside"> |
||||
|
<link rel="stylesheet" href="/help_online/static/src/css/help_online.css" type="text/css"/> |
||||
|
<script type="text/javascript" src="/help_online/static/src/js/help_online.js"></script> |
||||
|
</xpath> |
||||
|
</template> |
||||
|
|
||||
|
<record model="ir.actions.act_window" id="action_website_pages"> |
||||
|
<field name="name">Website Pages</field> |
||||
|
<field name="res_model">ir.ui.view</field> |
||||
|
<field name="search_view_id" ref="view_view_search" /> |
||||
|
<field name="view_type">form</field> |
||||
|
<field name="view_mode">tree,form</field> |
||||
|
<field name="context">{"search_default_website":1}</field> |
||||
|
</record> |
||||
|
|
||||
|
<menuitem id="menu_help_main" name="Help Online" groups="help_online_group_writer"/> |
||||
|
<menuitem id="menu_help" name="Help Online" parent="menu_help_main" sequence="90" groups="help_online_group_writer"/> |
||||
|
<menuitem id="menu_help_pages" name="Website Pages" parent="menu_help" sequence="10" action="action_website_pages" groups="help_online_group_writer"/> |
||||
|
<menuitem id="menu_help_import" name="Import Help Online" parent="menu_help" sequence="20" action="action_import_help_wizard" groups="help_online_group_writer"/> |
||||
|
<menuitem id="menu_help_export" name="Export Help Online" parent="menu_help" sequence="30" action="action_export_help_wizard" groups="help_online_group_writer"/> |
||||
|
</odoo> |
@ -0,0 +1,24 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<record id="view_view_search" model="ir.ui.view"> |
||||
|
<field name="name">ir.ui.view search (help_online)</field> |
||||
|
<field name="inherit_id" ref="base.view_view_search"/> |
||||
|
<field name="model">ir.ui.view</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<xpath expr="//filter[last()]" position="after"> |
||||
|
<filter name="website" string="Website Page" domain="[('type', '=', 'qweb'),('page', '=', True)]"/> |
||||
|
</xpath> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="view_view_form" model="ir.ui.view"> |
||||
|
<field name="name">ir.ui.view form (help_online)</field> |
||||
|
<field name="inherit_id" ref="base.view_view_form"/> |
||||
|
<field name="model">ir.ui.view</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<xpath expr="//field[@name='type']" position="after"> |
||||
|
<field name="page" string="Website Page?" readonly="1" attrs="{'invisible': [('type', '!=', 'qweb')]}"/> |
||||
|
</xpath> |
||||
|
</field> |
||||
|
</record> |
||||
|
</odoo> |
@ -0,0 +1,6 @@ |
|||||
|
# -*- 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 export_help_wizard |
||||
|
from . import import_help_wizard |
@ -0,0 +1,334 @@ |
|||||
|
# -*- 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 logging |
||||
|
import base64 |
||||
|
import time |
||||
|
import copy |
||||
|
import urlparse |
||||
|
from werkzeug.routing import Map, Rule |
||||
|
from lxml import etree as ET |
||||
|
from openerp import models, fields, api, exceptions |
||||
|
from openerp.tools.translate import _ |
||||
|
from openerp.addons.web.controllers.main import Binary |
||||
|
from openerp.addons.website.controllers.main import WebsiteBinary |
||||
|
|
||||
|
_logger = logging.getLogger(__name__) |
||||
|
|
||||
|
PAGE_PREFIX_PARAMETER = 'help_online_page_prefix' |
||||
|
TEMPLATE_PREFIX_PARAMETER = 'help_online_template_prefix' |
||||
|
AUTOBACKUP_PARAMETER = 'help_online_autobackup_path' |
||||
|
HELP_ONLINE_SNIPPET_IMAGE_PATH = '/help_online/static/src/'\ |
||||
|
'img/snippet/snippet_thumbs.png' |
||||
|
|
||||
|
|
||||
|
class ExportHelpWizard(models.TransientModel): |
||||
|
_name = "export.help.wizard" |
||||
|
_description = 'Export Help Online' |
||||
|
|
||||
|
data = fields.Binary('XML', readonly=True) |
||||
|
export_filename = fields.Char('Export XML Filename', size=128) |
||||
|
|
||||
|
binary = Binary() |
||||
|
websiteBinary = WebsiteBinary() |
||||
|
|
||||
|
img_url_map = Map([ |
||||
|
Rule('/web/image'), |
||||
|
Rule('/web/image/<string:xmlid>'), |
||||
|
Rule('/web/image/<string:xmlid>/<string:filename>'), |
||||
|
Rule('/web/image/<string:xmlid>/<int:width>x<int:height>'), |
||||
|
Rule('/web/image/<string:xmlid>/<int:width>x<int:height>/' |
||||
|
'<string:filename>'), |
||||
|
Rule('/web/image/<string:model>/<int:id>/<string:field>'), |
||||
|
Rule('/web/image/<string:model>/<int:id>/<string:field>/' |
||||
|
'<string:filename>'), |
||||
|
Rule('/web/image/<string:model>/<int:id>/<string:field>/' |
||||
|
'<int:width>x<int:height>'), |
||||
|
Rule('/web/image/<string:model>/<int:id>/<string:field>/' |
||||
|
'<int:width>x<int:height>/<string:filename>'), |
||||
|
Rule('/web/image/<int:id>'), |
||||
|
Rule('/web/image/<int:id>/<string:filename>'), |
||||
|
Rule('/web/image/<int:id>/<int:width>x<int:height>'), |
||||
|
Rule('/web/image/<int:id>/<int:width>x<int:height>/<string:filename>'), |
||||
|
Rule('/web/image/<int:id>-<string:unique>'), |
||||
|
Rule('/web/image/<int:id>-<string:unique>/<string:filename>'), |
||||
|
Rule('/web/image/<int:id>-<string:unique>/<int:width>x<int:height>'), |
||||
|
Rule('/web/image/<int:id>-<string:unique>/<int:width>x<int:height>' |
||||
|
'/<string:filename>'), |
||||
|
Rule('/website/image'), |
||||
|
Rule('/website/image/<xmlid>'), |
||||
|
Rule('/website/image/<xmlid>/<int:width>x<int:height>'), |
||||
|
Rule('/website/image/<xmlid>/<field>'), |
||||
|
Rule('/website/image/<xmlid>/<field>/<int:width>x<int:height>'), |
||||
|
Rule('/website/image/<model>/<id>/<field>'), |
||||
|
Rule('/website/image/<model>/<id>/<field>/<int:width>x<int:height>') |
||||
|
]) |
||||
|
|
||||
|
def _manage_images_on_page(self, page_node, data_node, exported_resources): |
||||
|
""" |
||||
|
- Extract images from page and generate an xml node |
||||
|
- Replace db id in url with xml id |
||||
|
""" |
||||
|
img_model = 'ir.attachment' |
||||
|
urls = self.img_url_map.bind("dummy.org", "/") |
||||
|
for img_elem in page_node.iter('img'): |
||||
|
img_src = img_elem.get('src') |
||||
|
parse_result = urlparse.urlparse(img_src) |
||||
|
path = parse_result.path |
||||
|
query_args = parse_result.query |
||||
|
if urls.test(parse_result.path, "GET"): |
||||
|
endpoint, kwargs = urls.match(path, "GET", |
||||
|
query_args=query_args) |
||||
|
kwargs.update(dict(urlparse.parse_qsl(query_args))) |
||||
|
image = None |
||||
|
# get the binary object |
||||
|
xml_id = kwargs.get('xmlid') |
||||
|
if xml_id: |
||||
|
image = self.env.ref(xml_id, False) |
||||
|
else: |
||||
|
_id = kwargs.get('id') |
||||
|
model = kwargs.get('model', 'ir.attachment') |
||||
|
if _id and model: |
||||
|
_id, _, unique = str(_id).partition('_') |
||||
|
image = self.env[model].browse(int(_id)) |
||||
|
if (not image or |
||||
|
not image.exists() or |
||||
|
image._name != img_model): |
||||
|
raise exceptions.UserError( |
||||
|
_('Only images from ir.attachment are supported when ' |
||||
|
'exporting help pages')) |
||||
|
exported_data = image.export_data( |
||||
|
['id', |
||||
|
'datas', |
||||
|
'datas_fname', |
||||
|
'name', |
||||
|
'res_model', |
||||
|
'mimetype'], |
||||
|
raw_data=False)['datas'][0] |
||||
|
xml_id = exported_data[0] |
||||
|
new_src = '/web/image/%s' % xml_id |
||||
|
img_elem.attrib['src'] = new_src |
||||
|
if xml_id in exported_resources: |
||||
|
continue |
||||
|
img_node = ET.SubElement( |
||||
|
data_node, |
||||
|
'record', |
||||
|
attrib={'id': xml_id, |
||||
|
'model': image._name}) |
||||
|
field_node = ET.SubElement(img_node, |
||||
|
'field', |
||||
|
attrib={'name': 'datas'}) |
||||
|
field_node.text = str(exported_data[1]) |
||||
|
field_node = ET.SubElement(img_node, |
||||
|
'field', |
||||
|
attrib={'name': 'datas_fname'}) |
||||
|
field_node.text = exported_data[2] |
||||
|
field_node = ET.SubElement(img_node, |
||||
|
'field', |
||||
|
attrib={'name': 'name'}) |
||||
|
field_node.text = exported_data[3] |
||||
|
field_node = ET.SubElement(img_node, |
||||
|
'field', |
||||
|
attrib={'name': 'res_model'}) |
||||
|
field_node.text = exported_data[4] |
||||
|
field_node = ET.SubElement(img_node, |
||||
|
'field', |
||||
|
attrib={'name': 'mimetype'}) |
||||
|
field_node.text = exported_data[5] |
||||
|
data_node.append(img_node) |
||||
|
exported_resources.add(xml_id) |
||||
|
|
||||
|
def _clean_href_urls(self, page_node, page_prefix, template_prefix): |
||||
|
""" |
||||
|
Remove host address for href urls |
||||
|
""" |
||||
|
for a_elem in page_node.iter('a'): |
||||
|
if not a_elem.get('href'): |
||||
|
continue |
||||
|
href = a_elem.get('href') |
||||
|
if not href.startswith('http'): |
||||
|
continue |
||||
|
page_url = '/page/%s' % page_prefix |
||||
|
template_url = '/page/%s' % template_prefix |
||||
|
if page_url not in href and template_url not in href: |
||||
|
continue |
||||
|
elif page_url in href and template_url not in href: |
||||
|
pass |
||||
|
elif page_url not in href and template_url in href: |
||||
|
page_url = template_url |
||||
|
else: |
||||
|
if page_prefix in template_prefix: |
||||
|
page_url = template_url |
||||
|
else: |
||||
|
pass |
||||
|
|
||||
|
if page_url: |
||||
|
trail = href.split(page_url, 1)[1] |
||||
|
a_elem.attrib['href'] = page_url + trail |
||||
|
|
||||
|
def _generate_snippet_from_template(self, page_node, |
||||
|
template_id, template_prefix): |
||||
|
""" |
||||
|
Generate a website snippet from a template |
||||
|
""" |
||||
|
page = copy.deepcopy(page_node) |
||||
|
snippet = ET.Element('template') |
||||
|
snippet.attrib['id'] = template_id + '_snippet' |
||||
|
snippet.attrib['inherit_id'] = 'website.snippets' |
||||
|
snippet.attrib['name'] = page_node.attrib['name'] |
||||
|
|
||||
|
xpath = ET.SubElement(snippet, |
||||
|
'xpath', |
||||
|
attrib={'expr': "//div[@id='snippet_structure']", |
||||
|
'position': 'inside'}) |
||||
|
main_div = ET.SubElement(xpath, |
||||
|
'div') |
||||
|
thumbnail = ET.SubElement(main_div, |
||||
|
'div', |
||||
|
attrib={'class': 'oe_snippet_thumbnail'}) |
||||
|
ET.SubElement(thumbnail, |
||||
|
'img', |
||||
|
attrib={'class': 'oe_snippet_thumbnail_img', |
||||
|
'src': HELP_ONLINE_SNIPPET_IMAGE_PATH}) |
||||
|
span = ET.SubElement(thumbnail, |
||||
|
'span', |
||||
|
attrib={'class': 'oe_snippet_thumbnail_title'}) |
||||
|
span.text = page_node.attrib['name'].replace(template_prefix, '') |
||||
|
body = ET.SubElement(main_div, |
||||
|
'section', |
||||
|
attrib={'class': 'oe_snippet_body ' |
||||
|
'mt_simple_snippet'}) |
||||
|
|
||||
|
template = page.find(".//div[@id='wrap']") |
||||
|
|
||||
|
for node in template.getchildren(): |
||||
|
body.append(node) |
||||
|
|
||||
|
return snippet |
||||
|
|
||||
|
def _get_qweb_views_data(self): |
||||
|
parameter_model = self.env['ir.config_parameter'] |
||||
|
page_prefix = parameter_model.get_param(PAGE_PREFIX_PARAMETER, |
||||
|
False) |
||||
|
template_prefix = parameter_model.get_param(TEMPLATE_PREFIX_PARAMETER, |
||||
|
False) |
||||
|
|
||||
|
if not page_prefix or not template_prefix: |
||||
|
return False |
||||
|
|
||||
|
domain = [('type', '=', 'qweb'), |
||||
|
('page', '=', True), |
||||
|
'|', |
||||
|
('name', 'like', '%s%%' % page_prefix), |
||||
|
('name', 'like', '%s%%' % template_prefix)] |
||||
|
|
||||
|
ir_ui_views = self.env['ir.ui.view'].search(domain, order='name') |
||||
|
xml_to_export = ET.Element('openerp') |
||||
|
data_node = ET.SubElement(xml_to_export, 'data') |
||||
|
exported_resources = set() |
||||
|
for ir_ui_view in ir_ui_views: |
||||
|
parser = ET.XMLParser(remove_blank_text=True) |
||||
|
root = ET.XML(ir_ui_view.arch, parser=parser) |
||||
|
root.tag = 'template' |
||||
|
xml_id = self._get_ir_ui_view_xml_id( |
||||
|
ir_ui_view, root.attrib.pop('t-name')) |
||||
|
root.attrib['name'] = ir_ui_view.name.replace('website.', '') |
||||
|
root.attrib['id'] = xml_id |
||||
|
root.attrib['page'] = 'True' |
||||
|
|
||||
|
self._manage_images_on_page(root, data_node, exported_resources) |
||||
|
self._clean_href_urls(root, page_prefix, template_prefix) |
||||
|
data_node.append(root) |
||||
|
|
||||
|
if root.attrib['name'].startswith(template_prefix): |
||||
|
snippet = self._generate_snippet_from_template(root, |
||||
|
xml_id, |
||||
|
template_prefix) |
||||
|
data_node.append(snippet) |
||||
|
|
||||
|
if len(ir_ui_views) > 0: |
||||
|
return ET.tostring(xml_to_export, encoding='utf-8', |
||||
|
xml_declaration=True, |
||||
|
pretty_print=True) |
||||
|
else: |
||||
|
return False |
||||
|
|
||||
|
@api.model |
||||
|
def _get_ir_ui_view_xml_id(self, ir_ui_view, template_name): |
||||
|
"""This method check if an xml_id exists for the given ir.ui.view |
||||
|
If no xml_id exists, a new one is created with template name as |
||||
|
value to ensure that the import of the generated file will update |
||||
|
the existing view in place of creating new copies. |
||||
|
""" |
||||
|
ir_model_data = self.sudo().env['ir.model.data'] |
||||
|
data = ir_model_data.search([('model', '=', ir_ui_view._name), |
||||
|
('res_id', '=', ir_ui_view.id)]) |
||||
|
if data: |
||||
|
if data[0].module: |
||||
|
return '%s.%s' % (data[0].module, data[0].name) |
||||
|
else: |
||||
|
return data[0].name |
||||
|
else: |
||||
|
module, name = template_name.split('.') |
||||
|
postfix = ir_model_data.search_count( |
||||
|
[('module', '=', module), |
||||
|
('name', 'like', name)]) |
||||
|
if postfix: |
||||
|
name = '%s_%s' % (name, postfix) |
||||
|
ir_model_data.create({ |
||||
|
'model': ir_ui_view._name, |
||||
|
'res_id': ir_ui_view.id, |
||||
|
'module': module, |
||||
|
'name': name, |
||||
|
}) |
||||
|
return module + '.' + name |
||||
|
|
||||
|
@api.multi |
||||
|
def export_help(self): |
||||
|
""" |
||||
|
Export all Qweb views related to help online in a Odoo |
||||
|
data XML file |
||||
|
""" |
||||
|
xml_data = self._get_qweb_views_data() |
||||
|
if not xml_data: |
||||
|
raise exceptions.Warning(_('No data to export !')) |
||||
|
out = base64.encodestring(xml_data) |
||||
|
|
||||
|
self.write({'data': out, |
||||
|
'export_filename': 'help_online_data.xml'}) |
||||
|
|
||||
|
return { |
||||
|
'name': _('Export Help'), |
||||
|
'type': 'ir.actions.act_window', |
||||
|
'res_model': self._name, |
||||
|
'view_mode': 'form', |
||||
|
'view_type': 'form', |
||||
|
'res_id': self.id, |
||||
|
'views': [(False, 'form')], |
||||
|
'target': 'new', |
||||
|
} |
||||
|
|
||||
|
@api.model |
||||
|
def auto_backup(self): |
||||
|
""" |
||||
|
Export data to a file on home directory of user |
||||
|
""" |
||||
|
parameter_model = self.env['ir.config_parameter'] |
||||
|
autobackup_path = parameter_model.get_param(AUTOBACKUP_PARAMETER, |
||||
|
False) |
||||
|
|
||||
|
if autobackup_path: |
||||
|
xml_data = self._get_qweb_views_data() |
||||
|
try: |
||||
|
timestr = time.strftime("%Y%m%d-%H%M%S") |
||||
|
filename = '%s/help_online_backup-%s.xml' % (autobackup_path, |
||||
|
timestr) |
||||
|
backup_file = open(filename, |
||||
|
'w') |
||||
|
backup_file.write(xml_data) |
||||
|
backup_file.close() |
||||
|
except: |
||||
|
_logger.warning(_('Unable to write autobackup file ' |
||||
|
'in given directory: %s' |
||||
|
% autobackup_path)) |
@ -0,0 +1,50 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<record model="ir.ui.view" id="export_help_wizard_view"> |
||||
|
<field name="name">export.help.wizard.view</field> |
||||
|
<field name="model">export.help.wizard</field> |
||||
|
<field name="type">form</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<form string="Export Help Data"> |
||||
|
<group colspan="2"> |
||||
|
<field name="export_filename" |
||||
|
invisible="1"/> |
||||
|
</group> |
||||
|
<group> |
||||
|
<p> |
||||
|
This wizard allow you to export all QWeb views |
||||
|
related to help online. The result will be an Odoo |
||||
|
data xml file. |
||||
|
</p> |
||||
|
</group> |
||||
|
<group> |
||||
|
<field name="data" |
||||
|
nolabel="1" |
||||
|
readonly="1" |
||||
|
filename="export_filename" /> |
||||
|
</group> |
||||
|
<footer> |
||||
|
<span name="go-wizard" attrs="{'invisible': [('export_filename', '!=', False)]}"> |
||||
|
<button name="export_help" |
||||
|
string="Export" |
||||
|
type="object" |
||||
|
icon="gtk-execute" |
||||
|
class="oe_highlight" /> |
||||
|
or |
||||
|
</span> |
||||
|
<button string="Close" class="oe_link" special="cancel" /> |
||||
|
</footer> |
||||
|
</form> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record model="ir.actions.act_window" id="action_export_help_wizard"> |
||||
|
<field name="name">Export Help</field> |
||||
|
<field name="res_model">export.help.wizard</field> |
||||
|
<field name="view_id" ref="export_help_wizard_view"/> |
||||
|
<field name="view_type">form</field> |
||||
|
<field name="view_mode">form</field> |
||||
|
<field name="target">new</field> |
||||
|
<field name="type">ir.actions.act_window</field> |
||||
|
</record> |
||||
|
</odoo> |
@ -0,0 +1,53 @@ |
|||||
|
# -*- 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 base64 |
||||
|
from cStringIO import StringIO |
||||
|
from lxml import etree |
||||
|
import logging |
||||
|
import os |
||||
|
|
||||
|
from openerp import api, fields, models |
||||
|
from openerp.tools import convert, misc |
||||
|
from openerp.tools.config import config |
||||
|
|
||||
|
_logger = logging.getLogger(__name__) |
||||
|
|
||||
|
|
||||
|
class XmlImport(convert.xml_import): |
||||
|
"""Override base xml_import to be able to import record with an exported |
||||
|
xml_id ('__export__.XXX-XXX') |
||||
|
""" |
||||
|
|
||||
|
def _test_xml_id(self, xml_id): |
||||
|
if '.' in xml_id: |
||||
|
module, _id = xml_id.split('.') |
||||
|
if module == '__export__': |
||||
|
return True |
||||
|
super(XmlImport, self)._test_xml_id(xml_id) |
||||
|
|
||||
|
|
||||
|
class ImportHelpWizard(models.TransientModel): |
||||
|
_name = "import.help.wizard" |
||||
|
|
||||
|
source_file = fields.Binary('Source File') |
||||
|
|
||||
|
@api.multi |
||||
|
def import_help(self): |
||||
|
for this in self: |
||||
|
xmlfile = StringIO(base64.decodestring(this.source_file)) |
||||
|
doc = etree.parse(xmlfile) |
||||
|
relaxng = etree.RelaxNG( |
||||
|
etree.parse( |
||||
|
os.path.join(config['root_path'], 'import_xml.rng'))) |
||||
|
try: |
||||
|
relaxng.assert_(doc) |
||||
|
except Exception: |
||||
|
_logger.info('The XML file does not fit the required schema !', |
||||
|
exc_info=True) |
||||
|
_logger.info(misc.ustr(relaxng.error_log.last_error)) |
||||
|
raise |
||||
|
obj = XmlImport(self.env.cr, self._module, idref={}, mode='init', |
||||
|
report=None, noupdate=False, xml_filename=None) |
||||
|
obj.parse(doc.getroot(), mode='init') |
@ -0,0 +1,43 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<record model="ir.ui.view" id="import_help_wizard_view"> |
||||
|
<field name="name">import.help.wizard.view</field> |
||||
|
<field name="model">import.help.wizard</field> |
||||
|
<field name="type">form</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<form string="Import Help Data"> |
||||
|
<group> |
||||
|
<p> |
||||
|
This wizard allow you to import QWeb views |
||||
|
related to help online. The required file format is an Odoo |
||||
|
data xml file. |
||||
|
</p> |
||||
|
</group> |
||||
|
<group> |
||||
|
<field name="source_file"/> |
||||
|
</group> |
||||
|
<footer> |
||||
|
<span name="go-wizard" attrs="{'invisible': [('source_file', '=', False)]}"> |
||||
|
<button name="import_help" |
||||
|
string="Import" |
||||
|
type="object" |
||||
|
icon="gtk-execute" |
||||
|
class="oe_highlight" /> |
||||
|
or |
||||
|
</span> |
||||
|
<button string="Close" class="oe_link" special="cancel" /> |
||||
|
</footer> |
||||
|
</form> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record model="ir.actions.act_window" id="action_import_help_wizard"> |
||||
|
<field name="name">Import Help</field> |
||||
|
<field name="res_model">import.help.wizard</field> |
||||
|
<field name="view_id" ref="import_help_wizard_view"/> |
||||
|
<field name="view_type">form</field> |
||||
|
<field name="view_mode">form</field> |
||||
|
<field name="target">new</field> |
||||
|
<field name="type">ir.actions.act_window</field> |
||||
|
</record> |
||||
|
</odoo> |
@ -0,0 +1,86 @@ |
|||||
|
|
||||
|
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg |
||||
|
:alt: License: AGPL-3 |
||||
|
|
||||
|
Help Popup |
||||
|
=========== |
||||
|
|
||||
|
This module adds an html help popup on each model action. |
||||
|
Two help fields are added to actions: enduser_help (html widget) |
||||
|
and advanced_help. |
||||
|
|
||||
|
|
||||
|
Installation |
||||
|
============ |
||||
|
|
||||
|
It was tested on Odoo 8.0 branch. |
||||
|
|
||||
|
|
||||
|
Configuration |
||||
|
============= |
||||
|
|
||||
|
Go to the action of your choice to add some help content |
||||
|
or put data in some modules. |
||||
|
|
||||
|
To display the button which open the popup, enduser_help or advanced_help field |
||||
|
should be set to any value. |
||||
|
|
||||
|
|
||||
|
Usage |
||||
|
===== |
||||
|
|
||||
|
Click on ? button |
||||
|
|
||||
|
|
||||
|
.. image:: help_popup/static/description/popup.png |
||||
|
:alt: License: Help Popup |
||||
|
|
||||
|
|
||||
|
Alternative |
||||
|
----------- |
||||
|
If you have website module installed, it could be an option |
||||
|
to install help_online instead of this module. |
||||
|
|
||||
|
Help Online is more advanced (allow the end user to add help) |
||||
|
but depends on an other module. |
||||
|
Help popup is more like an embedded help that use power users for end users. |
||||
|
|
||||
|
|
||||
|
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 |
||||
|
`here <https://github.com/OCA/web/issues/new?body=module:%20web%0Aversion:%200.5%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. |
||||
|
|
||||
|
|
||||
|
Credits |
||||
|
======= |
||||
|
|
||||
|
Contributors |
||||
|
------------ |
||||
|
|
||||
|
* Sylvain Calador <sylvain.calador@akretion.com> |
||||
|
* David Beal <david.beal@akretion.com> |
||||
|
|
||||
|
|
||||
|
Icons |
||||
|
------ |
||||
|
https://www.iconfinder.com/Vecteezy |
||||
|
|
||||
|
|
||||
|
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 http://odoo-community.org. |
@ -0,0 +1 @@ |
|||||
|
from . import model |
@ -0,0 +1,43 @@ |
|||||
|
# coding: utf-8 |
||||
|
############################################################################## |
||||
|
# |
||||
|
# Odoo, Open Source Management Solution |
||||
|
# Copyright (C) 2015-TODAY Akretion (<http://www.akretion.com>). |
||||
|
# |
||||
|
# 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/>. |
||||
|
# |
||||
|
############################################################################## |
||||
|
|
||||
|
{ |
||||
|
'name': 'Help Popup', |
||||
|
'version': '8.0.0.5.0', |
||||
|
'author': 'Akretion, Odoo Community Association (OCA)', |
||||
|
'depends': [ |
||||
|
'web', |
||||
|
], |
||||
|
'website': 'https://www.akretion.com', |
||||
|
'data': [ |
||||
|
'views/popup_help_view.xml', |
||||
|
'views/action_view.xml', |
||||
|
'report/report.xml', |
||||
|
'report/help.xml', |
||||
|
], |
||||
|
'demo': [ |
||||
|
'demo/help.xml', |
||||
|
], |
||||
|
'qweb': [ |
||||
|
'static/src/xml/popup_help.xml', |
||||
|
], |
||||
|
'installable': False, |
||||
|
} |
@ -0,0 +1,55 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
|
||||
|
<openerp> |
||||
|
<data noupdate="1"> |
||||
|
|
||||
|
<record id="base.action_partner_form" model="ir.actions.act_window"> |
||||
|
<field name="enduser_help"><![CDATA[ |
||||
|
<b>Hi Odooer,</b> |
||||
|
|
||||
|
<br/> |
||||
|
<br/> |
||||
|
<p> |
||||
|
I'm the field 'enduser_help' in the Customer action model |
||||
|
</p> |
||||
|
<p> |
||||
|
I'm displayed in a Qweb html report |
||||
|
</p> |
||||
|
|
||||
|
<p> |
||||
|
Don't hesitate to customized me with your own words and syntax |
||||
|
</p> |
||||
|
|
||||
|
]]></field> |
||||
|
</record> |
||||
|
</data> |
||||
|
|
||||
|
<data noupdate="0"> |
||||
|
<record id="base.action_partner_form" model="ir.actions.act_window"> |
||||
|
<field name="advanced_help"><![CDATA[ |
||||
|
<b>Hi developers,</b> |
||||
|
|
||||
|
<br/> |
||||
|
<br/> |
||||
|
<p> |
||||
|
I'm the field 'advanced_help' in the customer action also displayed in Qweb report. |
||||
|
</p> |
||||
|
<p> |
||||
|
<b>Akretion</b> wrote these words to explain my main purpose: |
||||
|
<blockquote> |
||||
|
Allows to developers to write documentation on their work. |
||||
|
</blockquote> |
||||
|
</p> |
||||
|
<p> |
||||
|
|
||||
|
</p> |
||||
|
|
||||
|
<p>You can write any html tag. Here is an image with img tag</p> |
||||
|
|
||||
|
<img src="http://www.akretion.com/sites/50443990c3c67e1bf3000004/theme/images/logo.png"/> |
||||
|
|
||||
|
]]></field> |
||||
|
</record> |
||||
|
|
||||
|
</data> |
||||
|
</openerp> |
@ -0,0 +1,60 @@ |
|||||
|
# Translation of Odoo Server. |
||||
|
# This file contains the translation of the following modules: |
||||
|
# |
||||
|
msgid "" |
||||
|
msgstr "" |
||||
|
"Project-Id-Version: Odoo Server 8.0\n" |
||||
|
"Report-Msgid-Bugs-To: \n" |
||||
|
"POT-Creation-Date: 2015-07-23 13:41+0000\n" |
||||
|
"PO-Revision-Date: 2015-07-23 15:47+0100\n" |
||||
|
"Last-Translator: David BEAL <david.beal@akretion.com>\n" |
||||
|
"Language-Team: \n" |
||||
|
"Language: fr\n" |
||||
|
"MIME-Version: 1.0\n" |
||||
|
"Content-Type: text/plain; charset=UTF-8\n" |
||||
|
"Content-Transfer-Encoding: 8bit\n" |
||||
|
"Plural-Forms: \n" |
||||
|
"X-Generator: Poedit 1.7.5\n" |
||||
|
|
||||
|
#. module: help_popup |
||||
|
#: model:ir.actions.report.xml,name:help_popup.report_help_popup |
||||
|
msgid "Contextual Help" |
||||
|
msgstr "Aide contextuelle" |
||||
|
|
||||
|
#. module: help_popup |
||||
|
#: field:ir.actions.act_window,advanced_help:0 |
||||
|
msgid "Custom Help" |
||||
|
msgstr "Aide personnalisée" |
||||
|
|
||||
|
#. module: help_popup |
||||
|
#: field:ir.actions.act_window,enduser_help:0 |
||||
|
msgid "End User Help" |
||||
|
msgstr "Aide Utilisateurs Finaux" |
||||
|
|
||||
|
#. module: help_popup |
||||
|
#: view:website:help_popup.tpl_help |
||||
|
msgid "Help from Odoo" |
||||
|
msgstr "Aide d'Odoo" |
||||
|
|
||||
|
#. module: help_popup |
||||
|
#: view:website:help_popup.tpl_help |
||||
|
msgid "Help from developer" |
||||
|
msgstr "Aide du développeur" |
||||
|
|
||||
|
#. module: help_popup |
||||
|
#: help:ir.actions.act_window,advanced_help:0 |
||||
|
msgid "" |
||||
|
"Use this field to add custom content for documentation purpose\n" |
||||
|
"mainly by developers" |
||||
|
msgstr "" |
||||
|
"Utilisez ce champ pour ajouter du contenu documentaire\n" |
||||
|
"principalement par les développeurs" |
||||
|
|
||||
|
#. module: help_popup |
||||
|
#: help:ir.actions.act_window,enduser_help:0 |
||||
|
msgid "" |
||||
|
"Use this field to add custom content for documentation purpose\n" |
||||
|
"mainly by power users " |
||||
|
msgstr "" |
||||
|
"Utilisez ce champ pour ajouter du contenu documentaire\n" |
||||
|
"principalement par les utilisateurs avancés." |
@ -0,0 +1,61 @@ |
|||||
|
# Translation of Odoo Server. |
||||
|
# This file contains the translation of the following modules: |
||||
|
# * help_popup |
||||
|
# |
||||
|
msgid "" |
||||
|
msgstr "" |
||||
|
"Project-Id-Version: Odoo Server 8.0\n" |
||||
|
"Report-Msgid-Bugs-To: \n" |
||||
|
"POT-Creation-Date: 2015-08-02 10:26+0200\n" |
||||
|
"PO-Revision-Date: 2015-08-02 10:28+0200\n" |
||||
|
"Last-Translator: Matjaz Mozetic <m.mozetic@matmoz.si>\n" |
||||
|
"Language-Team: \n" |
||||
|
"MIME-Version: 1.0\n" |
||||
|
"Content-Type: text/plain; charset=UTF-8\n" |
||||
|
"Content-Transfer-Encoding: 8bit\n" |
||||
|
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" |
||||
|
"X-Generator: Poedit 1.8.2\n" |
||||
|
"Language: sl\n" |
||||
|
|
||||
|
#. module: help_popup |
||||
|
#: model:ir.actions.report.xml,name:help_popup.report_help_popup |
||||
|
msgid "Contextual Help" |
||||
|
msgstr "Kontekstna pomoč" |
||||
|
|
||||
|
#. module: help_popup |
||||
|
#: field:ir.actions.act_window,advanced_help:0 |
||||
|
msgid "Custom Help" |
||||
|
msgstr "Prilagojena pomoč" |
||||
|
|
||||
|
#. module: help_popup |
||||
|
#: field:ir.actions.act_window,enduser_help:0 |
||||
|
msgid "End User Help" |
||||
|
msgstr "Pomoč za končnega uporabnika" |
||||
|
|
||||
|
#. module: help_popup |
||||
|
#: view:website:help_popup.tpl_help |
||||
|
msgid "Help from Odoo" |
||||
|
msgstr "Pomoč iz Odoo" |
||||
|
|
||||
|
#. module: help_popup |
||||
|
#: view:website:help_popup.tpl_help |
||||
|
msgid "Help from developer" |
||||
|
msgstr "Pomoč razvijalca" |
||||
|
|
||||
|
#. module: help_popup |
||||
|
#: help:ir.actions.act_window,advanced_help:0 |
||||
|
msgid "" |
||||
|
"Use this field to add custom content for documentation purpose\n" |
||||
|
"mainly by developers" |
||||
|
msgstr "" |
||||
|
"Uporabite to polje za dodajanje prilagojenih vsebin za namen\n" |
||||
|
"dokumentiranja, v glavnem za razvijalce" |
||||
|
|
||||
|
#. module: help_popup |
||||
|
#: help:ir.actions.act_window,enduser_help:0 |
||||
|
msgid "" |
||||
|
"Use this field to add custom content for documentation purpose\n" |
||||
|
"mainly by power users " |
||||
|
msgstr "" |
||||
|
"Uporabite to polje za dodajanje prilagojenih vsebin za namen\n" |
||||
|
"dokumentiranja, v glavnem za napredne uporabnike" |
@ -0,0 +1,35 @@ |
|||||
|
# coding: utf-8 |
||||
|
############################################################################## |
||||
|
# |
||||
|
# Odoo, Open Source Management Solution |
||||
|
# Copyright (C) 2015-TODAY Akretion (<http://www.akretion.com>). |
||||
|
# |
||||
|
# 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 openerp import models, fields |
||||
|
|
||||
|
|
||||
|
class IrActionsActwindow(models.Model): |
||||
|
_inherit = 'ir.actions.act_window' |
||||
|
|
||||
|
enduser_help = fields.Html( |
||||
|
string="End User Help", |
||||
|
help="Use this field to add custom content for documentation purpose\n" |
||||
|
"mainly by power users ") |
||||
|
advanced_help = fields.Text( |
||||
|
string="Advanced Help", |
||||
|
help="Use this field to add custom content for documentation purpose\n" |
||||
|
"mainly by developers") |
@ -0,0 +1,40 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
|
||||
|
<openerp> |
||||
|
<data noupdate="1"> |
||||
|
|
||||
|
<template id="tpl_help"> |
||||
|
|
||||
|
<t t-call="report.html_container"> |
||||
|
<t t-call="report.internal_layout"> |
||||
|
|
||||
|
|
||||
|
<t t-foreach="docs" t-as="o"> |
||||
|
|
||||
|
<div class="page"> |
||||
|
|
||||
|
<div t-raw="o.enduser_help"/> |
||||
|
|
||||
|
<hr width="70%"/> |
||||
|
|
||||
|
<h3 t-if="o.advanced_help">Help from developer</h3> |
||||
|
<div t-raw="o.advanced_help"/> |
||||
|
|
||||
|
<hr width="70%"/> |
||||
|
|
||||
|
<h3 t-if="o.help">Help from Odoo</h3> |
||||
|
<div t-raw="o.help"/> |
||||
|
|
||||
|
</div> |
||||
|
|
||||
|
<!--end foreach--> |
||||
|
</t> |
||||
|
|
||||
|
</t> |
||||
|
</t> |
||||
|
|
||||
|
</template> |
||||
|
|
||||
|
|
||||
|
</data> |
||||
|
</openerp> |
@ -0,0 +1,13 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
|
||||
|
<openerp> |
||||
|
<data> |
||||
|
|
||||
|
<report id="report_help_popup" |
||||
|
model="ir.actions.act_window" |
||||
|
string="Contextual Help" |
||||
|
name="help_popup.tpl_help" |
||||
|
report_type="qweb-html"/> |
||||
|
|
||||
|
</data> |
||||
|
</openerp> |
After Width: 79 | Height: 69 | Size: 1.6 KiB |
After Width: 874 | Height: 793 | Size: 121 KiB |
@ -0,0 +1,35 @@ |
|||||
|
openerp.help_popup = function(instance, local) { |
||||
|
|
||||
|
var _t = instance.web._t; |
||||
|
instance.web.ViewManager.include({ |
||||
|
|
||||
|
do_create_view: function(view_type) { |
||||
|
var self = this; |
||||
|
var res = self._super(view_type); |
||||
|
self.$el.find('span.view_help').each(function () { |
||||
|
var $elem = $(this); |
||||
|
if ($elem.data('click-init')) { |
||||
|
return true; |
||||
|
} |
||||
|
$elem.data('click-init', true); |
||||
|
//alert('ee' + self.action)
|
||||
|
console.log(self.action.id) |
||||
|
if (self.action.id == undefined || (self.action.advanced_help == '' && self.action.enduser_help == '')) { |
||||
|
self.$el.find('span.view_help').hide() |
||||
|
} |
||||
|
$elem.on('click', function(e) { |
||||
|
var params = 'height=650, width=800, location=no, '; |
||||
|
params += 'resizable=yes, menubar=yes'; |
||||
|
path = self.action.id; |
||||
|
my_window = window.open('/report/html/help_popup.tpl_help/' + path, 'Help', params); |
||||
|
// allows to back to the window if opened previoulsy
|
||||
|
setTimeout('my_window.focus()', 1); |
||||
|
}); |
||||
|
|
||||
|
return true; |
||||
|
|
||||
|
}); |
||||
|
return res; |
||||
|
}, |
||||
|
}); |
||||
|
} |
@ -0,0 +1,8 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<templates> |
||||
|
<t t-name="ViewManagerAction" t-extend="ViewManagerAction"> |
||||
|
<t t-jquery="h2.oe_view_title" t-operation="before"> |
||||
|
<span> &nbsp; </span><span class="oe_button oe_highlight view_help">?</span> |
||||
|
</t> |
||||
|
</t> |
||||
|
</templates> |
@ -0,0 +1,18 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<openerp> |
||||
|
<data> |
||||
|
|
||||
|
<record id="view_window_action_form" model="ir.ui.view"> |
||||
|
<field name="model">ir.actions.act_window</field> |
||||
|
<field name="inherit_id" |
||||
|
ref="base.view_window_action_form"/> |
||||
|
<field name="arch" type="xml"> |
||||
|
<field name="help" position="after"> |
||||
|
<field name="enduser_help"/> |
||||
|
<field name="advanced_help"/> |
||||
|
</field> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
</data> |
||||
|
</openerp> |
@ -0,0 +1,11 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<openerp> |
||||
|
<data> |
||||
|
<template id="assets_backend" name="custom assets" inherit_id="web.assets_backend"> |
||||
|
<xpath expr="." position="inside"> |
||||
|
<script type="text/javascript" |
||||
|
src="/help_popup/static/src/js/popup_help.js"/> |
||||
|
</xpath> |
||||
|
</template> |
||||
|
</data> |
||||
|
</openerp> |
@ -1 +1 @@ |
|||||
12.0.20190710.0 |
|
||||
|
9.0.20180721.0 |
@ -0,0 +1 @@ |
|||||
|
__import__('pkg_resources').declare_namespace(__name__) |
@ -0,0 +1 @@ |
|||||
|
../../../help_online |
@ -0,0 +1 @@ |
|||||
|
__import__('pkg_resources').declare_namespace(__name__) |
@ -0,0 +1 @@ |
|||||
|
../../../support_branding |
@ -0,0 +1 @@ |
|||||
|
__import__('pkg_resources').declare_namespace(__name__) |
@ -0,0 +1 @@ |
|||||
|
../../../web_access_rule_buttons |
@ -0,0 +1 @@ |
|||||
|
__import__('pkg_resources').declare_namespace(__name__) |
@ -0,0 +1 @@ |
|||||
|
../../../web_action_conditionable |
@ -1 +0,0 @@ |
|||||
../../../../web_advanced_search |
|
@ -0,0 +1 @@ |
|||||
|
__import__('pkg_resources').declare_namespace(__name__) |
@ -0,0 +1 @@ |
|||||
|
../../../web_advanced_search_x2x |
@ -1 +0,0 @@ |
|||||
../../../../web_company_color |
|
@ -0,0 +1 @@ |
|||||
|
__import__('pkg_resources').declare_namespace(__name__) |
@ -0,0 +1 @@ |
|||||
|
../../../web_dashboard_tile |
@ -1 +0,0 @@ |
|||||
../../../../web_decimal_numpad_dot |
|
@ -0,0 +1 @@ |
|||||
|
__import__('pkg_resources').declare_namespace(__name__) |
@ -0,0 +1 @@ |
|||||
|
../../../web_decimal_numpad_dot |
@ -1 +0,0 @@ |
|||||
../../../../web_dialog_size |
|
@ -0,0 +1 @@ |
|||||
|
__import__('pkg_resources').declare_namespace(__name__) |
@ -0,0 +1 @@ |
|||||
|
../../../web_dialog_size |
@ -1 +0,0 @@ |
|||||
../../../../web_disable_export_group |
|
@ -0,0 +1 @@ |
|||||
|
__import__('pkg_resources').declare_namespace(__name__) |
@ -0,0 +1 @@ |
|||||
|
../../../web_duplicate_visibility |
@ -0,0 +1 @@ |
|||||
|
__import__('pkg_resources').declare_namespace(__name__) |
@ -0,0 +1 @@ |
|||||
|
../../../web_easy_switch_company |
@ -1 +0,0 @@ |
|||||
../../../../web_edit_user_filter |
|
@ -1 +0,0 @@ |
|||||
../../../../web_editor_background_color |
|