Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

13.0 mig base technical features #96

Merged
merged 29 commits into from
Feb 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
c1b0425
[ADD] Access to technical features as a user preference
StefanRijnhart Jan 1, 2016
b882058
OCA Transbot updated translations from Transifex
oca-transbot Jan 10, 2016
424d153
[MIG] base_technical_features -> 10.0 (#568)
StefanRijnhart Oct 12, 2016
01f9d57
OCA Transbot updated translations from Transifex
oca-transbot Nov 29, 2016
529b8d3
[UPG] 11.0, base_technical_features
StefanRijnhart Oct 5, 2017
cfd33f5
[UPD] Update base_technical_features.pot
oca-travis Jun 29, 2018
dfa7427
Translated using Weblate (Arabic)
osoul Jun 30, 2018
416cc34
Translated using Weblate (Danish)
hhgabelgaard Sep 5, 2018
19697ca
Translated using Weblate (Spanish)
Oct 10, 2018
eabe06d
Translated using Weblate (Catalan)
Oct 10, 2018
c62281f
[12.0-mig-base] [MIG] base_technical_features: Migration to 12.0
Dec 6, 2018
2626e20
[UPD] README.rst
OCA-git-bot Dec 13, 2018
2b5f9db
[UPD] Update base_technical_features.pot
oca-travis Dec 13, 2018
90f2ec8
[FIX] travis error: duplicate implicit target name
primes2h Dec 23, 2018
0cd7b45
[UPD] README.rst
OCA-git-bot Dec 23, 2018
ef3bd5a
Translated using Weblate (Italian)
primes2h Dec 23, 2018
a8dbd14
Update translation files
oca-transbot Dec 29, 2018
2b2d2f7
Translated using Weblate (Italian)
primes2h Dec 29, 2018
ed3af60
Translated using Weblate (Portuguese)
pedrocs-exo Jul 5, 2019
d036412
[UPD] README.rst
OCA-git-bot Jul 29, 2019
9f5f37d
Translated using Weblate (Chinese (Simplified))
liweijie0812 Sep 2, 2019
318f612
Translated using Weblate (Portuguese (Brazil))
Sep 3, 2019
16323cd
Translated using Weblate (Croatian)
badbole Nov 13, 2019
c1115b3
[IMP]base_tchnical_features. Assign automatically to admin not to root
AaronHForgeFlow Nov 26, 2019
eea1585
base_technical_features 12.0.1.1.0
OCA-git-bot Nov 27, 2019
43f9ace
Translated using Weblate (Croatian)
badbole Dec 4, 2019
c99d77a
[IMP] base_technical_features: black, isort
jimhoefnagels Jan 13, 2020
8922da1
[MIG] base_technical_features: Migration to 13.0
jimhoefnagels Jan 13, 2020
0ef2582
[IMP] solve pre commit warnings
jimhoefnagels Jan 22, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .isort.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ line_length=88
known_odoo=odoo
known_odoo_addons=odoo.addons
sections=FUTURE,STDLIB,THIRDPARTY,ODOO,ODOO_ADDONS,FIRSTPARTY,LOCALFOLDER
known_third_party=dateutil,psycopg2,setuptools
known_third_party=dateutil,lxml,psycopg2,setuptools
103 changes: 103 additions & 0 deletions base_technical_features/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
========================
Technical features group
========================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--ux-lightgray.png?logo=github
:target: https://github.com/OCA/server-ux/tree/12.0/base_technical_features
:alt: OCA/server-ux
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/server-ux-12-0/server-ux-12-0-base_technical_features
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/250/12.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

==========================================================
Access to technical features without activating debug mode
==========================================================

In Odoo 9.0 and later, the debug mode grants every employee user access to the
technical features. This module enables persistent access to technical features
based on user preference.

**Table of contents**

.. contents::
:local:

Usage
=====

Configuration
=============

After installation of this module, every employee can still access technical
features for the applications that they have access to by enabling debug mode.
Additionally, users can check the *Technical feature* field in their
preferences to gain permanent access to the menus and views that fall under
this category.

.. figure:: https://raw.githubusercontent.com/OCA/server-ux/12.0/base_technical_features/static/description/user_preferences.png
:alt: User preferences

Upon installation of this module, this preference is already
set for the administrator user of the database.

In the background, this preference is mapped to the *Technical feature (w/o
debug mode)* group that this module adds. As an administrator, you can
therefore manage this preference from the regular Users and Groups menu items.
f it's not unique.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-ux/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 <https://github.com/OCA/server-ux/issues/new?body=module:%20base_technical_features%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Opener B.V.

Contributors
~~~~~~~~~~~~

* Stefan Rijnhart <stefan@opener.am>
* Jeroen Evens <jeroen.evenss@dynapps.be>

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

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.

This module is part of the `OCA/server-ux <https://github.com/OCA/server-ux/tree/12.0/base_technical_features>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions base_technical_features/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
13 changes: 13 additions & 0 deletions base_technical_features/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# © 2016 Opener B.V. (<https://opener.am>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Technical features group",
"summary": "Access to technical features without activating debug mode",
"version": "13.0.1.0.0",
"category": "Usability",
"website": "https://github.com/oca/server-ux",
"author": "Opener B.V., Odoo Community Association (OCA)",
"data": ["security/res_groups.xml", "views/res_users.xml", "data/res_users.xml"],
"license": "AGPL-3",
"installable": True,
}
6 changes: 6 additions & 0 deletions base_technical_features/data/res_users.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record model="res.users" id="base.user_admin">
<field name="technical_features" eval="True"/>
</record>
</odoo>
64 changes: 64 additions & 0 deletions base_technical_features/i18n/am.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * base_technical_features
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: server-tools (9.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-09-10 02:52+0000\n"
"PO-Revision-Date: 2016-01-05 19:43+0000\n"
"Last-Translator: <>\n"
"Language-Team: Amharic (http://www.transifex.com/oca/OCA-server-tools-9-0/"
"language/am/)\n"
"Language: am\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

#. module: base_technical_features
#: model:ir.model,name:base_technical_features.model_base
msgid "Base"
msgstr ""

#. module: base_technical_features
#: model:ir.model,name:base_technical_features.model_ir_ui_menu
msgid "Menu"
msgstr ""

#. module: base_technical_features
#: model:ir.model.fields,field_description:base_technical_features.field_res_users__show_technical_features
msgid "Show field Technical Features"
msgstr ""

#. module: base_technical_features
#: model:ir.model.fields,field_description:base_technical_features.field_res_users__technical_features
msgid "Technical Features"
msgstr ""

#. module: base_technical_features
#: model:res.groups,name:base_technical_features.group_technical_features
msgid "Technical Features (w/o debug mode)"
msgstr ""

#. module: base_technical_features
#: code:addons/base_technical_features/models/res_users.py:48
#, python-format
msgid "The user does not have access to technical features."
msgstr ""

#. module: base_technical_features
#: model:ir.model,name:base_technical_features.model_res_users
msgid "Users"
msgstr ""

#. module: base_technical_features
#: model:ir.model.fields,help:base_technical_features.field_res_users__show_technical_features
msgid ""
"Whether to display the technical features field in the user preferences."
msgstr ""

#~ msgid "ID"
#~ msgstr "ID"
66 changes: 66 additions & 0 deletions base_technical_features/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * base_technical_features
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-02-18 02:29+0000\n"
"PO-Revision-Date: 2018-07-01 04:01+0000\n"
"Last-Translator: Osoul <baruni@osoul.ly>\n"
"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n"
"Language: ar\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \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 ? 4 : 5;\n"
"X-Generator: Weblate 3.0.1\n"

#. module: base_technical_features
#: model:ir.model,name:base_technical_features.model_base
msgid "Base"
msgstr ""

#. module: base_technical_features
#: model:ir.model,name:base_technical_features.model_ir_ui_menu
msgid "Menu"
msgstr ""

#. module: base_technical_features
#: model:ir.model.fields,field_description:base_technical_features.field_res_users__show_technical_features
msgid "Show field Technical Features"
msgstr "إظهار خانة المزايا التقنية"

#. module: base_technical_features
#: model:ir.model.fields,field_description:base_technical_features.field_res_users__technical_features
msgid "Technical Features"
msgstr "المزايا التقنية"

#. module: base_technical_features
#: model:res.groups,name:base_technical_features.group_technical_features
msgid "Technical Features (w/o debug mode)"
msgstr "المزايا التقنية (بدون وضع التطوير)"

#. module: base_technical_features
#: code:addons/base_technical_features/models/res_users.py:48
#, python-format
msgid "The user does not have access to technical features."
msgstr "هذا المستخدم ليس لديه صلاحية للمزايا التقنية."

#. module: base_technical_features
#: model:ir.model,name:base_technical_features.model_res_users
msgid "Users"
msgstr "المستخدمون"

#. module: base_technical_features
#: model:ir.model.fields,help:base_technical_features.field_res_users__show_technical_features
msgid ""
"Whether to display the technical features field in the user preferences."
msgstr ""

#~ msgid "base"
#~ msgstr "الأساس"
56 changes: 56 additions & 0 deletions base_technical_features/i18n/base_technical_features.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * base_technical_features
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: base_technical_features
#: model:ir.model,name:base_technical_features.model_base
msgid "Base"
msgstr ""

#. module: base_technical_features
#: model:ir.model,name:base_technical_features.model_ir_ui_menu
msgid "Menu"
msgstr ""

#. module: base_technical_features
#: model:ir.model.fields,field_description:base_technical_features.field_res_users__show_technical_features
msgid "Show field Technical Features"
msgstr ""

#. module: base_technical_features
#: model:ir.model.fields,field_description:base_technical_features.field_res_users__technical_features
msgid "Technical Features"
msgstr ""

#. module: base_technical_features
#: model:res.groups,name:base_technical_features.group_technical_features
msgid "Technical Features (w/o debug mode)"
msgstr ""

#. module: base_technical_features
#: code:addons/base_technical_features/models/res_users.py:48
#, python-format
msgid "The user does not have access to technical features."
msgstr ""

#. module: base_technical_features
#: model:ir.model,name:base_technical_features.model_res_users
msgid "Users"
msgstr ""

#. module: base_technical_features
#: model:ir.model.fields,help:base_technical_features.field_res_users__show_technical_features
msgid "Whether to display the technical features field in the user preferences."
msgstr ""

70 changes: 70 additions & 0 deletions base_technical_features/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * base_technical_features
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-08-01 02:43+0000\n"
"PO-Revision-Date: 2018-10-10 21:20+0000\n"
"Last-Translator: Harald Panten <harald.panten@qubiq.es>\n"
"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n"
"Language: ca\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 3.1.1\n"

#. module: base_technical_features
#: model:ir.model,name:base_technical_features.model_base
msgid "Base"
msgstr ""

#. module: base_technical_features
#: model:ir.model,name:base_technical_features.model_ir_ui_menu
msgid "Menu"
msgstr ""

#. module: base_technical_features
#: model:ir.model.fields,field_description:base_technical_features.field_res_users__show_technical_features
msgid "Show field Technical Features"
msgstr "Mostrar el camp Característiques Tècniques"

#. module: base_technical_features
#: model:ir.model.fields,field_description:base_technical_features.field_res_users__technical_features
msgid "Technical Features"
msgstr "Característiques tècniques"

#. module: base_technical_features
#: model:res.groups,name:base_technical_features.group_technical_features
msgid "Technical Features (w/o debug mode)"
msgstr "Característiques tècniques (sense mode de depuració)"

#. module: base_technical_features
#: code:addons/base_technical_features/models/res_users.py:48
#, python-format
msgid "The user does not have access to technical features."
msgstr "L'usuari no té accés a les carcaterístiques tècniques."

#. module: base_technical_features
#: model:ir.model,name:base_technical_features.model_res_users
msgid "Users"
msgstr "Usuaris"

#. module: base_technical_features
#: model:ir.model.fields,help:base_technical_features.field_res_users__show_technical_features
msgid ""
"Whether to display the technical features field in the user preferences."
msgstr ""
"Mostrar o no el camp de característiques tècniques a les preferències "
"d'usuari."

#~ msgid "base"
#~ msgstr "base de dades"

#~ msgid "ir.ui.menu"
#~ msgstr "ir.ui.menu"
Loading