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

TA#72151 [16.0][MIG] product_extra_views_stock #71

Open
wants to merge 2 commits into
base: 16.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .docker_files/main/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"category": "Other",
"summary": "Install all addons required for testing.",
"depends": [
"product",
"product_extra_views_stock",
],
"installable": True,
}
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,7 @@ RUN gitoo install-all --conf_file /gitoo.yml --destination "${THIRD_PARTY_ADDONS

USER odoo

COPY product_extra_views_stock /mnt/extra-addons/product_extra_views_stock

COPY .docker_files/main /mnt/extra-addons/main
COPY .docker_files/odoo.conf /etc/odoo
13 changes: 13 additions & 0 deletions product_extra_views_stock/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Product Extra Views / Inventory
===============================
This module adds a pivot and a graph view to product variants and product templates from the ``Inventory`` app.

.. image:: static/description/menu.png

Contributors
------------
* Numigi (tm) and all its contributors (https://bit.ly/numigiens)

More information
----------------
* Meet us at https://bit.ly/numigi-com
2 changes: 2 additions & 0 deletions product_extra_views_stock/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Copyright 2022 Numigi (tm) and all its contributors (https://bit.ly/numigiens)
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
22 changes: 22 additions & 0 deletions product_extra_views_stock/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2022 Numigi (tm) and all its contributors (https://bit.ly/numigiens)
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).

{
'name': 'Product Extra Views / Inventory',
'version': "16.0.1.0.0",
'author': 'Numigi',
'maintainer': 'Numigi',
'website': 'https://bit.ly/numigi-com',
'license': 'LGPL-3',
'category': 'Product',
'summary': 'Add pivot and graph views to products from inventory',
'depends': [
'product_extra_views',
'stock',
],
'data': [
'views/menu.xml',
],
'installable': True,
'auto_install': True,
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions product_extra_views_stock/views/menu.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>

<record id="stock.product_template_action_product" model="ir.actions.act_window">
<field name="view_mode">kanban,tree,form,pivot,graph</field>
</record>

<record id="stock.stock_product_normal_action" model="ir.actions.act_window">
<field name="view_mode">tree,form,kanban,pivot,graph</field>
</record>

</odoo>
Loading