-
-
Notifications
You must be signed in to change notification settings - Fork 76
[19.0][MIG] pim #231
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
Open
bosd
wants to merge
35
commits into
OCA:19.0
Choose a base branch
from
bosd:19.0-pim
base: 19.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[19.0][MIG] pim #231
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
70e86c2
[REF] rename modules based on attribute_set and pim
clementmbr 17f2721
[IMP] Add REAME to the 4 modules
clementmbr a938801
[IMP] base.user_admin in Attribute Set and PIM Manager group
clementmbr 3d283ce
[IMP] remove class in super() and other misc improvements
clementmbr b625d0d
[UPD] README.rst
875c7f1
[CHG] add dedicated product view for PIM and refactor addons structure
4714dd3
pim 12.0.1.1.0
50ef3cb
[13.0] Set modules to installable False
rousseldenis 91dab2c
[13.0] Set modules version to 13
rousseldenis f9ba088
[10.0][FIX] do not replace odoo product defaut tree view by the pim view
1c1b461
[13.0][MIG] pim
rousseldenis 3a7f604
[MIG] make all modules uninstallable
26036d0
[MIG] update pre-commit conf from copier
6d1d152
[IMP] pim: black, isort, prettier
e4a79cf
[MIG] 14.0 pim
a9e6afd
Apply dotfiles
sbidoul 85b95fd
[UPD] Update pim.pot
763b725
pim 14.0.1.0.1
OCA-git-bot 524b33c
[14.0][MIG] product_attribute_set_completeness
xavier-bouquiaux 379201c
pim 14.0.1.0.2
OCA-git-bot abfa2d7
[14.0][FIX] pim
xavier-bouquiaux d8b9315
pim 14.0.1.0.3
OCA-git-bot 36ce916
[14.0] pim: add sequence on product tree view
8c61090
pim 14.0.1.1.0
OCA-git-bot 089766d
Added translation using Weblate (Spanish)
Ivorra78 780959c
Added translation using Weblate (Italian)
mymage ffad793
[IMP] pim: pre-commit stuff
kobros-tech 8ae891e
[MIG] pim: Migration to 16.0
dsolanki-initos 2d61c4b
[IMP] pim: remove completeness dependency
kobros-tech cbe91cb
[IMP] pim: pre-commit auto fixes
kobros-tech 447c858
[MIG] pim: Migration to 18.0
kobros-tech 1619d48
[FIX] pim: add _view_ref suffix to the context key
kobros-tech 42e2833
[IMP] pim: pre-commit auto fixes
887bc8d
[MIG] pim: Migration to 19.0
01730ad
[TEST REQUIREMENTS DO NOT MERGE]
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,114 @@ | ||
| .. image:: https://odoo-community.org/readme-banner-image | ||
| :target: https://odoo-community.org/get-involved?utm_source=readme | ||
| :alt: Odoo Community Association | ||
|
|
||
| ============================== | ||
| 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/license-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/19.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-19-0/odoo-pim-19-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=19.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:%2019.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 <[email protected]> | ||
| - Clément Mombereau <[email protected]> | ||
| - Cédric PIGEON <[email protected]> | ||
| - Denis Roussel <[email protected]> | ||
| - Dhara Solanki <[email protected]> | ||
| - Mohamed Alkobrosli <[email protected]> | ||
|
|
||
| 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/19.0/pim>`_ project on GitHub. | ||
|
|
||
| You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
Empty file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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": "19.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, | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 "" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| [build-system] | ||
| requires = ["whool"] | ||
| build-backend = "whool.buildapi" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| - Sébastien BEAU \<<[email protected]>\> | ||
| - Clément Mombereau \<<[email protected]>\> | ||
| - Cédric PIGEON \<<[email protected]>\> | ||
| - Denis Roussel \<<[email protected]>\> | ||
| - Dhara Solanki \<<[email protected]>\> | ||
| - Mohamed Alkobrosli \<<[email protected]>\> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,26 @@ | ||||||
| <?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="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> | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| <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> | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| <field name="implied_ids" eval="[(4, ref('group_pim_user'))]" /> | ||||||
| <field name="comment"> | ||||||
| the user will be able to modify products and create attributes | ||||||
| </field> | ||||||
| </record> | ||||||
| </odoo> | ||||||
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.