Skip to content

Commit

Permalink
TA#72151 [16.0][MOV] stock_product_extra_views : move from Numigi pro…
Browse files Browse the repository at this point in the history
…duct repository as product_extra_views_stock (#208)
  • Loading branch information
lanto-razafindrabe authored Jan 27, 2025
1 parent fc17229 commit e3bc283
Show file tree
Hide file tree
Showing 9 changed files with 56 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .docker_files/main/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
"category": "Other",
"summary": "Install all addons required for testing.",
"depends": [
"stock",
"stock_account_visibility",
"stock_move_origin_link",
"stock_picking_show_address",
"stock_product_extra_views",
"stock_quant_by_category",
],
"installable": True,
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ USER odoo
COPY stock_account_visibility /mnt/extra-addons/stock_account_visibility
COPY stock_move_origin_link /mnt/extra-addons/stock_move_origin_link
COPY stock_picking_show_address /mnt/extra-addons/stock_picking_show_address
COPY stock_product_extra_views /mnt/extra-addons/stock_product_extra_views
COPY stock_quant_by_category /mnt/extra-addons/stock_quant_by_category

COPY .docker_files/main /mnt/extra-addons/main
Expand Down
5 changes: 5 additions & 0 deletions gitoo.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@

- url: https://github.com/Numigi/odoo-product-addons
branch: "16.0"
includes:
- product_extra_views

- url: https://github.com/OCA/account-financial-tools
branch: "16.0"
includes:
Expand Down
13 changes: 13 additions & 0 deletions stock_product_extra_views/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Stock Product Extra Views
=========================
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 stock_product_extra_views/__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 stock_product_extra_views/__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": "Stock Product Extra Views",
"version": "16.0.1.0.0",
"author": "Numigi",
"maintainer": "Numigi",
"website": "https://bit.ly/numigi-com",
"license": "LGPL-3",
"category": "Stock",
"summary": "Add pivot and graph views to products from inventory",
"depends": [
"product_extra_views",
"stock",
],
"data": [
"data/ir_actions_data.xml",
],
"installable": True,
"auto_install": True,
}
12 changes: 12 additions & 0 deletions stock_product_extra_views/data/ir_actions_data.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
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.

0 comments on commit e3bc283

Please sign in to comment.