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

[15.0][MIG] pim: Migration to 15.0 #131

Closed
wants to merge 27 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
7dbf50d
[REF] rename modules based on attribute_set and pim
clementmbr May 18, 2020
1427eb2
[IMP] Add REAME to the 4 modules
clementmbr May 19, 2020
5a6c6c7
[IMP] base.user_admin in Attribute Set and PIM Manager group
clementmbr May 27, 2020
9edde0f
[IMP] remove class in super() and other misc improvements
clementmbr May 27, 2020
90753e9
[UPD] README.rst
Jun 5, 2020
3ebaaf1
[CHG] add dedicated product view for PIM and refactor addons structure
Jun 10, 2020
e9c9532
[UPD] README.rst
Jun 11, 2020
631f368
pim 12.0.1.1.0
Jun 11, 2020
6213461
[UPD] README.rst
Jun 12, 2020
f3a3cf3
[13.0] Set modules to installable False
rousseldenis Jun 12, 2020
8b6bef8
[13.0] Set modules version to 13
rousseldenis Jun 12, 2020
495c182
[10.0][FIX] do not replace odoo product defaut tree view by the pim view
Jun 18, 2020
c20831e
[13.0][MIG] pim
rousseldenis Jun 15, 2020
0a78d76
[UPD] README.rst
Sep 25, 2020
1d0a9f6
[MIG] make all modules uninstallable
Feb 18, 2021
5df879b
[MIG] update pre-commit conf from copier
Feb 18, 2021
841944f
[IMP] pim: black, isort, prettier
Jan 6, 2021
99997f6
[MIG] 14.0 pim
Jan 11, 2021
c850fe7
[UPD] README.rst
Mar 4, 2021
d7c0dbf
[UPD] README.rst
OCA-git-bot Mar 17, 2021
d553b32
Apply dotfiles
sbidoul May 15, 2021
a09ef29
[UPD] Update pim.pot
May 15, 2021
775a775
pim 14.0.1.0.1
OCA-git-bot May 15, 2021
fd0ce71
[UPD] README.rst
OCA-git-bot May 15, 2021
d026217
[14.0][MIG] product_attribute_set_completeness
xavier-bouquiaux Apr 16, 2021
e6d0b71
pim 14.0.1.0.2
OCA-git-bot Oct 6, 2021
a87abd9
[MIG] pim: Migration to 15.0
kevinkhao Nov 30, 2022
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
93 changes: 93 additions & 0 deletions pim/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
==============================
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 <https://github.com/OCA/odoo-pim/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/odoo-pim/issues/new?body=module:%20pim%0Aversion:%2014.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
~~~~~~~

* Akretion

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

* Sébastien BEAU <sebastien.beau@akretion.com>
* Clément Mombereau <clement.mombereau@akretion.com.br>
* Cédric PIGEON <cedric.pigeon@acsone.eu>
* Denis Roussel <denis.roussel@acsone.eu>

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 <https://github.com/OCA/odoo-pim/tree/14.0/pim>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file added pim/__init__.py
Empty file.
27 changes: 27 additions & 0 deletions pim/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copyright 2020 Akretion
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Product Information Management",
"version": "15.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_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,
}
8 changes: 8 additions & 0 deletions pim/data/ir_module_category_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="module_category_pim" model="ir.module.category">
<field name="name">PIM</field>
<field name="description">Manage your products catalogue easily</field>
<field name="sequence">2</field>
</record>
</odoo>
127 changes: 127 additions & 0 deletions pim/i18n/pim.pot
Original file line number Diff line number Diff line change
@@ -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 ""
1 change: 1 addition & 0 deletions pim/readme/CONFIGURE.rst
Original file line number Diff line number Diff line change
@@ -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.
5 changes: 5 additions & 0 deletions pim/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
* Sébastien BEAU <sebastien.beau@akretion.com>
* Clément Mombereau <clement.mombereau@akretion.com.br>
* Cédric PIGEON <cedric.pigeon@acsone.eu>
* Denis Roussel <denis.roussel@acsone.eu>
* Kevin Khao <kevin.khao@akretion.com>
13 changes: 13 additions & 0 deletions pim/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -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
Empty file added pim/readme/ROADMAP.rst
Empty file.
Empty file added pim/readme/USAGE.rst
Empty file.
30 changes: 30 additions & 0 deletions pim/security/pim_security.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2020 Akretion
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>
<record id="group_pim_reader" model="res.groups">
<field name="name">Reader</field>
<field name="category_id" ref="pim.module_category_pim" />
<field name="comment">
the user will have only the right to consult the products catalogue
</field>
</record>
<record id="group_pim_user" model="res.groups">
<field name="name">User</field>
<field name="category_id" ref="pim.module_category_pim" />
<field name="implied_ids" eval="[(4, ref('group_pim_reader'))]" />
<field name="comment">
the user will be able to modify products but will not be authorized to
create attributes
</field>
</record>
<record id="group_pim_manager" model="res.groups">
<field name="name">Manager</field>
<field name="category_id" ref="pim.module_category_pim" />
<field name="implied_ids" eval="[(4, ref('group_pim_user'))]" />
<field name="users" eval="[(4, ref('base.user_admin'))]" />
<field name="comment">
the user will be able to modify products and create attributes
</field>
</record>
</odoo>
Binary file added pim/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.
Loading