diff --git a/portal_sale_order_type/README.rst b/portal_sale_order_type/README.rst deleted file mode 100644 index 87045373f..000000000 --- a/portal_sale_order_type/README.rst +++ /dev/null @@ -1,75 +0,0 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 - -====================== -Portal Sale Order Type -====================== -Integration betweeen Portal and Sale Order Type module: -#. New access record to sale type model for portal users -#. Make invisible sale order type for portal users - -Installation -============ - -To install this module, you need to: - -#. Just install this module. - - -Configuration -============= - -To configure this module, you need to: - -#. No configuration needed. - -Usage -===== - -To use this module, you need to: - - - -.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas - :alt: Try me on Runbot - :target: https://runbot.adhoc.com.ar/ - -.. repo_id is available in https://github.com/OCA/maintainer-tools/blob/master/tools/repos_with_ids.txt -.. branch is "8.0" for example - -Known issues / Roadmap -====================== - -* ... - -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 ------- - -* ADHOC SA: `Icon `_. - -Contributors ------------- - - -Maintainer ----------- - -.. image:: http://fotos.subefotos.com/83fed853c1e15a8023b86b2b22d6145bo.png - :alt: Odoo Community Association - :target: https://www.adhoc.com.ar - -This module is maintained by the ADHOC SA. - -To contribute to this module, please visit https://www.adhoc.com.ar. diff --git a/portal_sale_order_type/__init__.py b/portal_sale_order_type/__init__.py deleted file mode 100644 index 3d8070cde..000000000 --- a/portal_sale_order_type/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -############################################################################## -# For copyright and license notices, see __manifest__.py file in module root -# directory -############################################################################## diff --git a/portal_sale_order_type/__manifest__.py b/portal_sale_order_type/__manifest__.py deleted file mode 100644 index 5d4c3b57a..000000000 --- a/portal_sale_order_type/__manifest__.py +++ /dev/null @@ -1,41 +0,0 @@ -############################################################################## -# -# 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 Sale Order Type', - 'version': '9.0.1.0.0', - 'category': 'Tools', - 'complexity': 'easy', - 'author': 'ADHOC SA', - 'website': 'www.adhoc.com.ar', - 'license': 'AGPL-3', - 'depends': [ - 'portal_sale', - 'sale_order_type', - ], - 'demo': [ - ], - 'data': [ - 'security/ir.model.access.csv', - 'views/sale_order_view.xml', - ], - 'installable': False, - 'auto_install': True, - 'application': True, -} diff --git a/portal_sale_order_type/views/sale_order_view.xml b/portal_sale_order_type/views/sale_order_view.xml deleted file mode 100644 index 6d9492092..000000000 --- a/portal_sale_order_type/views/sale_order_view.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - portal sale.order.form - sale.order - - - - - 1 - - - - - - diff --git a/sale_order_type_ux/.vscode/settings.json b/sale_order_type_ux/.vscode/settings.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/sale_order_type_ux/.vscode/settings.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/sale_order_type_ux/README.rst b/sale_order_type_ux/README.rst index 240f2b3a5..35294eb8d 100644 --- a/sale_order_type_ux/README.rst +++ b/sale_order_type_ux/README.rst @@ -14,8 +14,11 @@ Sale Order Type Ux =================== -This module adds in the list view of sale.order.type the field sequence to be able to sort by that field. +* This module adds in the list view of sale.order.type the field sequence to be able to sort by that field. +* Integration betweeen Portal and Sale Order Type module: + - New access record to sale type model for portal users + - Make invisible sale order type for portal users Installation ============ diff --git a/sale_order_type_ux/__manifest__.py b/sale_order_type_ux/__manifest__.py index 94a0fb739..18151f1d7 100644 --- a/sale_order_type_ux/__manifest__.py +++ b/sale_order_type_ux/__manifest__.py @@ -31,7 +31,9 @@ 'sale_order_type', ], 'data': [ - 'views/sale_order_type_views.xml' + 'security/ir.model.access.csv', + 'views/sale_order_type_views.xml', + 'views/sale_order_views.xml', ], 'demo': [ ], diff --git a/portal_sale_order_type/security/ir.model.access.csv b/sale_order_type_ux/security/ir.model.access.csv similarity index 100% rename from portal_sale_order_type/security/ir.model.access.csv rename to sale_order_type_ux/security/ir.model.access.csv diff --git a/sale_order_type_ux/views/sale_order_views.xml b/sale_order_type_ux/views/sale_order_views.xml new file mode 100644 index 000000000..dda819885 --- /dev/null +++ b/sale_order_type_ux/views/sale_order_views.xml @@ -0,0 +1,14 @@ + + + + portal sale.order.form + sale.order + + + + + 1 + + + +