mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[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:
committed by
mreficent
parent
6d1f672564
commit
6de925fe52
0
account_asset_management_menu/__init__.py
Normal file
0
account_asset_management_menu/__init__.py
Normal file
14
account_asset_management_menu/__manifest__.py
Normal file
14
account_asset_management_menu/__manifest__.py
Normal 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,
|
||||
}
|
||||
1
account_asset_management_menu/readme/CONFIGURATION.rst
Normal file
1
account_asset_management_menu/readme/CONFIGURATION.rst
Normal 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.
|
||||
1
account_asset_management_menu/readme/CONTRIBUTORS.rst
Normal file
1
account_asset_management_menu/readme/CONTRIBUTORS.rst
Normal file
@@ -0,0 +1 @@
|
||||
* Jordi Ballester (ForgeFlow)
|
||||
2
account_asset_management_menu/readme/DESCRIPTION.rst
Normal file
2
account_asset_management_menu/readme/DESCRIPTION.rst
Normal 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.
|
||||
8
account_asset_management_menu/views/menuitem.xml
Normal file
8
account_asset_management_menu/views/menuitem.xml
Normal 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>
|
||||
@@ -0,0 +1 @@
|
||||
../../../../account_asset_management_menu
|
||||
6
setup/account_asset_management_menu/setup.py
Normal file
6
setup/account_asset_management_menu/setup.py
Normal file
@@ -0,0 +1,6 @@
|
||||
import setuptools
|
||||
|
||||
setuptools.setup(
|
||||
setup_requires=['setuptools-odoo'],
|
||||
odoo_addon=True,
|
||||
)
|
||||
Reference in New Issue
Block a user