diff --git a/portal_sale_distributor_planning/README.rst b/portal_sale_distributor_planning/README.rst new file mode 100644 index 000000000..c61cb7171 --- /dev/null +++ b/portal_sale_distributor_planning/README.rst @@ -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 Planning +===================================== + +This module integrate portal sale distributor using Planning. + +#. Add a model access rule in order to able portal distributor users to add planning products in sale orders. + +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 +`_. 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. diff --git a/portal_sale_distributor_planning/__init__.py b/portal_sale_distributor_planning/__init__.py new file mode 100644 index 000000000..3d8070cde --- /dev/null +++ b/portal_sale_distributor_planning/__init__.py @@ -0,0 +1,4 @@ +############################################################################## +# For copyright and license notices, see __manifest__.py file in module root +# directory +############################################################################## diff --git a/portal_sale_distributor_planning/__manifest__.py b/portal_sale_distributor_planning/__manifest__.py new file mode 100644 index 000000000..9ebd5720b --- /dev/null +++ b/portal_sale_distributor_planning/__manifest__.py @@ -0,0 +1,38 @@ +############################################################################## +# +# 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 . +# +############################################################################## +{ + "name": "Portal Distributor Planning", + "version": "18.0.1.0.0", + "category": "Tools", + "complexity": "easy", + "author": "ADHOC SA", + "website": "www.adhoc.com.ar", + "license": "AGPL-3", + "depends": [ + "planning", + "portal_sale_distributor", + ], + "demo": [], + "data": [ + "security/ir.model.access.csv", + ], + "installable": True, + "auto_install": True, +} diff --git a/portal_sale_distributor_planning/security/ir.model.access.csv b/portal_sale_distributor_planning/security/ir.model.access.csv new file mode 100644 index 000000000..7906a350b --- /dev/null +++ b/portal_sale_distributor_planning/security/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_planning_slot_rule_portal_distributor,access_planning_slot_rule_portal_distributor,planning.model_planning_slot,portal_sale_distributor.group_portal_backend_distributor,1,1,0,0