[ADD] rma_account_readonly in v15

This commit is contained in:
AaronHForgeFlow
2023-10-25 17:18:25 +02:00
parent bc35babb85
commit 68b27ea637
4 changed files with 86 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:alt: License LGPL-3
====================
RMA Account Readonly
====================
This module adds the RMA readonly group to the RMA account menus
Bug Tracker
===========
Bugs are tracked on `GitHub Issues
<https://github.com/Eficent/stock-rma/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smashing it by providing a detailed and welcomed feedback.
Credits
=======
Contributors
------------
* Aaron Henriquez <aaron.henriquez@forgeflow.com>
Maintainer
----------
This module is maintained by ForgeFlow

View File

View File

@@ -0,0 +1,15 @@
{
"name": "RMA Account Readonly",
"version": "15.0.1.0.0",
"license": "LGPL-3",
"category": "RMA",
"summary": "RMA account readonly access",
"author": "ForgeFlow",
"website": "https://github.com/ForgeFlow/stock-rma",
"depends": ["rma_account", "rma_readonly"],
"data": [
"views/rma_menus.xml",
],
"installable": True,
"auto_install": True,
}

View File

@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<menuitem
id="rma_account.menu_rma_customer_refunds"
name="Customer RMA to Refund"
sequence="20"
parent="rma_account.menu_rma_account"
groups="rma.group_rma_customer_user,rma_readonly.group_rma_readonly"
action="rma_account.action_rma_account_customer_lines"
/>
<menuitem
id="rma_account.menu_rma_line_supplier_refunds"
name="Supplier RMA to Refund"
sequence="20"
parent="rma_account.menu_rma_account"
groups="rma.group_rma_customer_user,rma_readonly.group_rma_readonly"
action="rma_account.action_rma_supplier_lines"
/>
<menuitem
id="rma_account.menu_rma_line_account_customer"
name="Customer RMA to Refund"
sequence="20"
parent="account.menu_finance_receivables"
groups="rma.group_rma_customer_user,rma_readonly.group_rma_readonly"
action="rma_account.action_rma_account_customer_lines"
/>
<menuitem
id="rma_accountmenu_rma_line_account_supplier"
name="Supplier RMA to Refund"
sequence="20"
parent="account.menu_finance_payables"
groups="rma.group_rma_supplier_user,rma_readonly.group_rma_readonly"
action="rma_account.action_rma_supplier_lines"
/>
</odoo>