diff --git a/setup/stock_request_picking_type/odoo/addons/stock_request_picking_type b/setup/stock_request_picking_type/odoo/addons/stock_request_picking_type deleted file mode 120000 index 8155692d1..000000000 --- a/setup/stock_request_picking_type/odoo/addons/stock_request_picking_type +++ /dev/null @@ -1 +0,0 @@ -../../../../stock_request_picking_type \ No newline at end of file diff --git a/setup/stock_request_picking_type/setup.py b/setup/stock_request_picking_type/setup.py deleted file mode 100644 index 28c57bb64..000000000 --- a/setup/stock_request_picking_type/setup.py +++ /dev/null @@ -1,6 +0,0 @@ -import setuptools - -setuptools.setup( - setup_requires=['setuptools-odoo'], - odoo_addon=True, -) diff --git a/stock_request_picking_type/README.rst b/stock_request_picking_type/README.rst deleted file mode 100644 index d1765b87a..000000000 --- a/stock_request_picking_type/README.rst +++ /dev/null @@ -1,89 +0,0 @@ -========================== -Stock Request Picking Type -========================== - -.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! 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-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%2Fstock--logistics--warehouse-lightgray.png?logo=github - :target: https://github.com/OCA/stock-logistics-warehouse/tree/13.0/stock_request_picking_type - :alt: OCA/stock-logistics-warehouse -.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/stock-logistics-warehouse-13-0/stock-logistics-warehouse-13-0-stock_request_picking_type - :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/153/13.0 - :alt: Try me on Runbot - -|badge1| |badge2| |badge3| |badge4| |badge5| - -This module adds stock request orders within the Inventory app with a new operation type. - -**Table of contents** - -.. contents:: - :local: - -Usage -===== - -* Go to Inventory -* Click on the Stock Request Orders tile to process stock requests -* You can also go to Inventory > Operations > Stock Request Orders - -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 -~~~~~~~~~~~~ - -* Maxime Chambreuil -* Pimolnat Suntian - -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-max3903| image:: https://github.com/max3903.png?size=40px - :target: https://github.com/max3903 - :alt: max3903 - -Current `maintainer `__: - -|maintainer-max3903| - -This module is part of the `OCA/stock-logistics-warehouse `_ project on GitHub. - -You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/stock_request_picking_type/__init__.py b/stock_request_picking_type/__init__.py deleted file mode 100644 index dbf87a2fe..000000000 --- a/stock_request_picking_type/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# Copyright 2019 Open Source Integrators -# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). - -from . import models diff --git a/stock_request_picking_type/__manifest__.py b/stock_request_picking_type/__manifest__.py deleted file mode 100644 index dff6907e3..000000000 --- a/stock_request_picking_type/__manifest__.py +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 2019 Open Source Integrators -# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). - -{ - "name": "Stock Request Picking Type", - "summary": "Add Stock Requests to the Inventory App", - "version": "13.0.1.0.0", - "license": "LGPL-3", - "website": "https://github.com/stock-logistics-warehouse", - "author": "Open Source Integrators, Odoo Community Association (OCA)", - "category": "Warehouse Management", - "depends": ["stock_request_submit"], - "data": [ - "data/stock_picking_type.xml", - "views/stock_request_order_views.xml", - "views/stock_picking_views.xml", - ], - "development_status": "Beta", - "maintainers": ["max3903"], -} diff --git a/stock_request_picking_type/data/stock_picking_type.xml b/stock_request_picking_type/data/stock_picking_type.xml deleted file mode 100644 index 136e087d2..000000000 --- a/stock_request_picking_type/data/stock_picking_type.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - Stock Requests - - stock_request_order - SRO - - diff --git a/stock_request_picking_type/i18n/es.po b/stock_request_picking_type/i18n/es.po deleted file mode 100644 index 13d0f00c4..000000000 --- a/stock_request_picking_type/i18n/es.po +++ /dev/null @@ -1,170 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * stock_request_picking_type -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2020-01-17 05:13+0000\n" -"Last-Translator: Nelson Ramírez Sánchez \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 3.10\n" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.stock_request_type_kanban -msgid "" -msgstr "" -"" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.stock_request_type_kanban -msgid "New" -msgstr "Nuevo" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.stock_request_type_kanban -msgid "View" -msgstr "Ver" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.stock_request_type_kanban -msgid "All" -msgstr "Todo" - -#. module: stock_request_picking_type -#: selection:stock.picking.type,code:0 -msgid "Customers" -msgstr "Clientes" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.stock_request_type_kanban -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.view_stock_request_order_filter -msgid "Done" -msgstr "Hecho" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.view_stock_request_order_filter -msgid "Expected Date" -msgstr "Fecha Esperada" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.view_stock_request_order_filter -msgid "Expected Date by Month" -msgstr "Fecha Esperada por Mes" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.view_stock_request_order_filter -msgid "Group By..." -msgstr "Agrupar por..." - -#. module: stock_request_picking_type -#: model:ir.model.fields,field_description:stock_request_picking_type.field_stock_picking_type__count_sr_open -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.stock_request_type_kanban -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.view_stock_request_order_filter -msgid "In Progress" -msgstr "En Progreso" - -#. module: stock_request_picking_type -#: selection:stock.picking.type,code:0 -msgid "Internal" -msgstr "Interno" - -#. module: stock_request_picking_type -#: model:ir.model.fields,field_description:stock_request_picking_type.field_stock_picking_type__count_sr_late -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.stock_request_type_kanban -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.view_stock_request_order_filter -msgid "Late" -msgstr "Tarde" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.view_stock_request_order_filter -msgid "Late Stock Requests" -msgstr "Solicitudes de Stock Tardías" - -#. module: stock_request_picking_type -#: selection:stock.picking.type,code:0 -msgid "Manufacturing Operation" -msgstr "Operación de Fabricación" - -#. module: stock_request_picking_type -#: model:ir.model.fields,field_description:stock_request_picking_type.field_stock_request_order__picking_type_id -msgid "Operation Type" -msgstr "Tipo de Operación" - -#. module: stock_request_picking_type -#: model:ir.model,name:stock_request_picking_type.model_stock_picking_type -msgid "Picking Type" -msgstr "Tipo de Picking" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.view_stock_request_order_filter -msgid "Search Stock Request Orders" -msgstr "Buscar Pedidos de Solicitud de Stock" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.stock_request_type_kanban -msgid "Settings" -msgstr "Configuración" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.view_stock_request_order_filter -msgid "State" -msgstr "Estado" - -#. module: stock_request_picking_type -#: model:ir.model,name:stock_request_picking_type.model_stock_request_order -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.stock_request_type_kanban -#: selection:stock.picking.type,code:0 -msgid "Stock Request Order" -msgstr "Pedido de Solicitud de Stock" - -#. module: stock_request_picking_type -#: model:ir.actions.act_window,name:stock_request_picking_type.action_picking_dashboard -#: model:ir.actions.act_window,name:stock_request_picking_type.action_stock_request_order_form -#: model:ir.ui.menu,name:stock_request_picking_type.menu_stock_request_order -msgid "Stock Request Orders" -msgstr "Pedidos de Solicitud de Stock" - -#. module: stock_request_picking_type -#: model:stock.picking.type,name:stock_request_picking_type.stock_request_order -msgid "Stock Requests" -msgstr "Solicitudes de Stock" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.view_stock_request_order_filter -msgid "Stock Requests To Do." -msgstr "Solicitudes de acciones para hacer." - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.view_stock_request_order_filter -msgid "Stock Requests in Progress." -msgstr "Solicitudes de stock en curso." - -#. module: stock_request_picking_type -#: model:ir.model.fields,field_description:stock_request_picking_type.field_stock_picking_type__count_sr_todo -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.stock_request_type_kanban -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.view_stock_request_order_filter -msgid "To Do" -msgstr "Por Hacer" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.stock_request_type_kanban -msgid "To Process" -msgstr "A Procesar" - -#. module: stock_request_picking_type -#: model:ir.model.fields,field_description:stock_request_picking_type.field_stock_picking_type__code -msgid "Type of Operation" -msgstr "Tipo de Operación" - -#. module: stock_request_picking_type -#: selection:stock.picking.type,code:0 -msgid "Vendors" -msgstr "Proveedores" diff --git a/stock_request_picking_type/i18n/stock_request_picking_type.pot b/stock_request_picking_type/i18n/stock_request_picking_type.pot deleted file mode 100644 index 589537703..000000000 --- a/stock_request_picking_type/i18n/stock_request_picking_type.pot +++ /dev/null @@ -1,166 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * stock_request_picking_type -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 12.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: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.stock_request_type_kanban -msgid "" -msgstr "" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.stock_request_type_kanban -msgid "New" -msgstr "" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.stock_request_type_kanban -msgid "View" -msgstr "" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.stock_request_type_kanban -msgid "All" -msgstr "" - -#. module: stock_request_picking_type -#: selection:stock.picking.type,code:0 -msgid "Customers" -msgstr "" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.stock_request_type_kanban -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.view_stock_request_order_filter -msgid "Done" -msgstr "" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.view_stock_request_order_filter -msgid "Expected Date" -msgstr "" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.view_stock_request_order_filter -msgid "Expected Date by Month" -msgstr "" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.view_stock_request_order_filter -msgid "Group By..." -msgstr "" - -#. module: stock_request_picking_type -#: model:ir.model.fields,field_description:stock_request_picking_type.field_stock_picking_type__count_sr_open -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.stock_request_type_kanban -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.view_stock_request_order_filter -msgid "In Progress" -msgstr "" - -#. module: stock_request_picking_type -#: selection:stock.picking.type,code:0 -msgid "Internal" -msgstr "" - -#. module: stock_request_picking_type -#: model:ir.model.fields,field_description:stock_request_picking_type.field_stock_picking_type__count_sr_late -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.stock_request_type_kanban -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.view_stock_request_order_filter -msgid "Late" -msgstr "" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.view_stock_request_order_filter -msgid "Late Stock Requests" -msgstr "" - -#. module: stock_request_picking_type -#: selection:stock.picking.type,code:0 -msgid "Manufacturing Operation" -msgstr "" - -#. module: stock_request_picking_type -#: model:ir.model.fields,field_description:stock_request_picking_type.field_stock_request_order__picking_type_id -msgid "Operation Type" -msgstr "" - -#. module: stock_request_picking_type -#: model:ir.model,name:stock_request_picking_type.model_stock_picking_type -msgid "Picking Type" -msgstr "" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.view_stock_request_order_filter -msgid "Search Stock Request Orders" -msgstr "" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.stock_request_type_kanban -msgid "Settings" -msgstr "" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.view_stock_request_order_filter -msgid "State" -msgstr "" - -#. module: stock_request_picking_type -#: model:ir.model,name:stock_request_picking_type.model_stock_request_order -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.stock_request_type_kanban -#: selection:stock.picking.type,code:0 -msgid "Stock Request Order" -msgstr "" - -#. module: stock_request_picking_type -#: model:ir.actions.act_window,name:stock_request_picking_type.action_picking_dashboard -#: model:ir.actions.act_window,name:stock_request_picking_type.action_stock_request_order_form -#: model:ir.ui.menu,name:stock_request_picking_type.menu_stock_request_order -msgid "Stock Request Orders" -msgstr "" - -#. module: stock_request_picking_type -#: model:stock.picking.type,name:stock_request_picking_type.stock_request_order -msgid "Stock Requests" -msgstr "" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.view_stock_request_order_filter -msgid "Stock Requests To Do." -msgstr "" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.view_stock_request_order_filter -msgid "Stock Requests in Progress." -msgstr "" - -#. module: stock_request_picking_type -#: model:ir.model.fields,field_description:stock_request_picking_type.field_stock_picking_type__count_sr_todo -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.stock_request_type_kanban -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.view_stock_request_order_filter -msgid "To Do" -msgstr "" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.stock_request_type_kanban -msgid "To Process" -msgstr "" - -#. module: stock_request_picking_type -#: model:ir.model.fields,field_description:stock_request_picking_type.field_stock_picking_type__code -msgid "Type of Operation" -msgstr "" - -#. module: stock_request_picking_type -#: selection:stock.picking.type,code:0 -msgid "Vendors" -msgstr "" - diff --git a/stock_request_picking_type/i18n/zh_CN.po b/stock_request_picking_type/i18n/zh_CN.po deleted file mode 100644 index d4dc37a8e..000000000 --- a/stock_request_picking_type/i18n/zh_CN.po +++ /dev/null @@ -1,169 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * stock_request_picking_type -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2019-10-16 15:58+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: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.stock_request_type_kanban -msgid "" -msgstr "" -"" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.stock_request_type_kanban -msgid "New" -msgstr "新建" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.stock_request_type_kanban -msgid "View" -msgstr "视图" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.stock_request_type_kanban -msgid "All" -msgstr "所有" - -#. module: stock_request_picking_type -#: selection:stock.picking.type,code:0 -msgid "Customers" -msgstr "客户" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.stock_request_type_kanban -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.view_stock_request_order_filter -msgid "Done" -msgstr "完成" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.view_stock_request_order_filter -msgid "Expected Date" -msgstr "预计日期" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.view_stock_request_order_filter -msgid "Expected Date by Month" -msgstr "每月预期日期" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.view_stock_request_order_filter -msgid "Group By..." -msgstr "分组..." - -#. module: stock_request_picking_type -#: model:ir.model.fields,field_description:stock_request_picking_type.field_stock_picking_type__count_sr_open -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.stock_request_type_kanban -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.view_stock_request_order_filter -msgid "In Progress" -msgstr "进行中" - -#. module: stock_request_picking_type -#: selection:stock.picking.type,code:0 -msgid "Internal" -msgstr "内部" - -#. module: stock_request_picking_type -#: model:ir.model.fields,field_description:stock_request_picking_type.field_stock_picking_type__count_sr_late -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.stock_request_type_kanban -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.view_stock_request_order_filter -msgid "Late" -msgstr "迟到" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.view_stock_request_order_filter -msgid "Late Stock Requests" -msgstr "迟到的库存请求" - -#. module: stock_request_picking_type -#: selection:stock.picking.type,code:0 -msgid "Manufacturing Operation" -msgstr "制造作业" - -#. module: stock_request_picking_type -#: model:ir.model.fields,field_description:stock_request_picking_type.field_stock_request_order__picking_type_id -msgid "Operation Type" -msgstr "作业类型" - -#. module: stock_request_picking_type -#: model:ir.model,name:stock_request_picking_type.model_stock_picking_type -msgid "Picking Type" -msgstr "拣货类型" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.view_stock_request_order_filter -msgid "Search Stock Request Orders" -msgstr "搜索库存请求单" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.stock_request_type_kanban -msgid "Settings" -msgstr "设置" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.view_stock_request_order_filter -msgid "State" -msgstr "状态" - -#. module: stock_request_picking_type -#: model:ir.model,name:stock_request_picking_type.model_stock_request_order -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.stock_request_type_kanban -#: selection:stock.picking.type,code:0 -msgid "Stock Request Order" -msgstr "库存请求单" - -#. module: stock_request_picking_type -#: model:ir.actions.act_window,name:stock_request_picking_type.action_picking_dashboard -#: model:ir.actions.act_window,name:stock_request_picking_type.action_stock_request_order_form -#: model:ir.ui.menu,name:stock_request_picking_type.menu_stock_request_order -msgid "Stock Request Orders" -msgstr "库存请求单" - -#. module: stock_request_picking_type -#: model:stock.picking.type,name:stock_request_picking_type.stock_request_order -msgid "Stock Requests" -msgstr "库存请求" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.view_stock_request_order_filter -msgid "Stock Requests To Do." -msgstr "库存请求去做。" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.view_stock_request_order_filter -msgid "Stock Requests in Progress." -msgstr "库存请求正在进行中。" - -#. module: stock_request_picking_type -#: model:ir.model.fields,field_description:stock_request_picking_type.field_stock_picking_type__count_sr_todo -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.stock_request_type_kanban -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.view_stock_request_order_filter -msgid "To Do" -msgstr "去做" - -#. module: stock_request_picking_type -#: model_terms:ir.ui.view,arch_db:stock_request_picking_type.stock_request_type_kanban -msgid "To Process" -msgstr "处理" - -#. module: stock_request_picking_type -#: model:ir.model.fields,field_description:stock_request_picking_type.field_stock_picking_type__code -msgid "Type of Operation" -msgstr "作业的类型" - -#. module: stock_request_picking_type -#: selection:stock.picking.type,code:0 -msgid "Vendors" -msgstr "供应商" diff --git a/stock_request_picking_type/migrations/12.0.2.0.0/post-migration.py b/stock_request_picking_type/migrations/12.0.2.0.0/post-migration.py deleted file mode 100644 index 1e5b9e6e5..000000000 --- a/stock_request_picking_type/migrations/12.0.2.0.0/post-migration.py +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright (C) 2019 Open Source Integrators -# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). - - -def migrate(env, version): - if not version: - return - - env.execute( - "UPDATE stock_request_order " - "SET picking_type_id = (" - "SELECT id " - "FROM stock_picking_type " - "WHERE code = 'stock_request_order') " - "WHERE picking_type_id IS NULL;" - ) diff --git a/stock_request_picking_type/models/__init__.py b/stock_request_picking_type/models/__init__.py deleted file mode 100644 index bed61e447..000000000 --- a/stock_request_picking_type/models/__init__.py +++ /dev/null @@ -1,5 +0,0 @@ -# Copyright 2019 Open Source Integrators -# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). - -from . import stock_request_order -from . import stock_picking_type diff --git a/stock_request_picking_type/models/stock_picking_type.py b/stock_request_picking_type/models/stock_picking_type.py deleted file mode 100644 index f1067c24c..000000000 --- a/stock_request_picking_type/models/stock_picking_type.py +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 2019 Open Source Integrators -# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). - -from odoo import fields, models - - -class StockPickingType(models.Model): - _inherit = "stock.picking.type" - - code = fields.Selection( - selection_add=[("stock_request_order", "Stock Request Order")] - ) - count_sr_todo = fields.Integer(string="To Do", compute="_compute_sr_count") - count_sr_open = fields.Integer(string="In Progress", compute="_compute_sr_count") - count_sr_late = fields.Integer(string="Late", compute="_compute_sr_count") - - def _compute_sr_count(self): - domains = { - "count_sr_todo": [("state", "=", "submitted")], - "count_sr_open": [("state", "=", "open")], - "count_sr_late": [ - ("expected_date", "<", fields.Date.today()), - ("state", "in", ("submitted", "open")), - ], - } - for field in domains: - data = self.env["stock.request.order"].read_group( - domains[field] - + [ - ("state", "not in", ("done", "cancel")), - ("picking_type_id", "in", self.ids), - ], - ["picking_type_id"], - ["picking_type_id"], - ) - count = { - x["picking_type_id"] - and x["picking_type_id"][0]: x["picking_type_id_count"] - for x in data - } - for record in self: - record[field] = count.get(record.id, 0) - - def get_stock_request_order_picking_type_action(self): - return self._get_action("stock_request_picking_type.action_picking_dashboard") diff --git a/stock_request_picking_type/models/stock_request_order.py b/stock_request_picking_type/models/stock_request_order.py deleted file mode 100644 index fab245acb..000000000 --- a/stock_request_picking_type/models/stock_request_order.py +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 2019 Open Source Integrators -# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). - -from odoo import api, fields, models - - -class StockRequestOrder(models.Model): - _inherit = "stock.request.order" - - @api.model - def _get_default_picking_type(self): - return ( - self.env["stock.picking.type"] - .search( - [ - ("code", "=", "stock_request_order"), - ( - "warehouse_id.company_id", - "in", - [ - self.env.context.get( - "company_id", self.env.company.id - ), - False, - ], - ), - ], - limit=1, - ) - .id - ) - - picking_type_id = fields.Many2one( - comodel_name="stock.picking.type", - string="Operation Type", - default=_get_default_picking_type, - required=True, - ) diff --git a/stock_request_picking_type/readme/CONTRIBUTORS.rst b/stock_request_picking_type/readme/CONTRIBUTORS.rst deleted file mode 100644 index b3d296d48..000000000 --- a/stock_request_picking_type/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,2 +0,0 @@ -* Maxime Chambreuil -* Pimolnat Suntian diff --git a/stock_request_picking_type/readme/DESCRIPTION.rst b/stock_request_picking_type/readme/DESCRIPTION.rst deleted file mode 100644 index 0173f58f4..000000000 --- a/stock_request_picking_type/readme/DESCRIPTION.rst +++ /dev/null @@ -1 +0,0 @@ -This module adds stock request orders within the Inventory app with a new operation type. diff --git a/stock_request_picking_type/readme/USAGE.rst b/stock_request_picking_type/readme/USAGE.rst deleted file mode 100644 index a2807118d..000000000 --- a/stock_request_picking_type/readme/USAGE.rst +++ /dev/null @@ -1,3 +0,0 @@ -* Go to Inventory -* Click on the Stock Request Orders tile to process stock requests -* You can also go to Inventory > Operations > Stock Request Orders diff --git a/stock_request_picking_type/static/description/icon.png b/stock_request_picking_type/static/description/icon.png deleted file mode 100644 index c31ecfd9f..000000000 Binary files a/stock_request_picking_type/static/description/icon.png and /dev/null differ diff --git a/stock_request_picking_type/static/description/index.html b/stock_request_picking_type/static/description/index.html deleted file mode 100644 index 004c67f79..000000000 --- a/stock_request_picking_type/static/description/index.html +++ /dev/null @@ -1,431 +0,0 @@ - - - - - - -Stock Request Picking Type - - - -
-

Stock Request Picking Type

- - -

Beta License: LGPL-3 OCA/stock-logistics-warehouse Translate me on Weblate Try me on Runbot

-

This module adds stock request orders within the Inventory app with a new operation type.

-

Table of contents

- -
-

Usage

-
    -
  • Go to Inventory
  • -
  • Click on the Stock Request Orders tile to process stock requests
  • -
  • You can also go to Inventory > Operations > Stock Request Orders
  • -
-
-
-

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

- -
-
-

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 maintainer:

-

max3903

-

This module is part of the OCA/stock-logistics-warehouse project on GitHub.

-

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

-
-
-
- - diff --git a/stock_request_picking_type/views/stock_picking_views.xml b/stock_request_picking_type/views/stock_picking_views.xml deleted file mode 100644 index fa16ff188..000000000 --- a/stock_request_picking_type/views/stock_picking_views.xml +++ /dev/null @@ -1,196 +0,0 @@ - - - - stock.picking.type.kanban - stock.picking.type - - - - - - - - -
-
-
-
- - - -
- -
-
-
- - - -
-
-
-
-
- -
-
-
- -
- -
-
-
- -
- -
-
-
-
-
- -
-
-
-
-
- - Operation Types - stock.picking.type - - - - {"invisible": [("code", "=", "stock_request_order")]} - - - {"invisible": [("code", "=", "stock_request_order")]} - - - -
diff --git a/stock_request_picking_type/views/stock_request_order_views.xml b/stock_request_picking_type/views/stock_request_order_views.xml deleted file mode 100644 index 2d6de7b42..000000000 --- a/stock_request_picking_type/views/stock_request_order_views.xml +++ /dev/null @@ -1,68 +0,0 @@ - - - stock.request.order.select - stock.request.order - - - - - - - - - - - - - - - - Stock Request Orders - ir.actions.act_window - stock.request.order - tree,form - - - [('picking_type_id', '=', active_id)] - {'default_picking_type_id': active_id} - - - Stock Request Orders - ir.actions.act_window - stock.request.order - form - - -