Add module stock_valuation_xlsx_viewer
This commit is contained in:
0
stock_valuation_xlsx_viewer/__init__.py
Normal file
0
stock_valuation_xlsx_viewer/__init__.py
Normal file
28
stock_valuation_xlsx_viewer/__manifest__.py
Normal file
28
stock_valuation_xlsx_viewer/__manifest__.py
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
# Copyright 2025 Akretion France (https://www.akretion.com)
|
||||||
|
# @author Alexis de Lattre <alexis.delattre@akretion.com>
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
'name': 'Stock Valuation XLSX Viewer',
|
||||||
|
'version': '14.0.1.0.0',
|
||||||
|
'category': 'Tools',
|
||||||
|
'license': 'AGPL-3',
|
||||||
|
'summary': 'Glue module between stock_viewer and stock_valuation_xlsx',
|
||||||
|
'description': """
|
||||||
|
Stock Valuation XLSX Viewer
|
||||||
|
===========================
|
||||||
|
|
||||||
|
Allows to use the module stock_valuation_xlsx when the user is part of the Stock/Viewer group.
|
||||||
|
|
||||||
|
This module has been written by Alexis de Lattre from Akretion <alexis.delattre@akretion.com>.
|
||||||
|
""",
|
||||||
|
'author': "Akretion",
|
||||||
|
'website': 'https://github.com/akretion/odoo-usability',
|
||||||
|
'depends': ['stock_viewer', 'stock_valuation_xlsx'],
|
||||||
|
'data': [
|
||||||
|
'security/ir.model.access.csv',
|
||||||
|
'views/stock_menu.xml',
|
||||||
|
],
|
||||||
|
'installable': True,
|
||||||
|
}
|
||||||
4
stock_valuation_xlsx_viewer/security/ir.model.access.csv
Normal file
4
stock_valuation_xlsx_viewer/security/ir.model.access.csv
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||||
|
access_stock_expiry_depreciation_rule_read,Read access on stock.expiry.depreciation.rule to stock user,stock_valuation_xlsx.model_stock_expiry_depreciation_rule,stock_viewer.group_stock_viewer,1,0,0,0
|
||||||
|
access_stock_valuation_xlsx,stock.valuation.xlsx wizard,stock_valuation_xlsx.model_stock_valuation_xlsx,stock_viewer.group_stock_viewer,1,1,1,0
|
||||||
|
access_stock_variation_xlsx,stock.variation.xlsx wizard,stock_valuation_xlsx.model_stock_variation_xlsx,stock_viewer.group_stock_viewer,1,1,1,0
|
||||||
|
16
stock_valuation_xlsx_viewer/views/stock_menu.xml
Normal file
16
stock_valuation_xlsx_viewer/views/stock_menu.xml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
Copyright 2025 Akretion France (https://www.akretion.com/)
|
||||||
|
@author: Alexis de Lattre <alexis.delattre@akretion.com>
|
||||||
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||||
|
-->
|
||||||
|
|
||||||
|
<odoo>
|
||||||
|
|
||||||
|
|
||||||
|
<record id="stock.menu_warehouse_report" model="ir.ui.menu">
|
||||||
|
<field name="groups_id" eval="[(4, ref('stock_viewer.group_stock_viewer'))]"/>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
|
||||||
|
</odoo>
|
||||||
Reference in New Issue
Block a user