Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
114 changes: 114 additions & 0 deletions mrp_subcontracting_partner_management/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
=================================
Subcontracting Partner Management
=================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:7ade3317dda2abdd864cbca9382ef0508ebb9e2de4f245266c5584cd903b4200
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fmanufacture-lightgray.png?logo=github
:target: https://github.com/OCA/manufacture/tree/16.0/mrp_subcontracting_partner_management
:alt: OCA/manufacture
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/manufacture-16-0/manufacture-16-0-mrp_subcontracting_partner_management
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/manufacture&target_branch=16.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

The goal of this module is to simplify the management of the partner properties used in MRP Subcontracting.

It adds a new checkbox "Subcontractor" which when enabled creates the following entities:

* A child location in the "Subcontracting" location
* A Stock Operation Type of type 'receipt' for this location
* A new 'Buy' stock rule
* A new 'Resupply Subcontractor on Order' rule

**Table of contents**

.. contents::
:local:

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

To see newly created rules, go to **Settings** > **Inventory** and activate "Multi step routes".

Usage
=====

* Select a partner of type "Company"
* Enable the "Subcontractor" checkbox
* New entities are created or existing are used if were created previously
* When disabled all associated enties will be archived
* When name of subcontractor is updated, names of entities are updated automatically.
* It is also possible to check inventory locations using **Subcontractor Location Stock** smart button on partner.

Changelog
=========

14.0.1.0.1
~~~~~~~~~~

**Bugfixes**
- Fixed duplicate rules when creating a subcontractor partner

14.0.1.0.0
~~~~~~~~~~

* Initial release

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/manufacture/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/manufacture/issues/new?body=module:%20mrp_subcontracting_partner_management%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Ooops404
* Cetmix

Contributors
~~~~~~~~~~~~

* Ooops404 <https://www.ooops404.com/>
* Cetmix <https://cetmix.com/>

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/manufacture <https://github.com/OCA/manufacture/tree/16.0/mrp_subcontracting_partner_management>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions mrp_subcontracting_partner_management/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
16 changes: 16 additions & 0 deletions mrp_subcontracting_partner_management/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "Subcontracting Partner Management",
"version": "16.0.1.0.0",
"summary": "Subcontracting Partner Management",
"author": "Ooops404, Cetmix, Odoo Community Association (OCA)",
"license": "LGPL-3",
"category": "Inventory",
"website": "https://github.com/OCA/manufacture",
"depends": ["purchase_stock", "mrp_subcontracting", "sale_stock"],
"data": [
"views/res_partner_views.xml",
"views/stock_picking_type_views.xml",
],
"installable": True,
"application": False,
}
86 changes: 86 additions & 0 deletions mrp_subcontracting_partner_management/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_subcontracting_partner_management
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-12-28 00:50+0000\n"
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
"Language-Team: none\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: mrp_subcontracting_partner_management
#: model:ir.model,name:mrp_subcontracting_partner_management.model_res_partner
msgid "Contact"
msgstr "Contacto"

#. module: mrp_subcontracting_partner_management
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_partner__display_name
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_stock_picking_type__display_name
msgid "Display Name"
msgstr "Nombre mostrado"

#. module: mrp_subcontracting_partner_management
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_partner__id
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_stock_picking_type__id
msgid "ID"
msgstr "ID"

#. module: mrp_subcontracting_partner_management
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_stock_picking_type__is_subcontractor
msgid "Is Subcontractor"
msgstr "Es subcontratista"

#. module: mrp_subcontracting_partner_management
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_partner____last_update
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_stock_picking_type____last_update
msgid "Last Modified on"
msgstr "Última modificación el"

#. module: mrp_subcontracting_partner_management
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_partner__partner_buy_rule_id
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_users__partner_buy_rule_id
msgid "Partner Buy Rule"
msgstr "Regla de compra de contacto"

#. module: mrp_subcontracting_partner_management
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_partner__partner_picking_type_id
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_users__partner_picking_type_id
msgid "Partner Picking Type"
msgstr "Tipo de operación de contacto"

#. module: mrp_subcontracting_partner_management
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_partner__partner_resupply_rule_id
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_users__partner_resupply_rule_id
msgid "Partner Resupply Rule"
msgstr "Regla de reabastecimiento de contacto"

#. module: mrp_subcontracting_partner_management
#: model:ir.model,name:mrp_subcontracting_partner_management.model_stock_picking_type
msgid "Picking Type"
msgstr "Tipo de operación"

#. module: mrp_subcontracting_partner_management
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_partner__subcontracted_created_location_id
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_users__subcontracted_created_location_id
msgid "Subcontracted Created Location"
msgstr "Ubicación de subcontratista creada"

#. module: mrp_subcontracting_partner_management
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_partner__is_subcontractor_partner
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_users__is_subcontractor_partner
#: model_terms:ir.ui.view,arch_db:mrp_subcontracting_partner_management.view_pickingtype_filter
msgid "Subcontractor"
msgstr "Subcontratista"

#. module: mrp_subcontracting_partner_management
#: model_terms:ir.ui.view,arch_db:mrp_subcontracting_partner_management.view_partner_stock_form
msgid "Subcontractor Location Stock"
msgstr "Subcontratista Localización Existencias"
86 changes: 86 additions & 0 deletions mrp_subcontracting_partner_management/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_subcontracting_partner_management
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-07-17 17:16+0000\n"
"Last-Translator: Francesco Foresti <francesco.foresti@ooops404.com>\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: mrp_subcontracting_partner_management
#: model:ir.model,name:mrp_subcontracting_partner_management.model_res_partner
msgid "Contact"
msgstr "Contatto"

#. module: mrp_subcontracting_partner_management
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_partner__display_name
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_stock_picking_type__display_name
msgid "Display Name"
msgstr "Nome visualizzato"

#. module: mrp_subcontracting_partner_management
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_partner__id
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_stock_picking_type__id
msgid "ID"
msgstr "ID"

#. module: mrp_subcontracting_partner_management
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_stock_picking_type__is_subcontractor
msgid "Is Subcontractor"
msgstr "È un terzista"

#. module: mrp_subcontracting_partner_management
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_partner____last_update
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_stock_picking_type____last_update
msgid "Last Modified on"
msgstr "Ultima modifica il"

#. module: mrp_subcontracting_partner_management
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_partner__partner_buy_rule_id
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_users__partner_buy_rule_id
msgid "Partner Buy Rule"
msgstr "Regola di acquisto del partner"

#. module: mrp_subcontracting_partner_management
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_partner__partner_picking_type_id
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_users__partner_picking_type_id
msgid "Partner Picking Type"
msgstr "Tipo prelievo del partner"

#. module: mrp_subcontracting_partner_management
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_partner__partner_resupply_rule_id
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_users__partner_resupply_rule_id
msgid "Partner Resupply Rule"
msgstr "Regola rifornimento del partner"

#. module: mrp_subcontracting_partner_management
#: model:ir.model,name:mrp_subcontracting_partner_management.model_stock_picking_type
msgid "Picking Type"
msgstr "Tipologia prelievo"

#. module: mrp_subcontracting_partner_management
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_partner__subcontracted_created_location_id
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_users__subcontracted_created_location_id
msgid "Subcontracted Created Location"
msgstr "Ubicazione creata per terzista"

#. module: mrp_subcontracting_partner_management
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_partner__is_subcontractor_partner
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_users__is_subcontractor_partner
#: model_terms:ir.ui.view,arch_db:mrp_subcontracting_partner_management.view_pickingtype_filter
msgid "Subcontractor"
msgstr "Terzista"

#. module: mrp_subcontracting_partner_management
#: model_terms:ir.ui.view,arch_db:mrp_subcontracting_partner_management.view_partner_stock_form
msgid "Subcontractor Location Stock"
msgstr "Magazzino ubicazione terzista"
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_subcontracting_partner_management
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: mrp_subcontracting_partner_management
#: model:ir.model,name:mrp_subcontracting_partner_management.model_res_partner
msgid "Contact"
msgstr ""

#. module: mrp_subcontracting_partner_management
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_partner__display_name
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_stock_picking_type__display_name
msgid "Display Name"
msgstr ""

#. module: mrp_subcontracting_partner_management
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_partner__id
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_stock_picking_type__id
msgid "ID"
msgstr ""

#. module: mrp_subcontracting_partner_management
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_stock_picking_type__is_subcontractor
msgid "Is Subcontractor"
msgstr ""

#. module: mrp_subcontracting_partner_management
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_partner____last_update
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_stock_picking_type____last_update
msgid "Last Modified on"
msgstr ""

#. module: mrp_subcontracting_partner_management
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_partner__partner_buy_rule_id
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_users__partner_buy_rule_id
msgid "Partner Buy Rule"
msgstr ""

#. module: mrp_subcontracting_partner_management
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_partner__partner_picking_type_id
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_users__partner_picking_type_id
msgid "Partner Picking Type"
msgstr ""

#. module: mrp_subcontracting_partner_management
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_partner__partner_resupply_rule_id
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_users__partner_resupply_rule_id
msgid "Partner Resupply Rule"
msgstr ""

#. module: mrp_subcontracting_partner_management
#: model:ir.model,name:mrp_subcontracting_partner_management.model_stock_picking_type
msgid "Picking Type"
msgstr ""

#. module: mrp_subcontracting_partner_management
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_partner__subcontracted_created_location_id
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_users__subcontracted_created_location_id
msgid "Subcontracted Created Location"
msgstr ""

#. module: mrp_subcontracting_partner_management
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_partner__is_subcontractor_partner
#: model:ir.model.fields,field_description:mrp_subcontracting_partner_management.field_res_users__is_subcontractor_partner
#: model_terms:ir.ui.view,arch_db:mrp_subcontracting_partner_management.view_pickingtype_filter
msgid "Subcontractor"
msgstr ""

#. module: mrp_subcontracting_partner_management
#: model_terms:ir.ui.view,arch_db:mrp_subcontracting_partner_management.view_partner_stock_form
msgid "Subcontractor Location Stock"
msgstr ""
2 changes: 2 additions & 0 deletions mrp_subcontracting_partner_management/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import res_partner
from . import stock_picking_type
Loading