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 17.0 #194

Open
wants to merge 40 commits into
base: 17.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
4845257
[REF] rename modules based on attribute_set and pim
clementmbr May 18, 2020
d2f1045
[IMP] Add REAME to the 4 modules
clementmbr May 19, 2020
377d7a5
[IMP] base.user_admin in Attribute Set and PIM Manager group
clementmbr May 27, 2020
496abe3
[IMP] remove class in super() and other misc improvements
clementmbr May 27, 2020
88fbefb
[UPD] README.rst
Jun 5, 2020
f0cc2cc
[CHG] add dedicated product view for PIM and refactor addons structure
Jun 10, 2020
afd5f64
[UPD] README.rst
Jun 11, 2020
d36db12
pim 12.0.1.1.0
Jun 11, 2020
5cdc7ff
[UPD] README.rst
Jun 12, 2020
f2a9600
[13.0] Set modules to installable False
rousseldenis Jun 12, 2020
71fe346
[13.0] Set modules version to 13
rousseldenis Jun 12, 2020
24228de
[10.0][FIX] do not replace odoo product defaut tree view by the pim view
Jun 18, 2020
e105bd3
[13.0][MIG] pim
rousseldenis Jun 15, 2020
cb7eae8
[UPD] README.rst
Sep 25, 2020
f9a9286
[MIG] make all modules uninstallable
Feb 18, 2021
3a975b6
[MIG] update pre-commit conf from copier
Feb 18, 2021
1ee1e3a
[IMP] pim: black, isort, prettier
Jan 6, 2021
b78d04d
[MIG] 14.0 pim
Jan 11, 2021
9c84073
[UPD] README.rst
Mar 4, 2021
6c5310b
[UPD] README.rst
OCA-git-bot Mar 17, 2021
a56f343
Apply dotfiles
sbidoul May 15, 2021
659c318
[UPD] Update pim.pot
May 15, 2021
35837e0
pim 14.0.1.0.1
OCA-git-bot May 15, 2021
8b3083d
[UPD] README.rst
OCA-git-bot May 15, 2021
7e51faa
[14.0][MIG] product_attribute_set_completeness
xavier-bouquiaux Apr 16, 2021
f087000
pim 14.0.1.0.2
OCA-git-bot Oct 6, 2021
931b03e
[14.0][FIX] pim
xavier-bouquiaux Dec 10, 2021
9f1444c
pim 14.0.1.0.3
OCA-git-bot Jan 26, 2023
b37aebc
[14.0] pim: add sequence on product tree view
Jan 26, 2023
a70feff
pim 14.0.1.1.0
OCA-git-bot Jan 26, 2023
579cd99
[UPD] README.rst
OCA-git-bot Sep 3, 2023
94fcdab
Added translation using Weblate (Spanish)
Ivorra78 Mar 17, 2024
4c156fa
Translated using Weblate (Spanish)
Ivorra78 Mar 17, 2024
253be7b
Added translation using Weblate (Italian)
mymage Jan 2, 2025
56a07bb
[IMP] pim: pre-commit stuff
kobros-tech Feb 6, 2025
991ab3e
[MIG] pim: Migration to 16.0
dsolanki-initos Jul 20, 2023
c36be28
[IMP] pim: remove completeness dependency
kobros-tech Feb 6, 2025
56c125c
[IMP] pim: pre-commit auto fixes
kobros-tech Feb 6, 2025
785a903
[MIG] pim: Migration to 17.0
kobros-tech Feb 6, 2025
1960e1c
[FIX] pim: add correct context suffix
kobros-tech Feb 19, 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
110 changes: 110 additions & 0 deletions pim/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
==============================
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/17.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-17-0/odoo-pim-17-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=17.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.

Usage
=====



Known issues / Roadmap
======================



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:%2017.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/17.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": "17.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 ""
3 changes: 3 additions & 0 deletions pim/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
2 changes: 2 additions & 0 deletions pim/readme/CONFIGURE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
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.md
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>\>
14 changes: 14 additions & 0 deletions pim/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
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
1 change: 1 addition & 0 deletions pim/readme/ROADMAP.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions pim/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

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
Loading