-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TA#72148 [16.0][MIG] product_extra_views
- Loading branch information
1 parent
c072f48
commit ce2ae37
Showing
11 changed files
with
125 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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,15 @@ | ||
Product Extra Views | ||
=================== | ||
This module adds a pivot and a graph view to product variants and product templates. | ||
|
||
.. image:: static/description/pivot_view.png | ||
|
||
.. image:: static/description/graph_view.png | ||
|
||
Contributors | ||
------------ | ||
* Numigi (tm) and all its contributors (https://bit.ly/numigiens) | ||
|
||
More information | ||
---------------- | ||
* Meet us at https://bit.ly/numigi-com |
This file contains 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 @@ | ||
# Copyright 2022 Numigi (tm) and all its contributors (https://bit.ly/numigiens) | ||
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). |
This file contains 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,21 @@ | ||
# 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', | ||
'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', | ||
'depends': [ | ||
'product', | ||
], | ||
'data': [ | ||
'views/product_template.xml', | ||
'views/product_product.xml', | ||
], | ||
'installable': True, | ||
} |
This file contains 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,28 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * product_extra_views | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 16.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2019-08-28 20:11+0000\n" | ||
"PO-Revision-Date: 2019-08-28 20:11+0000\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: product_extra_views | ||
#: model_terms:ir.ui.view,arch_db:product_extra_views.product_variant_graph_view | ||
#: model_terms:ir.ui.view,arch_db:product_extra_views.product_variant_pivot_view | ||
msgid "Product Variants" | ||
msgstr "Variantes d'article" | ||
|
||
#. module: product_extra_views | ||
#: model_terms:ir.ui.view,arch_db:product_extra_views.product_template_graph_view | ||
#: model_terms:ir.ui.view,arch_db:product_extra_views.product_template_pivot_view | ||
msgid "Products" | ||
msgstr "Articles" |
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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,32 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<odoo> | ||
|
||
<record id="product_variant_pivot_view" model="ir.ui.view"> | ||
<field name="name">Product Variant Pivot</field> | ||
<field name="model">product.product</field> | ||
<field name="arch" type="xml"> | ||
<pivot string="Product Variants" display_quantity="True" /> | ||
</field> | ||
</record> | ||
|
||
<record id="product_variant_graph_view" model="ir.ui.view"> | ||
<field name="name">Product Variant Graph</field> | ||
<field name="model">product.product</field> | ||
<field name="arch" type="xml"> | ||
<graph string="Product Variants" /> | ||
</field> | ||
</record> | ||
|
||
<record id="product.product_variant_action" model="ir.actions.act_window"> | ||
<field name="view_mode">tree,kanban,form,activity,pivot,graph</field> | ||
</record> | ||
|
||
<record id="product.product_normal_action" model="ir.actions.act_window"> | ||
<field name="view_mode">tree,form,kanban,activity,pivot,graph</field> | ||
</record> | ||
|
||
<record id="product.product_normal_action_sell" model="ir.actions.act_window"> | ||
<field name="view_mode">kanban,tree,form,activity,pivot,graph</field> | ||
</record> | ||
|
||
</odoo> |
This file contains 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,24 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<odoo> | ||
|
||
<record id="product_template_pivot_view" model="ir.ui.view"> | ||
<field name="name">Product Template Pivot</field> | ||
<field name="model">product.template</field> | ||
<field name="arch" type="xml"> | ||
<pivot string="Products" display_quantity="True" /> | ||
</field> | ||
</record> | ||
|
||
<record id="product_template_graph_view" model="ir.ui.view"> | ||
<field name="name">Product Template Graph</field> | ||
<field name="model">product.template</field> | ||
<field name="arch" type="xml"> | ||
<graph string="Products" /> | ||
</field> | ||
</record> | ||
|
||
<record id="product.product_template_action" model="ir.actions.act_window"> | ||
<field name="view_mode">kanban,tree,form,pivot,graph</field> | ||
</record> | ||
|
||
</odoo> |