mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
add 上架策略
This commit is contained in:
@@ -44,8 +44,6 @@
|
||||
],
|
||||
'js': [
|
||||
],
|
||||
'images': [
|
||||
],
|
||||
'post_load': None,
|
||||
'post_init_hook': None,
|
||||
'installable': True,
|
||||
|
||||
@@ -47,8 +47,6 @@
|
||||
],
|
||||
'js': [
|
||||
],
|
||||
'images': [
|
||||
],
|
||||
'post_load': None,
|
||||
'post_init_hook': None,
|
||||
'installable': True,
|
||||
|
||||
@@ -49,8 +49,6 @@
|
||||
],
|
||||
'js': [
|
||||
],
|
||||
'images': [
|
||||
],
|
||||
'installable': True,
|
||||
'application': True,
|
||||
'auto_install': False,
|
||||
|
||||
5
app_stock_putaway/__init__.py
Normal file
5
app_stock_putaway/__init__.py
Normal file
@@ -0,0 +1,5 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from . import models
|
||||
from . import ir
|
||||
from . import res
|
||||
53
app_stock_putaway/__manifest__.py
Normal file
53
app_stock_putaway/__manifest__.py
Normal file
@@ -0,0 +1,53 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Created on 2018-11-05
|
||||
# author: 广州尚鹏,http://www.sunpop.cn
|
||||
# email: 300883@qq.com
|
||||
# resource of Sunpop
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
# Odoo在线中文用户手册(长期更新)
|
||||
# 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/
|
||||
# description:
|
||||
|
||||
|
||||
{
|
||||
'name': "App stock putaway show. 单独的上架策略界面及菜单",
|
||||
'version': '11.0.3.24',
|
||||
'author': 'Sunpop.cn',
|
||||
'category': 'Base',
|
||||
'website': 'http://www.sunpop.cn',
|
||||
'license': 'LGPL-3',
|
||||
'sequence': 2,
|
||||
'summary': """
|
||||
Show stock putaway strategy in stock menu.
|
||||
""",
|
||||
'description': """
|
||||
上架策略菜单。
|
||||
广州尚鹏,Sunpop.cn 的odoo模块。
|
||||
""",
|
||||
'depends': ['stock'],
|
||||
'images': [],
|
||||
|
||||
'data': [
|
||||
'views/product_putaway_views.xml',
|
||||
],
|
||||
'demo': [
|
||||
],
|
||||
'test': [
|
||||
],
|
||||
'css': [
|
||||
],
|
||||
'qweb': [
|
||||
],
|
||||
'js': [
|
||||
],
|
||||
'installable': True,
|
||||
'application': True,
|
||||
'auto_install': True,
|
||||
}
|
||||
33
app_stock_putaway/i18n/zh_CN.po
Normal file
33
app_stock_putaway/i18n/zh_CN.po
Normal file
@@ -0,0 +1,33 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * app_stock_putaway
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 11.0+e-20180915\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-11-04 20:04+0000\n"
|
||||
"PO-Revision-Date: 2018-11-04 20:04+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_stock_putaway
|
||||
#: model:ir.actions.act_window,help:app_stock_putaway.action_product_putaway
|
||||
msgid "Click to define a new picking type group."
|
||||
msgstr "点击创建一条新的记录."
|
||||
|
||||
#. module: app_stock_putaway
|
||||
#: model:ir.ui.view,arch_db:app_stock_putaway.app_view_strock_putaway_tree
|
||||
msgid "Stock Put Away Strategy"
|
||||
msgstr "上架策略"
|
||||
|
||||
#. module: app_stock_putaway
|
||||
#: model:ir.actions.act_window,name:app_stock_putaway.action_product_putaway
|
||||
#: model:ir.ui.menu,name:app_stock_putaway.menu_putaway
|
||||
msgid "Stock Putaway Strategy"
|
||||
msgstr "上架策略"
|
||||
|
||||
1
app_stock_putaway/ir/__init__.py
Normal file
1
app_stock_putaway/ir/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
1
app_stock_putaway/models/__init__.py
Normal file
1
app_stock_putaway/models/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
2
app_stock_putaway/report/__init__.py
Normal file
2
app_stock_putaway/report/__init__.py
Normal file
@@ -0,0 +1,2 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
1
app_stock_putaway/res/__init__.py
Normal file
1
app_stock_putaway/res/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
BIN
app_stock_putaway/static/description/icon.png
Normal file
BIN
app_stock_putaway/static/description/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 88 KiB |
71
app_stock_putaway/static/description/index.html
Normal file
71
app_stock_putaway/static/description/index.html
Normal file
@@ -0,0 +1,71 @@
|
||||
<section class="oe_container">
|
||||
<div class="oe_row oe_spaced" style="max-width: 95%;">
|
||||
<div class="oe_span12">
|
||||
<h2 class="oe_slogan">App stock picking type group </h2>
|
||||
<div class="oe_demo" style=" margin: 30px auto 0; padding: 0 15px 0 0; border:none; width: 96%;">
|
||||
<p>This moduld allows user to . </p>
|
||||
<h1>More Powerful addons:
|
||||
<a class="btn btn-primary mb16" href="http://www.odoo.com/apps/modules/browse?author=Sunpop.cn">Supop.cn Odoo Addons</a>
|
||||
</h1>
|
||||
<br>
|
||||
<h3>Lastest update: v10.0.3.27, 2018-03-27</h3>
|
||||
<ul>
|
||||
<li>1. Manager picking type groups</li>
|
||||
<li>2. Group by picking type groups in stock dashboard</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="oe_demo oe_screenshot">
|
||||
<h3>Base setup: </h3>
|
||||
<ul>
|
||||
<li>1. Go to Inventory->Configuration->Warehouse Management</li>
|
||||
<li>2. Set Picking Type Group for the certain type</li>
|
||||
</ul>
|
||||
<img src="setup.jpg" style="border:1px solid black"/>
|
||||
<br/>
|
||||
</div>
|
||||
|
||||
<div class="oe_demo oe_screenshot">
|
||||
<h3>After setup, the view would look like:</h3>
|
||||
<img src="demo1.jpg" style="border:1px solid black"/>
|
||||
<br/>
|
||||
</div>
|
||||
<div class="oe_demo oe_screenshot mt32">
|
||||
<img src="demo2.jpg" style="border:1px solid black"/>
|
||||
<br/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<section class="oe_container oe_dark">
|
||||
<div class="oe_row oe_spaced text-center">
|
||||
<div class="oe_span12">
|
||||
<h2 class="oe_slogan">Technical Help & Support</h2>
|
||||
</div>
|
||||
<div class="col-md-12 pad0">
|
||||
<div class="oe_mt16">
|
||||
<p><h4>
|
||||
For any type of technical help & support requests, Feel free to contact us</h4></p>
|
||||
<a style="background: #002e5a none repeat scroll 0% 0%; color: rgb(255, 255, 255);position: relative; overflow: hidden;"
|
||||
class="btn btn-warning btn-lg" rel="nofollow" href="mailto:guohuadeng@hotmail.com"><span
|
||||
style="height: 354px; width: 354px; top: -147.433px; left: -6.93335px;" class="o_ripple"></span>
|
||||
<i class="fa fa-envelope"></i> guohuadeng@hotmail.com</a>
|
||||
<p><h4>
|
||||
Via QQ: 300883</h4></p>
|
||||
<a style="background: #002e5a none repeat scroll 0% 0%; color: rgb(255, 255, 255);position: relative; overflow: hidden;"
|
||||
class="btn btn-warning btn-lg" rel="nofollow" href="mailto:300883@qq.com"><span
|
||||
style="height: 354px; width: 354px; top: -147.433px; left: -6.93335px;" class="o_ripple"></span>
|
||||
<i class="fa fa-envelope"></i> 300883@qq.com</a>
|
||||
</div>
|
||||
<div class="oe_mt16">
|
||||
<p><h4>
|
||||
Visit our website for more support.</h4></p>
|
||||
<a style="background: #002e5a none repeat scroll 0% 0%; color: rgb(255, 255, 255);position: relative; overflow: hidden;"
|
||||
class="btn btn-warning btn-lg" rel="nofollow" href="http://www.sunpop.cn" target="_blank"><span
|
||||
style="height: 354px; width: 354px; top: -147.433px; left: -6.93335px;" class="o_ripple"></span>
|
||||
<i class="fa fa-web"></i>http://www.sunpop.cn</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
28
app_stock_putaway/views/product_putaway_views.xml
Normal file
28
app_stock_putaway/views/product_putaway_views.xml
Normal file
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<record model="ir.ui.view" id="app_view_strock_putaway_tree">
|
||||
<field name="name">Stock Putaway Strategy</field>
|
||||
<field name="model">product.putaway</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="Stock Put Away Strategy">
|
||||
<field name="name"/>
|
||||
<field name="fixed_location_ids"/>
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_product_putaway" model="ir.actions.act_window">
|
||||
<field name="name">Stock Putaway Strategy</field>
|
||||
<field name="res_model">product.putaway</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">list,form</field>
|
||||
<field name="help" type="html">
|
||||
<p class="oe_view_nocontent_create">
|
||||
Click to define a new picking type group.
|
||||
</p>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<menuitem id="menu_putaway" parent="stock.menu_warehouse_config" action="action_product_putaway" sequence="5"/>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user