-
Notifications
You must be signed in to change notification settings - Fork 70
[ADD] portal_sale_distributor_mrp_subcontracting: new moudle #1492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 18.0
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| 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 MRP Subcontracting | ||
| =============================================== | ||
|
|
||
| This module integrate portal sale distributor using MRP Subcontracting | ||
|
|
||
| #. Add a model access rule in order to able portal distributor users to add 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 | ||
| <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. | ||
| 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 | ||
| ############################################################################## |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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 <http://www.gnu.org/licenses/>. | ||
| # | ||
| ############################################################################## | ||
| { | ||
| "name": "Portal Distributor MRP Subcontracting", | ||
| "version": "18.0.1.0.0", | ||
| "category": "Tools", | ||
| "complexity": "easy", | ||
| "author": "ADHOC SA", | ||
| "website": "www.adhoc.com.ar", | ||
| "license": "AGPL-3", | ||
| "depends": [ | ||
| "mrp_subcontracting", | ||
| "portal_sale_distributor", | ||
| ], | ||
| "demo": [], | ||
| "data": [ | ||
| "security/distributor_mrp_subcontratin_security.xml", | ||
| ], | ||
| "installable": True, | ||
| "auto_install": True, | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| # Translation of Odoo Server. | ||
| # This file contains the translation of the following modules: | ||
| # | ||
| msgid "" | ||
| msgstr "" | ||
| "Project-Id-Version: Odoo Server 18.0+e\n" | ||
| "Report-Msgid-Bugs-To: \n" | ||
| "POT-Creation-Date: 2025-07-03 05:10+0000\n" | ||
| "PO-Revision-Date: 2024-11-21 14:30+0000\n" | ||
| "Language-Team: Spanish (https://app.transifex.com/adhoc/teams/46451/es/)\n" | ||
| "MIME-Version: 1.0\n" | ||
| "Content-Type: text/plain; charset=UTF-8\n" | ||
| "Content-Transfer-Encoding: \n" | ||
| "Language: es\n" | ||
| "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <odoo noupdate="1"> | ||
|
|
||
| <!-- Sale Portal Distributor CRUD for Stock Warehouse with MRP Subcontrating --> | ||
|
||
| <record id="portal_warehouses_subcontractor_rule" model="ir.rule"> | ||
| <field name="name">Portal Distributor Warehouses Subcontractor</field> | ||
| <field name="model_id" ref="stock.model_stock_warehouse"/> | ||
| <field name="domain_force">[(1 ,'=', 1)]</field> | ||
| <field name="groups" eval="[(4, ref('group_portal_backend_distributor'))]"/> | ||
|
||
| <field eval="1" name="perm_unlink"/> | ||
| <field eval="0" name="perm_write"/> | ||
| <field eval="0" name="perm_read"/> | ||
| <field eval="0" name="perm_create"/> | ||
|
Comment on lines
+10
to
+13
|
||
| </record> | ||
|
|
||
| <!-- Sale Portal Distributor CRUD for UoM Subcontractor --> | ||
| <record id="portal_uom_subcontractor_rule" model="ir.rule"> | ||
| <field name="name">Portal Distributor UoM Subcontractor</field> | ||
| <field name="model_id" ref="uom.model_uom_uom"/> | ||
| <field name="domain_force">[(1 ,'=', 1)]</field> | ||
| <field name="groups" eval="[(4, ref('group_portal_backend_distributor'))]"/> | ||
|
||
| <field eval="1" name="perm_unlink"/> | ||
| <field eval="0" name="perm_write"/> | ||
| <field eval="0" name="perm_read"/> | ||
| <field eval="0" name="perm_create"/> | ||
|
Comment on lines
+22
to
+25
|
||
| </record> | ||
|
|
||
| <!-- Sale Portal Distributor CRUD for Stock Locations Subcontractor --> | ||
| <record id="portal_sale_order_user_rule" model="ir.rule"> | ||
| <field name="name">Portal Distributor Stock Locations Subcontractor</field> | ||
| <field name="model_id" ref="stock.model_stock_location"/> | ||
| <field name="domain_force">[(1 ,'=', 1)]</field> | ||
| <field name="groups" eval="[(4, ref('group_portal_backend_distributor'))]"/> | ||
|
||
| <field eval="1" name="perm_unlink"/> | ||
| <field eval="0" name="perm_write"/> | ||
| <field eval="0" name="perm_read"/> | ||
| <field eval="0" name="perm_create"/> | ||
|
Comment on lines
+34
to
+37
|
||
| </record> | ||
|
|
||
| </odoo> | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Error ortográfico: "able" debería ser "enable" (habilitar) en este contexto. "Able" es un adjetivo, mientras que se necesita un verbo.