diff --git a/pim/README.rst b/pim/README.rst new file mode 100644 index 00000000..29a80fba --- /dev/null +++ b/pim/README.rst @@ -0,0 +1,94 @@ +============================== +Product Information Management +============================== + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! 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%2Fodoo--pim-lightgray.png?logo=github + :target: https://github.com/OCA/odoo-pim/tree/14.0/pim + :alt: OCA/odoo-pim +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/odoo-pim-14-0/odoo-pim-14-0-pim + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/295/14.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +A basic module for Product Information Management. + +The module itself doesn't do anything. It only creates a new application menu "PIM" gathering native views about Products : + +- Products and Products Variants views +- Attributes +- Categories + +It also creates a new user group category with 3 access rights levels : + +- PIM Reader +- PIM User +- PIM Manager + +**Table of contents** + +.. contents:: + :local: + +Configuration +============= + +Define your user **PIM access rights** in the Application Accesses as a Manager, User or Reader and the application menu "PIM" will appear. + +Bug Tracker +=========== + +Bugs are tracked on `GitHub 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 `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Akretion + +Contributors +~~~~~~~~~~~~ + +* Sébastien BEAU +* Clément Mombereau +* Cédric PIGEON +* Denis Roussel +* Dhara Solanki + +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/odoo-pim `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/pim/__init__.py b/pim/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/pim/__manifest__.py b/pim/__manifest__.py new file mode 100644 index 00000000..193cf1c7 --- /dev/null +++ b/pim/__manifest__.py @@ -0,0 +1,28 @@ +# Copyright 2020 Akretion +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Product Information Management", + "version": "16.0.1.0.0", + "license": "AGPL-3", + "author": "Akretion,Odoo Community Association (OCA)", + "website": "https://github.com/OCA/odoo-pim", + "depends": [ + "product", + "product_attribute_set", + "product_attribute_set_completeness", + ], + "data": [ + "data/ir_module_category_data.xml", + "security/pim_security.xml", + "views/product_view.xml", + "views/pim_view.xml", + "views/attribute_set.xml", + "views/attribute_group.xml", + "views/attribute_attribute.xml", + "views/product_attribute_value.xml", + ], + "demo": [], + "installable": True, + "application": True, +} diff --git a/pim/data/ir_module_category_data.xml b/pim/data/ir_module_category_data.xml new file mode 100644 index 00000000..21da090c --- /dev/null +++ b/pim/data/ir_module_category_data.xml @@ -0,0 +1,8 @@ + + + + PIM + Manage your products catalogue easily + 2 + + diff --git a/pim/i18n/pim.pot b/pim/i18n/pim.pot new file mode 100644 index 00000000..209f900a --- /dev/null +++ b/pim/i18n/pim.pot @@ -0,0 +1,127 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * pim +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.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: pim +#: model:res.groups,comment:pim.group_pim_manager +msgid "" +"\n" +" the user will be able to modify products and create attributes\n" +" " +msgstr "" + +#. module: pim +#: model:res.groups,comment:pim.group_pim_user +msgid "" +"\n" +" the user will be able to modify products but will not be authorized to\n" +" create attributes\n" +" " +msgstr "" + +#. module: pim +#: model:res.groups,comment:pim.group_pim_reader +msgid "" +"\n" +" the user will have only the right to consult the products catalogue\n" +" " +msgstr "" + +#. module: pim +#: model:ir.actions.act_window,name:pim.attribute_group_form_action +#: model:ir.ui.menu,name:pim.menu_attribute_group_action +msgid "Attribute Groups" +msgstr "" + +#. module: pim +#: model:ir.ui.menu,name:pim.main_menu_attribute +msgid "Attributes" +msgstr "" + +#. module: pim +#: model:ir.ui.menu,name:pim.menu_variant_attribute_value +msgid "Attributes Values" +msgstr "" + +#. module: pim +#: model:ir.ui.menu,name:pim.main_menu_category +msgid "Categories" +msgstr "" + +#. module: pim +#: model:ir.module.category,description:pim.module_category_pim +msgid "Manage your products catalogue easily" +msgstr "" + +#. module: pim +#: model:res.groups,name:pim.group_pim_manager +msgid "Manager" +msgstr "" + +#. module: pim +#: model:ir.module.category,name:pim.module_category_pim +#: model:ir.ui.menu,name:pim.root_menu_pim +msgid "PIM" +msgstr "" + +#. module: pim +#: model_terms:ir.ui.view,arch_db:pim.pim_product_template_tree_view +msgid "Product" +msgstr "" + +#. module: pim +#: model:ir.actions.act_window,name:pim.attribute_attribute_form_action +#: model:ir.ui.menu,name:pim.menu_attribute_attribute_action +msgid "Product Attribute" +msgstr "" + +#. module: pim +#: model:ir.actions.act_window,name:pim.attribute_set_form_action +#: model:ir.ui.menu,name:pim.menu_attribute_set_action +msgid "Product Attribute Sets" +msgstr "" + +#. module: pim +#: model:ir.actions.act_window,name:pim.product_attribute_value_action +#: model_terms:ir.ui.view,arch_db:pim.product_attribute_value_view_form +msgid "Product Attribute Values" +msgstr "" + +#. module: pim +#: model:ir.ui.menu,name:pim.menu_product_product +msgid "Product Variants" +msgstr "" + +#. module: pim +#: model:ir.actions.act_window,name:pim.product_template_action +#: model:ir.ui.menu,name:pim.main_menu_product +#: model:ir.ui.menu,name:pim.menu_product_template +msgid "Products" +msgstr "" + +#. module: pim +#: model:res.groups,name:pim.group_pim_reader +msgid "Reader" +msgstr "" + +#. module: pim +#: model:res.groups,name:pim.group_pim_user +msgid "User" +msgstr "" + +#. module: pim +#: model:ir.ui.menu,name:pim.main_menu_variant_attribute +#: model:ir.ui.menu,name:pim.menu_variant_attribute +msgid "Variants Attributes" +msgstr "" diff --git a/pim/readme/CONFIGURE.rst b/pim/readme/CONFIGURE.rst new file mode 100644 index 00000000..044a6dc4 --- /dev/null +++ b/pim/readme/CONFIGURE.rst @@ -0,0 +1 @@ +Define your user **PIM access rights** in the Application Accesses as a Manager, User or Reader and the application menu "PIM" will appear. diff --git a/pim/readme/CONTRIBUTORS.rst b/pim/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000..4f9e1828 --- /dev/null +++ b/pim/readme/CONTRIBUTORS.rst @@ -0,0 +1,5 @@ +* Sébastien BEAU +* Clément Mombereau +* Cédric PIGEON +* Denis Roussel +* Dhara Solanki diff --git a/pim/readme/DESCRIPTION.rst b/pim/readme/DESCRIPTION.rst new file mode 100644 index 00000000..1fd17e08 --- /dev/null +++ b/pim/readme/DESCRIPTION.rst @@ -0,0 +1,13 @@ +A basic module for Product Information Management. + +The module itself doesn't do anything. It only creates a new application menu "PIM" gathering native views about Products : + +- Products and Products Variants views +- Attributes +- Categories + +It also creates a new user group category with 3 access rights levels : + +- PIM Reader +- PIM User +- PIM Manager diff --git a/pim/readme/ROADMAP.rst b/pim/readme/ROADMAP.rst new file mode 100644 index 00000000..e69de29b diff --git a/pim/readme/USAGE.rst b/pim/readme/USAGE.rst new file mode 100644 index 00000000..e69de29b diff --git a/pim/security/pim_security.xml b/pim/security/pim_security.xml new file mode 100644 index 00000000..c037ba18 --- /dev/null +++ b/pim/security/pim_security.xml @@ -0,0 +1,30 @@ + + + + + Reader + + + the user will have only the right to consult the products catalogue + + + + User + + + + the user will be able to modify products but will not be authorized to + create attributes + + + + Manager + + + + + the user will be able to modify products and create attributes + + + diff --git a/pim/static/description/icon.png b/pim/static/description/icon.png new file mode 100644 index 00000000..ffded50a Binary files /dev/null and b/pim/static/description/icon.png differ diff --git a/pim/static/description/index.html b/pim/static/description/index.html new file mode 100644 index 00000000..ad71c1de --- /dev/null +++ b/pim/static/description/index.html @@ -0,0 +1,439 @@ + + + + + + +Product Information Management + + + +
+

Product Information Management

+ + +

Beta License: AGPL-3 OCA/odoo-pim Translate me on Weblate Try me on Runbot

+

A basic module for Product Information Management.

+

The module itself doesn’t do anything. It only creates a new application menu “PIM” gathering native views about Products :

+
    +
  • Products and Products Variants views
  • +
  • Attributes
  • +
  • Categories
  • +
+

It also creates a new user group category with 3 access rights levels :

+
    +
  • PIM Reader
  • +
  • PIM User
  • +
  • PIM Manager
  • +
+

Table of contents

+ +
+

Configuration

+

Define your user PIM access rights in the Application Accesses as a Manager, User or Reader and the application menu “PIM” will appear.

+
+
+

Bug Tracker

+

Bugs are tracked on GitHub 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.

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • Akretion
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

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/odoo-pim project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/pim/views/attribute_attribute.xml b/pim/views/attribute_attribute.xml new file mode 100644 index 00000000..9c22244b --- /dev/null +++ b/pim/views/attribute_attribute.xml @@ -0,0 +1,27 @@ + + + + Product Attribute + attribute.attribute + tree,form + + + + + + + diff --git a/pim/views/attribute_group.xml b/pim/views/attribute_group.xml new file mode 100644 index 00000000..14c3a3d9 --- /dev/null +++ b/pim/views/attribute_group.xml @@ -0,0 +1,20 @@ + + + + Attribute Groups + attribute.group + tree,form + + + + + + diff --git a/pim/views/attribute_set.xml b/pim/views/attribute_set.xml new file mode 100644 index 00000000..52fa4895 --- /dev/null +++ b/pim/views/attribute_set.xml @@ -0,0 +1,30 @@ + + + + + Product Attribute Sets + attribute.set + tree,form + + + + + + + diff --git a/pim/views/pim_view.xml b/pim/views/pim_view.xml new file mode 100644 index 00000000..5b076dae --- /dev/null +++ b/pim/views/pim_view.xml @@ -0,0 +1,67 @@ + + + + + Product Attribute Values + product.attribute.value + tree,form + + + + + + + + + + + + + diff --git a/pim/views/product_attribute_value.xml b/pim/views/product_attribute_value.xml new file mode 100644 index 00000000..6c97952b --- /dev/null +++ b/pim/views/product_attribute_value.xml @@ -0,0 +1,12 @@ + + + + product.attribute.value + + + + + + + + diff --git a/pim/views/product_view.xml b/pim/views/product_view.xml new file mode 100644 index 00000000..6ec2c309 --- /dev/null +++ b/pim/views/product_view.xml @@ -0,0 +1,59 @@ + + + + + pim.product.template.product.tree + product.template + 90 + + + + + + + + + + + + + + + + + + + Products + product.template + tree,kanban,form + + {"include_native_attribute": 1, "search_default_filter_to_sell": 1} + + diff --git a/setup/pim/odoo/addons/pim b/setup/pim/odoo/addons/pim new file mode 120000 index 00000000..e4b55084 --- /dev/null +++ b/setup/pim/odoo/addons/pim @@ -0,0 +1 @@ +../../../../pim \ No newline at end of file diff --git a/setup/pim/setup.py b/setup/pim/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/pim/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)