diff --git a/app_purchase_stock_available/__init__.py b/app_purchase_stock_available/__init__.py deleted file mode 100644 index 0650744f..00000000 --- a/app_purchase_stock_available/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import models diff --git a/app_purchase_stock_available/__manifest__.py b/app_purchase_stock_available/__manifest__.py deleted file mode 100644 index 910a7b8f..00000000 --- a/app_purchase_stock_available/__manifest__.py +++ /dev/null @@ -1,50 +0,0 @@ -# -*- coding: utf-8 -*- - -# Created on 2019-01-04 -# author: 广州尚鹏,http://www.sunpop.cn -# email: 300883@qq.com -# resource of Sunpop -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). - -# Odoo12在线用户手册(长期更新) -# http://www.sunpop.cn/documentation/user/12.0/en/index.html - -# Odoo12在线开发者手册(长期更新) -# http://www.sunpop.cn/documentation/12.0/index.html - -# Odoo10在线中文用户手册(长期更新) -# http://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html - -# Odoo10离线中文用户手册下载 -# http://www.sunpop.cn/odoo10_user_manual_document_offline/ -# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备) -# http://www.sunpop.cn/odoo10_developer_document_offline/ - -{ - "name": "Stock available in Purchase order line, Forecast", - 'summary': 'App Show product Quantity on hand and Forecast Quantity in Purchase Order', - "version": "11.19.1.4", - 'category': 'Purchases', - 'author': 'Sunpop.cn', - 'website': 'http://www.sunpop.cn', - 'license': 'AGPL-3', - 'sequence': 2, - 'installable': True, - 'auto_install': False, - 'application': True, - 'images': ['static/description/banner.png'], - 'currency': 'EUR', - 'price': 18, - 'description': """ - App Show stock product Quantity on hand and Forecast Quantity in Purchase Order - 采购单中显示产品库存量 - """, - 'depends': [ - 'purchase', - 'stock', - ], - "data": [ - 'views/purchase_order_views.xml', - ], - "installable": True -} diff --git a/app_purchase_stock_available/i18n/zh_CN.po b/app_purchase_stock_available/i18n/zh_CN.po deleted file mode 100644 index 7d487034..00000000 --- a/app_purchase_stock_available/i18n/zh_CN.po +++ /dev/null @@ -1,55 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * app_purchase_stock_available -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 12.0+e-20181221\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-03 17:34+0000\n" -"PO-Revision-Date: 2019-01-03 17:34+0000\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: app_purchase_stock_available -#: model:ir.model.fields,help:app_purchase_stock_available.field_purchase_order_line__qty_available -msgid "Current quantity of products.\n" -"In a context with a single Stock Location, this includes goods stored at this Location, or any of its children.\n" -"In a context with a single Warehouse, this includes goods stored in the Stock Location of this Warehouse, or any of its children.\n" -"stored in the Stock Location of the Warehouse of this Shop, or any of its children.\n" -"Otherwise, this includes goods stored in any Stock Location with 'internal' type." -msgstr "在手数量。 \n" -"对单一库存位置来说,包括了此位置或其任何子位置所存储的产品。 \n" -"对单一仓库来说,包括了此仓库位置或其任何子位置所存储的产品。 \n" -"另外,这包括了所有'内部'类型的任何库存位置所存储的产品。" - -#. module: app_purchase_stock_available -#: model:ir.model.fields,field_description:app_purchase_stock_available.field_purchase_order_line__virtual_available -msgid "Forecast Quantity" -msgstr "在途数量" - -#. module: app_purchase_stock_available -#: model:ir.model.fields,help:app_purchase_stock_available.field_purchase_order_line__virtual_available -msgid "Forecast quantity (computed as Quantity On Hand - Outgoing + Incoming)\n" -"In a context with a single Stock Location, this includes goods stored in this location, or any of its children.\n" -"In a context with a single Warehouse, this includes goods stored in the Stock Location of this Warehouse, or any of its children.\n" -"Otherwise, this includes goods stored in any Stock Location with 'internal' type." -msgstr "在途数量(计算为手上数量 - 出库 + 入库) \n" -"对于单一库存位置来说,这包括了存储在此位置及其子位置的货物。\n" -"对于单一仓库来说,这包括了存储在此仓库的库存位置及其子位置的货物。\n" -"否则,这包括存储在任何“内部”类型的任何库存位置的货物。" - -#. module: app_purchase_stock_available -#: model:ir.model,name:app_purchase_stock_available.model_purchase_order_line -msgid "Purchase Order Line" -msgstr "采购订单行" - -#. module: app_purchase_stock_available -#: model:ir.model.fields,field_description:app_purchase_stock_available.field_purchase_order_line__qty_available -msgid "Quantity On Hand" -msgstr "在手数量" - diff --git a/app_purchase_stock_available/models/__init__.py b/app_purchase_stock_available/models/__init__.py deleted file mode 100644 index 370f577b..00000000 --- a/app_purchase_stock_available/models/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import purchase diff --git a/app_purchase_stock_available/models/purchase.py b/app_purchase_stock_available/models/purchase.py deleted file mode 100644 index 813c6c01..00000000 --- a/app_purchase_stock_available/models/purchase.py +++ /dev/null @@ -1,16 +0,0 @@ -# -*- coding: utf-8 -*- -# Part of Odoo. See LICENSE file for full copyright and licensing details. - -from odoo import api, fields, models, _ - -class PurchaseOrderLine(models.Model): - _inherit = 'purchase.order.line' - - virtual_available = fields.Float( - related='product_id.virtual_available', - readonly=True, - ) - qty_available = fields.Float( - related='product_id.qty_available', - readonly=True, - ) diff --git a/app_purchase_stock_available/readme/CONTRIBUTORS.rst b/app_purchase_stock_available/readme/CONTRIBUTORS.rst deleted file mode 100644 index b03c1273..00000000 --- a/app_purchase_stock_available/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,8 +0,0 @@ -* `AvanzOSC `_: - - * Daniel Campos - * Ana Juaristi -* `Tecnativa `_: - - * Pedro Baeza - * Vicent Cubells diff --git a/app_purchase_stock_available/readme/DESCRIPTION.rst b/app_purchase_stock_available/readme/DESCRIPTION.rst deleted file mode 100644 index 426705ed..00000000 --- a/app_purchase_stock_available/readme/DESCRIPTION.rst +++ /dev/null @@ -1,2 +0,0 @@ -This module allows to view the virtual stock quantity of a product in the -purchase order line. diff --git a/app_purchase_stock_available/readme/USAGE.rst b/app_purchase_stock_available/readme/USAGE.rst deleted file mode 100644 index d2ad4ea3..00000000 --- a/app_purchase_stock_available/readme/USAGE.rst +++ /dev/null @@ -1,2 +0,0 @@ -* Create a new purchase order and now you will see available stock of product - on every purchase line. diff --git a/app_purchase_stock_available/static/description/banner.png b/app_purchase_stock_available/static/description/banner.png deleted file mode 100644 index f7c9efa6..00000000 Binary files a/app_purchase_stock_available/static/description/banner.png and /dev/null differ diff --git a/app_purchase_stock_available/static/description/demo1.jpg b/app_purchase_stock_available/static/description/demo1.jpg deleted file mode 100644 index e1ff4d20..00000000 Binary files a/app_purchase_stock_available/static/description/demo1.jpg and /dev/null differ diff --git a/app_purchase_stock_available/static/description/icon.png b/app_purchase_stock_available/static/description/icon.png deleted file mode 100644 index 54af10f1..00000000 Binary files a/app_purchase_stock_available/static/description/icon.png and /dev/null differ diff --git a/app_purchase_stock_available/static/description/index.html b/app_purchase_stock_available/static/description/index.html deleted file mode 100644 index 4cdf14b6..00000000 --- a/app_purchase_stock_available/static/description/index.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - Show Stock available / Forecast in Purchase order line - - - - - - - Key features: - - - - Lastest update: v12.19.1.4 - - - - Show Stock available in Purchase order line - - - - Show Stock Forecast in Purchase order line - - - - - - - - - - - - - - - - Technical Help & Support - - - - - For any type of technical help & support requests, Feel free to contact us - - guohuadeng@hotmail.com - - Via QQ: 300883 - - 300883@qq.com - - - - Visit our website for more support. - - http://www.sunpop.cn - - - - - More Powerful addons, Make your odoo very easy to use, easy customize: - Supop.cn Odoo Addons - - - - diff --git a/app_purchase_stock_available/static/description/split_delivery.png b/app_purchase_stock_available/static/description/split_delivery.png deleted file mode 100644 index 2b992ade..00000000 Binary files a/app_purchase_stock_available/static/description/split_delivery.png and /dev/null differ diff --git a/app_purchase_stock_available/views/purchase_order_views.xml b/app_purchase_stock_available/views/purchase_order_views.xml deleted file mode 100644 index 9164b56a..00000000 --- a/app_purchase_stock_available/views/purchase_order_views.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - purchase.order.form.view.stock - purchase.order - - - - - - - - - -