Skip to content

Commit

Permalink
[ADD] portal_sale_distributor_sales_team: add acces rule for portal u…
Browse files Browse the repository at this point in the history
…ser with sales team

X-original-commit: 2186017
  • Loading branch information
lav-adhoc authored and jok-adhoc committed Feb 28, 2024
1 parent dac22ca commit e0e49be
Show file tree
Hide file tree
Showing 4 changed files with 116 additions and 0 deletions.
73 changes: 73 additions & 0 deletions portal_sale_distributor_sales_team/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
.. |company| replace:: ADHOC SA

.. |company_logo| image:: https://raw.githubusercontent.com/ingadhoc/maintainer-tools/master/resources/adhoc-logo.png
:alt: ADHOC SA
:target: https://www.adhoc.com.ar

.. |icon| image:: https://raw.githubusercontent.com/ingadhoc/maintainer-tools/master/resources/adhoc-icon.png

.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png
:target: https://www.gnu.org/licenses/agpl
:alt: License: AGPL-3

========================================
Portal Distributor Sale with Sales Team
========================================

This module integrate portal sale distributor using Sales Team.

#. Add a model access rule in order to able portal distributor users to create sales orders with Sales Team

Installation
============

To install this module, you need to:

#. Just install this module.

Configuration
=============

To configure this module, you need to:

#. The same as 'Portal Sale Distributor' module.

Usage
=====

To use this module, you need to:

#. Log in with a user with the portal distributor group.
#. Go to My Addresses.

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: http://runbot.adhoc.com.ar/

Bug Tracker
===========

Bugs are tracked on `GitHub Issues
<https://github.com/ingadhoc/sale/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
=======

Images
------

* |company| |icon|

Contributors
------------

Maintainer
----------

|company_logo|

This module is maintained by the |company|.

To contribute to this module, please visit https://www.adhoc.com.ar.
4 changes: 4 additions & 0 deletions portal_sale_distributor_sales_team/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
##############################################################################
# For copyright and license notices, see __manifest__.py file in module root
# directory
##############################################################################
37 changes: 37 additions & 0 deletions portal_sale_distributor_sales_team/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
##############################################################################
#
# Copyright (C) 2015 ADHOC SA (http://www.adhoc.com.ar)
# All Rights Reserved.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
{
'name': 'Portal Distributor Sales Team ',
'version': "16.0.1.0.0",
'category': 'Tools',
'complexity': 'easy',
'author': 'ADHOC SA',
'website': 'www.adhoc.com.ar',
'license': 'AGPL-3',
'depends': [
'sales_team',
'portal_sale_distributor',
],
'data': [
'security/ir.model.access.csv',
],
'installable': True,
'auto_install': True,
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_sales_team_rule_portal_distributor,access_sales_team_rule_portal_distributor,sales_team.model_crm_tag,portal_sale_distributor.group_portal_backend_distributor,1,0,0,0

0 comments on commit e0e49be

Please sign in to comment.