[ADD] account_asset_management_menu: change menu for Assets

Make the menu entries accessible regardless if you use Odoo CE or EE.
Adds dependency with the module account_menu for the menu entries
to become accessible.
This commit is contained in:
Jordi Ballester
2021-02-11 10:53:00 +01:00
committed by mreficent
parent 6d1f672564
commit 6de925fe52
8 changed files with 33 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
# Copyright 2021 ForgeFlow, S.L.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Assets Management Menu",
"version": "13.0.1.0.0",
"license": "AGPL-3",
"depends": ["account_asset_management", "account_menu"],
"author": "ForgeFlow, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/account-financial-tools",
"category": "Accounting & Finance",
"data": ["views/menuitem.xml"],
"auto_install": True,
}

View File

@@ -0,0 +1 @@
Users now need to make sure to activate the setting Show full accounting features in order to display the asset menus.

View File

@@ -0,0 +1 @@
* Jordi Ballester (ForgeFlow)

View File

@@ -0,0 +1,2 @@
This module changes the menu from which assets can be accessed, making it compatible with both Odoo Community
and Enterprise versions.

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<menuitem
id="account_asset_management.menu_finance_assets"
name="Assets"
parent="account.menu_finance_entries"
/>
</odoo>

View File

@@ -0,0 +1 @@
../../../../account_asset_management_menu

View File

@@ -0,0 +1,6 @@
import setuptools
setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)