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

[MIG] pim: Migration to 16.0 #193

Open
wants to merge 37 commits into
base: 16.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
d1d85cd
[REF] rename modules based on attribute_set and pim
clementmbr May 18, 2020
822274e
[IMP] Add REAME to the 4 modules
clementmbr May 19, 2020
391eae5
[IMP] base.user_admin in Attribute Set and PIM Manager group
clementmbr May 27, 2020
26a6f68
[IMP] remove class in super() and other misc improvements
clementmbr May 27, 2020
e644e1c
[UPD] README.rst
Jun 5, 2020
e057ef0
[CHG] add dedicated product view for PIM and refactor addons structure
Jun 10, 2020
0410c93
[UPD] README.rst
Jun 11, 2020
0bbd125
pim 12.0.1.1.0
Jun 11, 2020
08a5e59
[UPD] README.rst
Jun 12, 2020
e0eef36
[13.0] Set modules to installable False
rousseldenis Jun 12, 2020
c9d3a26
[13.0] Set modules version to 13
rousseldenis Jun 12, 2020
8d8f15c
[10.0][FIX] do not replace odoo product defaut tree view by the pim view
Jun 18, 2020
8ff60eb
[13.0][MIG] pim
rousseldenis Jun 15, 2020
bb9acc6
[UPD] README.rst
Sep 25, 2020
b30ea8a
[MIG] make all modules uninstallable
Feb 18, 2021
308495e
[MIG] update pre-commit conf from copier
Feb 18, 2021
43655f9
[IMP] pim: black, isort, prettier
Jan 6, 2021
c101094
[MIG] 14.0 pim
Jan 11, 2021
fb0ddf1
[UPD] README.rst
Mar 4, 2021
145021d
[UPD] README.rst
OCA-git-bot Mar 17, 2021
dffcfd1
Apply dotfiles
sbidoul May 15, 2021
fffa047
[UPD] Update pim.pot
May 15, 2021
29a1756
pim 14.0.1.0.1
OCA-git-bot May 15, 2021
24ec609
[UPD] README.rst
OCA-git-bot May 15, 2021
b00c1ed
[14.0][MIG] product_attribute_set_completeness
xavier-bouquiaux Apr 16, 2021
d67e02e
pim 14.0.1.0.2
OCA-git-bot Oct 6, 2021
44439aa
[14.0][FIX] pim
xavier-bouquiaux Dec 10, 2021
c804938
pim 14.0.1.0.3
OCA-git-bot Jan 26, 2023
e558679
[14.0] pim: add sequence on product tree view
Jan 26, 2023
b6b68fb
pim 14.0.1.1.0
OCA-git-bot Jan 26, 2023
7e6eece
[UPD] README.rst
OCA-git-bot Sep 3, 2023
1a9cdcb
Added translation using Weblate (Spanish)
Ivorra78 Mar 17, 2024
170f835
Translated using Weblate (Spanish)
Ivorra78 Mar 17, 2024
8fc1480
Added translation using Weblate (Italian)
mymage Jan 2, 2025
dcc28e4
[IMP] pim: pre-commit stuff
kobros-tech Feb 6, 2025
5472714
[MIG] pim: Migration to 16.0
dsolanki-initos Jul 20, 2023
9b9043f
[IMP] pim: remove completeness dependency
kobros-tech Feb 6, 2025
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
98 changes: 98 additions & 0 deletions pim/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
==============================
Product Information Management
==============================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:90ca4229a4bc6ac1a4599e4c6215399a0a3e4721ae029bbc6497fcda6f43288c
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/16.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-16-0/odoo-pim-16-0-pim
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/odoo-pim&target_branch=16.0
:alt: Try me on Runboat

|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 to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/odoo-pim/issues/new?body=module:%20pim%0Aversion:%2016.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>
* Dhara Solanki <dhara.solanki@initos.com>
* Mohamed Alkobrosli <malkobrosly@kencove.com>

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/16.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": "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",
],
"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.
6 changes: 6 additions & 0 deletions pim/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
* 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>
* Dhara Solanki <dhara.solanki@initos.com>
* Mohamed Alkobrosli <malkobrosly@kencove.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