diff --git a/agreement_stock/README.rst b/agreement_stock/README.rst new file mode 100644 index 000000000..878f053ca --- /dev/null +++ b/agreement_stock/README.rst @@ -0,0 +1,116 @@ +================= +Agreement - Stock +================= + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fcontract-lightgray.png?logo=github + :target: https://github.com/OCA/contract/tree/12.0/agreement_stock + :alt: OCA/contract +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_stock + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/110/12.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +Odoo Agreement App does not provide an easy way to access stock transfers related to an agreement. +Some organizations needs to have a quick access to stock transfers to track the performance of an agreement. + +This module allows you to link a transfer to an agreement and +adds a smart button on the agreement to look at the list of related transfers. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +To use this module, you need to: + +* Go to Inventory > Transfers +* Select or create a transfer and set the agreement +* Select or create a lot/serial number and set the agreement +* Go to Agreement > Agreements +* Open the previous agreement +* Click on the smart button "Transfers" to see the list of related transfers +* Click on the smart button "Stock Moves" to see the list of related stock moves +* Click on the smart button "Lot/SN #" to see the list of related lot/serial numbers + +Known issues / Roadmap +====================== + +The roadmap of the Agreement application is documented on +`Github `_. + +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 `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Open Source Integrators + +Contributors +~~~~~~~~~~~~ + +* Sandip Mangukiya +* Serpent Consulting Services Pvt. Ltd. + +Other credits +~~~~~~~~~~~~~ + +The development of this module has been financially supported by: + +* Open Source Integrators + +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. + +.. |maintainer-smangukiya| image:: https://github.com/smangukiya.png?size=40px + :target: https://github.com/smangukiya + :alt: smangukiya +.. |maintainer-max3903| image:: https://github.com/max3903.png?size=40px + :target: https://github.com/max3903 + :alt: max3903 + +Current `maintainers `__: + +|maintainer-smangukiya| |maintainer-max3903| + +This module is part of the `OCA/contract `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/agreement_stock/__init__.py b/agreement_stock/__init__.py new file mode 100644 index 000000000..1ae95437a --- /dev/null +++ b/agreement_stock/__init__.py @@ -0,0 +1,4 @@ +# Copyright (C) 2021 - TODAY, Open Source Integrators +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import models diff --git a/agreement_stock/__manifest__.py b/agreement_stock/__manifest__.py new file mode 100644 index 000000000..ea7b5ce11 --- /dev/null +++ b/agreement_stock/__manifest__.py @@ -0,0 +1,17 @@ +# Copyright (C) 2021 - TODAY, Open Source Integrators +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Agreement - Stock", + "summary": "Link picking to an agreement", + "version": "14.0.1.0.0", + "category": "Contract", + "author": "Open Source Integrators, " "Odoo Community Association (OCA)", + "website": "https://github.com/OCA/contract", + "depends": ["agreement_serviceprofile", "stock"], + "data": ["views/agreement_view.xml", "views/stock_view.xml"], + "installable": True, + "license": "AGPL-3", + "development_status": "Beta", + "maintainers": ["smangukiya", "max3903"], +} diff --git a/agreement_stock/i18n/agreement_stock.pot b/agreement_stock/i18n/agreement_stock.pot new file mode 100644 index 000000000..fedcfdc95 --- /dev/null +++ b/agreement_stock/i18n/agreement_stock.pot @@ -0,0 +1,104 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * agreement_stock +# +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: agreement_stock +#: model:ir.model.fields,field_description:agreement_stock.field_agreement__lot_count +msgid "# Lots/Serials" +msgstr "" + +#. module: agreement_stock +#: model:ir.model.fields,field_description:agreement_stock.field_agreement__move_count +msgid "# Moves" +msgstr "" + +#. module: agreement_stock +#: model:ir.model.fields,field_description:agreement_stock.field_agreement__picking_count +msgid "# Pickings" +msgstr "" + +#. module: agreement_stock +#: model_terms:ir.ui.view,arch_db:agreement_stock.partner_agreement_form_view_stock +msgid "Lots/Serials" +msgstr "" + +#. module: agreement_stock +#: model_terms:ir.ui.view,arch_db:agreement_stock.partner_agreement_form_view_stock +msgid "Moves" +msgstr "" + +#. module: agreement_stock +#: model_terms:ir.ui.view,arch_db:agreement_stock.partner_agreement_form_view_stock +msgid "Pickings" +msgstr "" + +#. module: agreement_stock +#: model:ir.model,name:agreement_stock.model_agreement +#: model:ir.model.fields,field_description:agreement_stock.field_stock_move__agreement_id +#: model:ir.model.fields,field_description:agreement_stock.field_stock_picking__agreement_id +#: model:ir.model.fields,field_description:agreement_stock.field_stock_production_lot__agreement_id +msgid "Agreement" +msgstr "" + +#. module: agreement_stock +#: model_terms:ir.actions.act_window,help:agreement_stock.action_stock_production_lot_agreement_specific +msgid "Create Lot/Serial" +msgstr "" + +#. module: agreement_stock +#: model_terms:ir.actions.act_window,help:agreement_stock.action_stock_move_agreement_specific +msgid "Create Moves" +msgstr "" + +#. module: agreement_stock +#: model_terms:ir.actions.act_window,help:agreement_stock.action_stock_picking_agreement_specific +msgid "Create Pickings" +msgstr "" + +#. module: agreement_stock +#: model:ir.model,name:agreement_stock.model_stock_production_lot +msgid "Lot/Serial" +msgstr "" + +#. module: agreement_stock +#: model:ir.actions.act_window,name:agreement_stock.action_stock_production_lot_agreement_specific +msgid "Lots/Serials" +msgstr "" + +#. module: agreement_stock +#: model:ir.actions.act_window,name:agreement_stock.action_stock_move_agreement_specific +msgid "Moves" +msgstr "" + +#. module: agreement_stock +#: model:ir.actions.act_window,name:agreement_stock.action_stock_picking_agreement_specific +msgid "Pickings" +msgstr "" + +#. module: agreement_stock +#: model:ir.model.fields,field_description:agreement_stock.field_stock_production_lot__serviceprofile_id +#: model_terms:ir.ui.view,arch_db:agreement_stock.search_product_lot_filter_agreement +msgid "Service Profile" +msgstr "" + +#. module: agreement_stock +#: model:ir.model,name:agreement_stock.model_stock_move +msgid "Stock Move" +msgstr "" + +#. module: agreement_stock +#: model:ir.model,name:agreement_stock.model_stock_picking +msgid "Transfer" +msgstr "" + diff --git a/agreement_stock/i18n/de.po b/agreement_stock/i18n/de.po new file mode 100644 index 000000000..2b6213e35 --- /dev/null +++ b/agreement_stock/i18n/de.po @@ -0,0 +1,109 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * agreement_stock +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2019-01-11 17:41+0000\n" +"Last-Translator: Maria Sparenberg \n" +"Language-Team: none\n" +"Language: de\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 3.3\n" + +#. module: agreement_stock +#: model:ir.model.fields,field_description:agreement_stock.field_agreement__lot_count +msgid "# Lots/Serials" +msgstr "# Chargen / Seriennummern" + +#. module: agreement_stock +#: model:ir.model.fields,field_description:agreement_stock.field_agreement__move_count +msgid "# Moves" +msgstr "# Lagerbewegungen" + +#. module: agreement_stock +#: model:ir.model.fields,field_description:agreement_stock.field_agreement__picking_count +msgid "# Pickings" +msgstr "# Lieferscheine" + +#. module: agreement_stock +#: model_terms:ir.ui.view,arch_db:agreement_stock.partner_agreement_form_view_stock +msgid "Lots/Serials" +msgstr "Chargen / Seriennummern" + +#. module: agreement_stock +#: model_terms:ir.ui.view,arch_db:agreement_stock.partner_agreement_form_view_stock +msgid "Moves" +msgstr "Lagerbewegungen" + +#. module: agreement_stock +#: model_terms:ir.ui.view,arch_db:agreement_stock.partner_agreement_form_view_stock +msgid "Pickings" +msgstr "Lieferscheine" + +#. module: agreement_stock +#: model:ir.model,name:agreement_stock.model_agreement +#: model:ir.model.fields,field_description:agreement_stock.field_stock_move__agreement_id +#: model:ir.model.fields,field_description:agreement_stock.field_stock_picking__agreement_id +#: model:ir.model.fields,field_description:agreement_stock.field_stock_production_lot__agreement_id +msgid "Agreement" +msgstr "Vereinbarung" + +#. module: agreement_stock +#: model_terms:ir.actions.act_window,help:agreement_stock.action_stock_production_lot_agreement_specific +msgid "Create Lot/Serial" +msgstr "Chargen / Seriennummern anlegen" + +#. module: agreement_stock +#: model_terms:ir.actions.act_window,help:agreement_stock.action_stock_move_agreement_specific +msgid "Create Moves" +msgstr "Lagerbewegungen anlegen" + +#. module: agreement_stock +#: model_terms:ir.actions.act_window,help:agreement_stock.action_stock_picking_agreement_specific +msgid "Create Pickings" +msgstr "Lieferscheine anlegen" + +#. module: agreement_stock +#: model:ir.model,name:agreement_stock.model_stock_production_lot +msgid "Lot/Serial" +msgstr "Charge / Seriennummer" + +#. module: agreement_stock +#: model:ir.actions.act_window,name:agreement_stock.action_stock_production_lot_agreement_specific +msgid "Lots/Serials" +msgstr "Chargen / Seriennummern" + +#. module: agreement_stock +#: model:ir.actions.act_window,name:agreement_stock.action_stock_move_agreement_specific +msgid "Moves" +msgstr "Lagerbewegungen" + +#. module: agreement_stock +#: model:ir.actions.act_window,name:agreement_stock.action_stock_picking_agreement_specific +msgid "Pickings" +msgstr "Lieferscheine" + +#. module: agreement_stock +#: model:ir.model.fields,field_description:agreement_stock.field_stock_production_lot__serviceprofile_id +#: model_terms:ir.ui.view,arch_db:agreement_stock.search_product_lot_filter_agreement +msgid "Service Profile" +msgstr "Dienstleistungsprofil" + +#. module: agreement_stock +#: model:ir.model,name:agreement_stock.model_stock_move +msgid "Stock Move" +msgstr "Lagerbewegung" + +#. module: agreement_stock +#: model:ir.model,name:agreement_stock.model_stock_picking +msgid "Transfer" +msgstr "Liefern" + +#~ msgid "agreement" +#~ msgstr "Vereinbarung" diff --git a/agreement_stock/i18n/es.po b/agreement_stock/i18n/es.po new file mode 100644 index 000000000..ce930146a --- /dev/null +++ b/agreement_stock/i18n/es.po @@ -0,0 +1,104 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * agreement_stock +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: Automatically generated\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" + +#. module: agreement_stock +#: model:ir.model.fields,field_description:agreement_stock.field_agreement__lot_count +msgid "# Lots/Serials" +msgstr "" + +#. module: agreement_stock +#: model:ir.model.fields,field_description:agreement_stock.field_agreement__move_count +msgid "# Moves" +msgstr "" + +#. module: agreement_stock +#: model:ir.model.fields,field_description:agreement_stock.field_agreement__picking_count +msgid "# Pickings" +msgstr "" + +#. module: agreement_stock +#: model_terms:ir.ui.view,arch_db:agreement_stock.partner_agreement_form_view_stock +msgid "Lots/Serials" +msgstr "" + +#. module: agreement_stock +#: model_terms:ir.ui.view,arch_db:agreement_stock.partner_agreement_form_view_stock +msgid "Moves" +msgstr "" + +#. module: agreement_stock +#: model_terms:ir.ui.view,arch_db:agreement_stock.partner_agreement_form_view_stock +msgid "Pickings" +msgstr "" + +#. module: agreement_stock +#: model:ir.model,name:agreement_stock.model_agreement +#: model:ir.model.fields,field_description:agreement_stock.field_stock_move__agreement_id +#: model:ir.model.fields,field_description:agreement_stock.field_stock_picking__agreement_id +#: model:ir.model.fields,field_description:agreement_stock.field_stock_production_lot__agreement_id +msgid "Agreement" +msgstr "" + +#. module: agreement_stock +#: model_terms:ir.actions.act_window,help:agreement_stock.action_stock_production_lot_agreement_specific +msgid "Create Lot/Serial" +msgstr "" + +#. module: agreement_stock +#: model_terms:ir.actions.act_window,help:agreement_stock.action_stock_move_agreement_specific +msgid "Create Moves" +msgstr "" + +#. module: agreement_stock +#: model_terms:ir.actions.act_window,help:agreement_stock.action_stock_picking_agreement_specific +msgid "Create Pickings" +msgstr "" + +#. module: agreement_stock +#: model:ir.model,name:agreement_stock.model_stock_production_lot +msgid "Lot/Serial" +msgstr "" + +#. module: agreement_stock +#: model:ir.actions.act_window,name:agreement_stock.action_stock_production_lot_agreement_specific +msgid "Lots/Serials" +msgstr "" + +#. module: agreement_stock +#: model:ir.actions.act_window,name:agreement_stock.action_stock_move_agreement_specific +msgid "Moves" +msgstr "" + +#. module: agreement_stock +#: model:ir.actions.act_window,name:agreement_stock.action_stock_picking_agreement_specific +msgid "Pickings" +msgstr "" + +#. module: agreement_stock +#: model:ir.model.fields,field_description:agreement_stock.field_stock_production_lot__serviceprofile_id +#: model_terms:ir.ui.view,arch_db:agreement_stock.search_product_lot_filter_agreement +msgid "Service Profile" +msgstr "" + +#. module: agreement_stock +#: model:ir.model,name:agreement_stock.model_stock_move +msgid "Stock Move" +msgstr "" + +#. module: agreement_stock +#: model:ir.model,name:agreement_stock.model_stock_picking +msgid "Transfer" +msgstr "" diff --git a/agreement_stock/i18n/fr.po b/agreement_stock/i18n/fr.po new file mode 100644 index 000000000..021a4c634 --- /dev/null +++ b/agreement_stock/i18n/fr.po @@ -0,0 +1,106 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * agreement_stock +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2021-01-04 11:44+0000\n" +"Last-Translator: Rémi \n" +"Language-Team: none\n" +"Language: fr\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.3.2\n" + +#. module: agreement_stock +#: model:ir.model.fields,field_description:agreement_stock.field_agreement__lot_count +msgid "# Lots/Serials" +msgstr "# Numéros de Série / Lots" + +#. module: agreement_stock +#: model:ir.model.fields,field_description:agreement_stock.field_agreement__move_count +msgid "# Moves" +msgstr "# Mouvements" + +#. module: agreement_stock +#: model:ir.model.fields,field_description:agreement_stock.field_agreement__picking_count +msgid "# Pickings" +msgstr "# Préparations" + +#. module: agreement_stock +#: model_terms:ir.ui.view,arch_db:agreement_stock.partner_agreement_form_view_stock +msgid "Lots/Serials" +msgstr "Numéros de Série / Lots" + +#. module: agreement_stock +#: model_terms:ir.ui.view,arch_db:agreement_stock.partner_agreement_form_view_stock +msgid "Moves" +msgstr "Mouvements" + +#. module: agreement_stock +#: model_terms:ir.ui.view,arch_db:agreement_stock.partner_agreement_form_view_stock +msgid "Pickings" +msgstr "Préparations" + +#. module: agreement_stock +#: model:ir.model,name:agreement_stock.model_agreement +#: model:ir.model.fields,field_description:agreement_stock.field_stock_move__agreement_id +#: model:ir.model.fields,field_description:agreement_stock.field_stock_picking__agreement_id +#: model:ir.model.fields,field_description:agreement_stock.field_stock_production_lot__agreement_id +msgid "Agreement" +msgstr "Accord" + +#. module: agreement_stock +#: model_terms:ir.actions.act_window,help:agreement_stock.action_stock_production_lot_agreement_specific +msgid "Create Lot/Serial" +msgstr "Créer Numéro de Série / Lot" + +#. module: agreement_stock +#: model_terms:ir.actions.act_window,help:agreement_stock.action_stock_move_agreement_specific +msgid "Create Moves" +msgstr "Créer Mouvements" + +#. module: agreement_stock +#: model_terms:ir.actions.act_window,help:agreement_stock.action_stock_picking_agreement_specific +msgid "Create Pickings" +msgstr "Créer Préparations" + +#. module: agreement_stock +#: model:ir.model,name:agreement_stock.model_stock_production_lot +msgid "Lot/Serial" +msgstr "Numéro de Série / Lot" + +#. module: agreement_stock +#: model:ir.actions.act_window,name:agreement_stock.action_stock_production_lot_agreement_specific +msgid "Lots/Serials" +msgstr "Numéros de Série / Lots" + +#. module: agreement_stock +#: model:ir.actions.act_window,name:agreement_stock.action_stock_move_agreement_specific +msgid "Moves" +msgstr "Mouvements" + +#. module: agreement_stock +#: model:ir.actions.act_window,name:agreement_stock.action_stock_picking_agreement_specific +msgid "Pickings" +msgstr "Préparations" + +#. module: agreement_stock +#: model:ir.model.fields,field_description:agreement_stock.field_stock_production_lot__serviceprofile_id +#: model_terms:ir.ui.view,arch_db:agreement_stock.search_product_lot_filter_agreement +msgid "Service Profile" +msgstr "Profil de service" + +#. module: agreement_stock +#: model:ir.model,name:agreement_stock.model_stock_move +msgid "Stock Move" +msgstr "Mouvement de Stock" + +#. module: agreement_stock +#: model:ir.model,name:agreement_stock.model_stock_picking +msgid "Transfer" +msgstr "Transfert" diff --git a/agreement_stock/i18n/it.po b/agreement_stock/i18n/it.po new file mode 100644 index 000000000..be96b4b88 --- /dev/null +++ b/agreement_stock/i18n/it.po @@ -0,0 +1,104 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * agreement_stock +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: Automatically generated\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" + +#. module: agreement_stock +#: model:ir.model.fields,field_description:agreement_stock.field_agreement__lot_count +msgid "# Lots/Serials" +msgstr "" + +#. module: agreement_stock +#: model:ir.model.fields,field_description:agreement_stock.field_agreement__move_count +msgid "# Moves" +msgstr "" + +#. module: agreement_stock +#: model:ir.model.fields,field_description:agreement_stock.field_agreement__picking_count +msgid "# Pickings" +msgstr "" + +#. module: agreement_stock +#: model_terms:ir.ui.view,arch_db:agreement_stock.partner_agreement_form_view_stock +msgid "Lots/Serials" +msgstr "" + +#. module: agreement_stock +#: model_terms:ir.ui.view,arch_db:agreement_stock.partner_agreement_form_view_stock +msgid "Moves" +msgstr "" + +#. module: agreement_stock +#: model_terms:ir.ui.view,arch_db:agreement_stock.partner_agreement_form_view_stock +msgid "Pickings" +msgstr "" + +#. module: agreement_stock +#: model:ir.model,name:agreement_stock.model_agreement +#: model:ir.model.fields,field_description:agreement_stock.field_stock_move__agreement_id +#: model:ir.model.fields,field_description:agreement_stock.field_stock_picking__agreement_id +#: model:ir.model.fields,field_description:agreement_stock.field_stock_production_lot__agreement_id +msgid "Agreement" +msgstr "" + +#. module: agreement_stock +#: model_terms:ir.actions.act_window,help:agreement_stock.action_stock_production_lot_agreement_specific +msgid "Create Lot/Serial" +msgstr "" + +#. module: agreement_stock +#: model_terms:ir.actions.act_window,help:agreement_stock.action_stock_move_agreement_specific +msgid "Create Moves" +msgstr "" + +#. module: agreement_stock +#: model_terms:ir.actions.act_window,help:agreement_stock.action_stock_picking_agreement_specific +msgid "Create Pickings" +msgstr "" + +#. module: agreement_stock +#: model:ir.model,name:agreement_stock.model_stock_production_lot +msgid "Lot/Serial" +msgstr "" + +#. module: agreement_stock +#: model:ir.actions.act_window,name:agreement_stock.action_stock_production_lot_agreement_specific +msgid "Lots/Serials" +msgstr "" + +#. module: agreement_stock +#: model:ir.actions.act_window,name:agreement_stock.action_stock_move_agreement_specific +msgid "Moves" +msgstr "" + +#. module: agreement_stock +#: model:ir.actions.act_window,name:agreement_stock.action_stock_picking_agreement_specific +msgid "Pickings" +msgstr "" + +#. module: agreement_stock +#: model:ir.model.fields,field_description:agreement_stock.field_stock_production_lot__serviceprofile_id +#: model_terms:ir.ui.view,arch_db:agreement_stock.search_product_lot_filter_agreement +msgid "Service Profile" +msgstr "" + +#. module: agreement_stock +#: model:ir.model,name:agreement_stock.model_stock_move +msgid "Stock Move" +msgstr "" + +#. module: agreement_stock +#: model:ir.model,name:agreement_stock.model_stock_picking +msgid "Transfer" +msgstr "" diff --git a/agreement_stock/i18n/pt.po b/agreement_stock/i18n/pt.po new file mode 100644 index 000000000..cbadfad65 --- /dev/null +++ b/agreement_stock/i18n/pt.po @@ -0,0 +1,106 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * agreement_stock +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2020-02-18 01:13+0000\n" +"Last-Translator: Pedro Castro Silva \n" +"Language-Team: none\n" +"Language: pt\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 3.10\n" + +#. module: agreement_stock +#: model:ir.model.fields,field_description:agreement_stock.field_agreement__lot_count +msgid "# Lots/Serials" +msgstr "# Lotes/Séries" + +#. module: agreement_stock +#: model:ir.model.fields,field_description:agreement_stock.field_agreement__move_count +msgid "# Moves" +msgstr "# Movimentos" + +#. module: agreement_stock +#: model:ir.model.fields,field_description:agreement_stock.field_agreement__picking_count +msgid "# Pickings" +msgstr "# Operações de Stock" + +#. module: agreement_stock +#: model_terms:ir.ui.view,arch_db:agreement_stock.partner_agreement_form_view_stock +msgid "Lots/Serials" +msgstr "Lotes/Séries" + +#. module: agreement_stock +#: model_terms:ir.ui.view,arch_db:agreement_stock.partner_agreement_form_view_stock +msgid "Moves" +msgstr "Movimentos" + +#. module: agreement_stock +#: model_terms:ir.ui.view,arch_db:agreement_stock.partner_agreement_form_view_stock +msgid "Pickings" +msgstr "Operações de Stock" + +#. module: agreement_stock +#: model:ir.model,name:agreement_stock.model_agreement +#: model:ir.model.fields,field_description:agreement_stock.field_stock_move__agreement_id +#: model:ir.model.fields,field_description:agreement_stock.field_stock_picking__agreement_id +#: model:ir.model.fields,field_description:agreement_stock.field_stock_production_lot__agreement_id +msgid "Agreement" +msgstr "Acordo" + +#. module: agreement_stock +#: model_terms:ir.actions.act_window,help:agreement_stock.action_stock_production_lot_agreement_specific +msgid "Create Lot/Serial" +msgstr "Criar Lote/Nº Série" + +#. module: agreement_stock +#: model_terms:ir.actions.act_window,help:agreement_stock.action_stock_move_agreement_specific +msgid "Create Moves" +msgstr "Criar Movimentos" + +#. module: agreement_stock +#: model_terms:ir.actions.act_window,help:agreement_stock.action_stock_picking_agreement_specific +msgid "Create Pickings" +msgstr "Criar Operações de Stock" + +#. module: agreement_stock +#: model:ir.model,name:agreement_stock.model_stock_production_lot +msgid "Lot/Serial" +msgstr "Lote/Série" + +#. module: agreement_stock +#: model:ir.actions.act_window,name:agreement_stock.action_stock_production_lot_agreement_specific +msgid "Lots/Serials" +msgstr "Lotes/Séries" + +#. module: agreement_stock +#: model:ir.actions.act_window,name:agreement_stock.action_stock_move_agreement_specific +msgid "Moves" +msgstr "Movimentos" + +#. module: agreement_stock +#: model:ir.actions.act_window,name:agreement_stock.action_stock_picking_agreement_specific +msgid "Pickings" +msgstr "Operações de Stock" + +#. module: agreement_stock +#: model:ir.model.fields,field_description:agreement_stock.field_stock_production_lot__serviceprofile_id +#: model_terms:ir.ui.view,arch_db:agreement_stock.search_product_lot_filter_agreement +msgid "Service Profile" +msgstr "Perfil do Serviço" + +#. module: agreement_stock +#: model:ir.model,name:agreement_stock.model_stock_move +msgid "Stock Move" +msgstr "Movimento de Stock" + +#. module: agreement_stock +#: model:ir.model,name:agreement_stock.model_stock_picking +msgid "Transfer" +msgstr "Transferência" diff --git a/agreement_stock/i18n/pt_BR.po b/agreement_stock/i18n/pt_BR.po new file mode 100644 index 000000000..f92a9baa3 --- /dev/null +++ b/agreement_stock/i18n/pt_BR.po @@ -0,0 +1,106 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * agreement_stock +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2020-06-16 22:19+0000\n" +"Last-Translator: Fernando Colus \n" +"Language-Team: none\n" +"Language: pt_BR\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 3.10\n" + +#. module: agreement_stock +#: model:ir.model.fields,field_description:agreement_stock.field_agreement__lot_count +msgid "# Lots/Serials" +msgstr "# Lotes/Séries" + +#. module: agreement_stock +#: model:ir.model.fields,field_description:agreement_stock.field_agreement__move_count +msgid "# Moves" +msgstr "# Movimentos" + +#. module: agreement_stock +#: model:ir.model.fields,field_description:agreement_stock.field_agreement__picking_count +msgid "# Pickings" +msgstr "# Coletas" + +#. module: agreement_stock +#: model_terms:ir.ui.view,arch_db:agreement_stock.partner_agreement_form_view_stock +msgid "Lots/Serials" +msgstr "Lotes/Séries" + +#. module: agreement_stock +#: model_terms:ir.ui.view,arch_db:agreement_stock.partner_agreement_form_view_stock +msgid "Moves" +msgstr "Movimentos" + +#. module: agreement_stock +#: model_terms:ir.ui.view,arch_db:agreement_stock.partner_agreement_form_view_stock +msgid "Pickings" +msgstr "Coletas" + +#. module: agreement_stock +#: model:ir.model,name:agreement_stock.model_agreement +#: model:ir.model.fields,field_description:agreement_stock.field_stock_move__agreement_id +#: model:ir.model.fields,field_description:agreement_stock.field_stock_picking__agreement_id +#: model:ir.model.fields,field_description:agreement_stock.field_stock_production_lot__agreement_id +msgid "Agreement" +msgstr "Acordo" + +#. module: agreement_stock +#: model_terms:ir.actions.act_window,help:agreement_stock.action_stock_production_lot_agreement_specific +msgid "Create Lot/Serial" +msgstr "Criar Lote/Série" + +#. module: agreement_stock +#: model_terms:ir.actions.act_window,help:agreement_stock.action_stock_move_agreement_specific +msgid "Create Moves" +msgstr "Criar Movimentos" + +#. module: agreement_stock +#: model_terms:ir.actions.act_window,help:agreement_stock.action_stock_picking_agreement_specific +msgid "Create Pickings" +msgstr "Criar Coletas" + +#. module: agreement_stock +#: model:ir.model,name:agreement_stock.model_stock_production_lot +msgid "Lot/Serial" +msgstr "Lote/Série" + +#. module: agreement_stock +#: model:ir.actions.act_window,name:agreement_stock.action_stock_production_lot_agreement_specific +msgid "Lots/Serials" +msgstr "Lotes/Séries" + +#. module: agreement_stock +#: model:ir.actions.act_window,name:agreement_stock.action_stock_move_agreement_specific +msgid "Moves" +msgstr "Movimentos" + +#. module: agreement_stock +#: model:ir.actions.act_window,name:agreement_stock.action_stock_picking_agreement_specific +msgid "Pickings" +msgstr "Coletas" + +#. module: agreement_stock +#: model:ir.model.fields,field_description:agreement_stock.field_stock_production_lot__serviceprofile_id +#: model_terms:ir.ui.view,arch_db:agreement_stock.search_product_lot_filter_agreement +msgid "Service Profile" +msgstr "Perfil de Serviço" + +#. module: agreement_stock +#: model:ir.model,name:agreement_stock.model_stock_move +msgid "Stock Move" +msgstr "Movimento de Estoque" + +#. module: agreement_stock +#: model:ir.model,name:agreement_stock.model_stock_picking +msgid "Transfer" +msgstr "Transferir" diff --git a/agreement_stock/i18n/zh_CN.po b/agreement_stock/i18n/zh_CN.po new file mode 100644 index 000000000..5caf2864a --- /dev/null +++ b/agreement_stock/i18n/zh_CN.po @@ -0,0 +1,106 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * agreement_stock +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2019-09-04 18:23+0000\n" +"Last-Translator: 黎伟杰 <674416404@qq.com>\n" +"Language-Team: none\n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Weblate 3.8\n" + +#. module: agreement_stock +#: model:ir.model.fields,field_description:agreement_stock.field_agreement__lot_count +msgid "# Lots/Serials" +msgstr "# 批次/序列" + +#. module: agreement_stock +#: model:ir.model.fields,field_description:agreement_stock.field_agreement__move_count +msgid "# Moves" +msgstr "# 移动" + +#. module: agreement_stock +#: model:ir.model.fields,field_description:agreement_stock.field_agreement__picking_count +msgid "# Pickings" +msgstr "# 拣货" + +#. module: agreement_stock +#: model_terms:ir.ui.view,arch_db:agreement_stock.partner_agreement_form_view_stock +msgid "Lots/Serials" +msgstr "批次/序列" + +#. module: agreement_stock +#: model_terms:ir.ui.view,arch_db:agreement_stock.partner_agreement_form_view_stock +msgid "Moves" +msgstr "移动" + +#. module: agreement_stock +#: model_terms:ir.ui.view,arch_db:agreement_stock.partner_agreement_form_view_stock +msgid "Pickings" +msgstr "拣货" + +#. module: agreement_stock +#: model:ir.model,name:agreement_stock.model_agreement +#: model:ir.model.fields,field_description:agreement_stock.field_stock_move__agreement_id +#: model:ir.model.fields,field_description:agreement_stock.field_stock_picking__agreement_id +#: model:ir.model.fields,field_description:agreement_stock.field_stock_production_lot__agreement_id +msgid "Agreement" +msgstr "协议" + +#. module: agreement_stock +#: model_terms:ir.actions.act_window,help:agreement_stock.action_stock_production_lot_agreement_specific +msgid "Create Lot/Serial" +msgstr "Create 批次/序列" + +#. module: agreement_stock +#: model_terms:ir.actions.act_window,help:agreement_stock.action_stock_move_agreement_specific +msgid "Create Moves" +msgstr "创建移动" + +#. module: agreement_stock +#: model_terms:ir.actions.act_window,help:agreement_stock.action_stock_picking_agreement_specific +msgid "Create Pickings" +msgstr "创建拣货" + +#. module: agreement_stock +#: model:ir.model,name:agreement_stock.model_stock_production_lot +msgid "Lot/Serial" +msgstr "批次/序列" + +#. module: agreement_stock +#: model:ir.actions.act_window,name:agreement_stock.action_stock_production_lot_agreement_specific +msgid "Lots/Serials" +msgstr "批次/序列" + +#. module: agreement_stock +#: model:ir.actions.act_window,name:agreement_stock.action_stock_move_agreement_specific +msgid "Moves" +msgstr "移动" + +#. module: agreement_stock +#: model:ir.actions.act_window,name:agreement_stock.action_stock_picking_agreement_specific +msgid "Pickings" +msgstr "拣货" + +#. module: agreement_stock +#: model:ir.model.fields,field_description:agreement_stock.field_stock_production_lot__serviceprofile_id +#: model_terms:ir.ui.view,arch_db:agreement_stock.search_product_lot_filter_agreement +msgid "Service Profile" +msgstr "服务资料" + +#. module: agreement_stock +#: model:ir.model,name:agreement_stock.model_stock_move +msgid "Stock Move" +msgstr "库存移动" + +#. module: agreement_stock +#: model:ir.model,name:agreement_stock.model_stock_picking +msgid "Transfer" +msgstr "调拨" diff --git a/agreement_stock/models/__init__.py b/agreement_stock/models/__init__.py new file mode 100644 index 000000000..c4b5b20e4 --- /dev/null +++ b/agreement_stock/models/__init__.py @@ -0,0 +1,5 @@ +# Copyright (C) 2021 - TODAY, Open Source Integrators +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import stock +from . import agreement diff --git a/agreement_stock/models/agreement.py b/agreement_stock/models/agreement.py new file mode 100644 index 000000000..9784a785c --- /dev/null +++ b/agreement_stock/models/agreement.py @@ -0,0 +1,30 @@ +# Copyright (C) 2021 - TODAY, Open Source Integrators +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class Agreement(models.Model): + _inherit = "agreement" + + picking_count = fields.Integer("# Pickings", compute="_compute_picking_count") + move_count = fields.Integer("# Moves", compute="_compute_move_count") + lot_count = fields.Integer("# Lots/Serials", compute="_compute_lot_count") + + def _compute_picking_count(self): + for ag_rec in self: + ag_rec.picking_count = self.env["stock.picking"].search_count( + [("agreement_id", "in", ag_rec.ids)] + ) + + def _compute_move_count(self): + for ag_rec in self: + ag_rec.move_count = self.env["stock.move"].search_count( + [("agreement_id", "in", ag_rec.ids)] + ) + + def _compute_lot_count(self): + for ag_rec in self: + ag_rec.lot_count = self.env["stock.production.lot"].search_count( + [("agreement_id", "in", ag_rec.ids)] + ) diff --git a/agreement_stock/models/stock.py b/agreement_stock/models/stock.py new file mode 100644 index 000000000..234014d16 --- /dev/null +++ b/agreement_stock/models/stock.py @@ -0,0 +1,25 @@ +# Copyright (C) 2021 - TODAY, Open Source Integrators +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class StockPicking(models.Model): + _inherit = "stock.picking" + + agreement_id = fields.Many2one("agreement", "Agreement") + + +class StockMove(models.Model): + _inherit = "stock.move" + + agreement_id = fields.Many2one( + "agreement", related="picking_id.agreement_id", string="Agreement", store=True + ) + + +class StockProductionLot(models.Model): + _inherit = "stock.production.lot" + + agreement_id = fields.Many2one("agreement", "Agreement") + serviceprofile_id = fields.Many2one("agreement.serviceprofile", "Service Profile") diff --git a/agreement_stock/readme/CONTRIBUTORS.rst b/agreement_stock/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..373b2a6a2 --- /dev/null +++ b/agreement_stock/readme/CONTRIBUTORS.rst @@ -0,0 +1,2 @@ +* Sandip Mangukiya +* Serpent Consulting Services Pvt. Ltd. diff --git a/agreement_stock/readme/CREDITS.rst b/agreement_stock/readme/CREDITS.rst new file mode 100644 index 000000000..0eff0acf4 --- /dev/null +++ b/agreement_stock/readme/CREDITS.rst @@ -0,0 +1,3 @@ +The development of this module has been financially supported by: + +* Open Source Integrators diff --git a/agreement_stock/readme/DESCRIPTION.rst b/agreement_stock/readme/DESCRIPTION.rst new file mode 100644 index 000000000..53cc62cf7 --- /dev/null +++ b/agreement_stock/readme/DESCRIPTION.rst @@ -0,0 +1,5 @@ +Odoo Agreement App does not provide an easy way to access stock transfers related to an agreement. +Some organizations needs to have a quick access to stock transfers to track the performance of an agreement. + +This module allows you to link a transfer to an agreement and +adds a smart button on the agreement to look at the list of related transfers. diff --git a/agreement_stock/readme/ROADMAP.rst b/agreement_stock/readme/ROADMAP.rst new file mode 100644 index 000000000..7e6402cf9 --- /dev/null +++ b/agreement_stock/readme/ROADMAP.rst @@ -0,0 +1,2 @@ +The roadmap of the Agreement application is documented on +`Github `_. diff --git a/agreement_stock/readme/USAGE.rst b/agreement_stock/readme/USAGE.rst new file mode 100644 index 000000000..52c8869d9 --- /dev/null +++ b/agreement_stock/readme/USAGE.rst @@ -0,0 +1,10 @@ +To use this module, you need to: + +* Go to Inventory > Transfers +* Select or create a transfer and set the agreement +* Select or create a lot/serial number and set the agreement +* Go to Agreement > Agreements +* Open the previous agreement +* Click on the smart button "Transfers" to see the list of related transfers +* Click on the smart button "Stock Moves" to see the list of related stock moves +* Click on the smart button "Lot/SN #" to see the list of related lot/serial numbers diff --git a/agreement_stock/static/description/icon.png b/agreement_stock/static/description/icon.png new file mode 100644 index 000000000..a99cce6be Binary files /dev/null and b/agreement_stock/static/description/icon.png differ diff --git a/agreement_stock/static/description/index.html b/agreement_stock/static/description/index.html new file mode 100644 index 000000000..81b5c7782 --- /dev/null +++ b/agreement_stock/static/description/index.html @@ -0,0 +1,454 @@ + + + + + + +Agreement - Stock + + + +
+

Agreement - Stock

+ + +

Beta License: AGPL-3 OCA/contract Translate me on Weblate Try me on Runbot

+

Odoo Agreement App does not provide an easy way to access stock transfers related to an agreement. +Some organizations needs to have a quick access to stock transfers to track the performance of an agreement.

+

This module allows you to link a transfer to an agreement and +adds a smart button on the agreement to look at the list of related transfers.

+

Table of contents

+ +
+

Usage

+

To use this module, you need to:

+
    +
  • Go to Inventory > Transfers
  • +
  • Select or create a transfer and set the agreement
  • +
  • Select or create a lot/serial number and set the agreement
  • +
  • Go to Agreement > Agreements
  • +
  • Open the previous agreement
  • +
  • Click on the smart button “Transfers” to see the list of related transfers
  • +
  • Click on the smart button “Stock Moves” to see the list of related stock moves
  • +
  • Click on the smart button “Lot/SN #” to see the list of related lot/serial numbers
  • +
+
+
+

Known issues / Roadmap

+

The roadmap of the Agreement application is documented on +Github.

+
+
+

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.

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • Open Source Integrators
  • +
+
+
+

Contributors

+ +
+
+

Other credits

+

The development of this module has been financially supported by:

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

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.

+

Current maintainers:

+

smangukiya max3903

+

This module is part of the OCA/contract project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/agreement_stock/tests/__init__.py b/agreement_stock/tests/__init__.py new file mode 100644 index 000000000..c94853f3d --- /dev/null +++ b/agreement_stock/tests/__init__.py @@ -0,0 +1,4 @@ +# Copyright (C) 2021 Open Source Integrators +# Copyright (C) 2021 Serpent Consulting Services +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +from . import test_stock_agreement diff --git a/agreement_stock/tests/test_stock_agreement.py b/agreement_stock/tests/test_stock_agreement.py new file mode 100644 index 000000000..bf877f7fb --- /dev/null +++ b/agreement_stock/tests/test_stock_agreement.py @@ -0,0 +1,50 @@ +# Copyright (C) 2021 Open Source Integrators +# Copyright (C) 2021 Serpent Consulting Services +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +from odoo.tests import common + + +class TestStockAgreement(common.TransactionCase): + def test_stockagreement(self): + agreement_1 = self._create_agreement() + partner_1 = self.env["res.partner"].create({"name": "TestPartner1"}) + product_1 = self.env["product.product"].search( + [("type", "=", "product")], limit=1 + ) + picking_1 = self.env["stock.picking"].create( + { + "partner_id": partner_1.id, + "picking_type_id": self.env.ref("stock.picking_type_out").id, + "location_id": self.env.ref("stock.stock_location_stock").id, + "location_dest_id": self.env.ref("stock.stock_location_customers").id, + "agreement_id": agreement_1.id, + } + ) + self.env["stock.move"].create( + { + "product_id": product_1.id, + "name": product_1.partner_ref, + "product_uom_qty": 5, + "quantity_done": 5, + "picking_id": picking_1.id, + "product_uom": product_1.uom_id.id, + "location_id": picking_1.location_id.id, + "location_dest_id": picking_1.location_dest_id.id, + } + ) + agreement_1._compute_picking_count() + agreement_1._compute_move_count() + agreement_1._compute_lot_count() + + self.assertEqual(agreement_1.picking_count, 1) + self.assertEqual(agreement_1.move_count, 1) + self.assertEqual(agreement_1.lot_count, 0) + + def _create_agreement(self): + agreement = self.env["agreement"].create( + { + "code": "DA", + "name": "Demo Agreement", + } + ) + return agreement diff --git a/agreement_stock/views/agreement_view.xml b/agreement_stock/views/agreement_view.xml new file mode 100644 index 000000000..e6adb5cda --- /dev/null +++ b/agreement_stock/views/agreement_view.xml @@ -0,0 +1,96 @@ + + + + + Pickings + ir.actions.act_window + stock.picking + tree,form + [('agreement_id', '=', active_id)] + {'create': False, 'edit': False} + +

+ Create Pickings +

+
+
+ + Moves + ir.actions.act_window + stock.move + tree,form + [('agreement_id', '=', active_id)] + {'create': False, 'edit': False} + +

+ Create Moves +

+
+
+ + Lots/Serials + ir.actions.act_window + stock.production.lot + tree,form + [('agreement_id', '=', active_id)] + {'create': False, 'edit': False} + +

+ Create Lot/Serial +

+
+
+ + + agreement.form.stock + agreement + + + + + + + + + + +
diff --git a/agreement_stock/views/stock_view.xml b/agreement_stock/views/stock_view.xml new file mode 100644 index 000000000..fc98aaf50 --- /dev/null +++ b/agreement_stock/views/stock_view.xml @@ -0,0 +1,60 @@ + + + + + stock.picking.form.agreement + stock.picking + + + + + + + + + + stock.move.form.agreement + stock.move + + + + + + + + + + stock.production.lot.form.agreement + stock.production.lot + + + + + + + + + + + + + + stock.production.lot.select.agreement + stock.production.lot + + + + + + + + + diff --git a/setup/agreement_stock/odoo/addons/agreement_stock b/setup/agreement_stock/odoo/addons/agreement_stock new file mode 120000 index 000000000..fe286ac8d --- /dev/null +++ b/setup/agreement_stock/odoo/addons/agreement_stock @@ -0,0 +1 @@ +../../../../agreement_stock \ No newline at end of file diff --git a/setup/agreement_stock/setup.py b/setup/agreement_stock/setup.py new file mode 100644 index 000000000..28c57bb64 --- /dev/null +++ b/setup/agreement_stock/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)