Skip to content

Commit

Permalink
[ADD]product_harmonized_system_heading_stock
Browse files Browse the repository at this point in the history
Glue module between product_harmonized_system_heading and stock in order to add the needed Menu Item.
Just as done in the `product_harmonized_system_stock` module.
  • Loading branch information
GuillemCForgeFlow committed Oct 3, 2023
1 parent f9b04ae commit bd23920
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 0 deletions.
Empty file.
16 changes: 16 additions & 0 deletions product_harmonized_system_heading_stock/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright 2023 ForgeFlow S.L. (https://www.forgeflow.com)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
{
"name": "Product Harmonized System Header (menu entry)",
"version": "13.0.1.0.0",
"category": "Reporting",
"license": "AGPL-3",
"summary": "Adds a Menu Entry for H.S. Code Heading",
"website": "https://github.com/OCA/intrastat-extrastat",
"author": "ForgeFlow, Odoo Community Association (OCA)",
"depends": ["product_harmonized_system_heading", "stock"],
"data": ["views/hs_code_header_menu.xml"],
"installable": True,
"application": False,
"auto_install": True,
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* Guillem Casassas <[email protected]>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This module adds a menu entry for H.S. Code Heading. This menu entry is available under *Inventory > Configuration > Products*.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright 2023 ForgeFlow S.L. (https://www.forgeflow.com)
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
-->
<odoo>
<!-- Menu entry for H.S. Code Heading -->
<menuitem
id="hs_code_header_menu"
action="product_harmonized_system_heading.hs_code_heading_action"
parent="stock.menu_product_in_config_stock"
sequence="65"
/>
</odoo>
6 changes: 6 additions & 0 deletions setup/product_harmonized_system_heading_stock/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)

0 comments on commit bd23920

Please sign in to comment.