Skip to content

Commit

Permalink
#779328 smile_web_impex to v12
Browse files Browse the repository at this point in the history
  • Loading branch information
73930800 committed Apr 15, 2019
1 parent 81988ee commit 7a6f141
Show file tree
Hide file tree
Showing 11 changed files with 725 additions and 0 deletions.
74 changes: 74 additions & 0 deletions smile_web_impex/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
==============================
Access rules for Import/Export
==============================

.. |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-Smile_SA%2Fodoo_addons-lightgray.png?logo=github
:target: https://github.com/Smile-SA/odoo_addons/tree/11.0/smile_web_impex
:alt: Smile-SA/odoo_addons

|badge2| |badge3|

This module adds access rules for import/export features.

For each user, you can indicate if it can import/export data.

**Table of contents**

.. contents::
:local:

Usage
=====

**Access rights configuration**

.. figure:: static/description/access_rights.png
:alt: access_rights
:width: 100%

**Import/Export**

.. figure:: static/description/impex.png
:alt: access_rights
:width: 100%

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

Bugs are tracked on `GitHub Issues <https://github.com/Smile-SA/odoo_addons/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/Smile-SA/odoo_addons/issues/new?body=module:%20smile_web_impex%0Aversion:%2011.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
~~~~~~~

* Smile SA

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

* Corentin Pouhet-Brunerie

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

This module is maintained by the Smile SA.

Since 1991 Smile has been a pioneer of technology and also the European expert in open source solutions.

.. image:: https://avatars0.githubusercontent.com/u/572339?s=200&v=4
:alt: Smile SA
:target: http://smile.fr

This module is part of the `odoo-addons <https://github.com/Smile-SA/odoo_addons>`_ project on GitHub.

You are welcome to contribute.
3 changes: 3 additions & 0 deletions smile_web_impex/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-
# (C) 2019 Smile (<http://www.smile.fr>)
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl).
30 changes: 30 additions & 0 deletions smile_web_impex/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# -*- coding: utf-8 -*-
# (C) 2019 Smile (<http://www.smile.fr>)
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl).

{
"name": "Access rules for Import/Export",
"version": "0.1",
"depends": ['web'],
"author": "Smile",
"license": 'AGPL-3',
"description": """
Add access rules for import / export features
=============================================
For each user, you can indicate if it can export / import data
Suggestions & Feedback to: Corentin Pouhet-Brunerie
""",
"summary": "",
"website": "http://www.smile.fr",
"category": 'Tools',
"sequence": 20,
"data": [
'security/web_impex_security.xml',
'views/webclient_templates.xml',
],
"auto_install": True,
"installable": True,
"application": False,
}
55 changes: 55 additions & 0 deletions smile_web_impex/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * smile_web_impex
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-04-15 09:06+0000\n"
"PO-Revision-Date: 2019-04-15 09:06+0000\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: smile_web_impex
#. openerp-web
#: code:addons/smile_web_impex/static/src/js/web_impex.js:80
#, python-format
msgid "Archive"
msgstr "Archiver"

#. module: smile_web_impex
#. openerp-web
#: code:addons/smile_web_impex/static/src/js/web_impex.js:90
#, python-format
msgid "Delete"
msgstr "Supprimer"

#. module: smile_web_impex
#. openerp-web
#: code:addons/smile_web_impex/static/src/js/web_impex.js:73
#, python-format
msgid "Export"
msgstr "Exporter"

#. module: smile_web_impex
#: model:res.groups,name:smile_web_impex.group_export
msgid "Export data"
msgstr "Exporter les données"

#. module: smile_web_impex
#: model:res.groups,name:smile_web_impex.group_import
msgid "Import data"
msgstr "Importer les données"

#. module: smile_web_impex
#. openerp-web
#: code:addons/smile_web_impex/static/src/js/web_impex.js:84
#, python-format
msgid "Unarchive"
msgstr "Désarchiver"

15 changes: 15 additions & 0 deletions smile_web_impex/security/web_impex_security.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>

<record id="group_export" model="res.groups">
<field name="name">Export data</field>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
<record id="group_import" model="res.groups">
<field name="name">Import data</field>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>

</data>
</odoo>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added smile_web_impex/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added smile_web_impex/static/description/impex.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 7a6f141

Please sign in to comment.