mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
条码增加可定制功能
fix odoo customize
This commit is contained in:
@@ -35,7 +35,7 @@ class AppThemeConfigSettings(models.TransientModel):
|
||||
@api.model
|
||||
def get_default_all(self, fields):
|
||||
ir_config = self.env['ir.config_parameter']
|
||||
app_system_name = ir_config.get_param('app.window_title', default='odooApp')
|
||||
app_system_name = ir_config.get_param('app_system_name', default='odooApp')
|
||||
|
||||
app_show_lang = True if ir_config.get_param('app_show_lang') == "True" else False
|
||||
app_show_debug = True if ir_config.get_param('app_show_debug') == "True" else False
|
||||
@@ -283,7 +283,6 @@ class AppThemeConfigSettings(models.TransientModel):
|
||||
['stock.move', ],
|
||||
['stock.pack.operation', ],
|
||||
['stock.picking', ],
|
||||
['stock.picking.wave', ],
|
||||
['stock.scrap', ],
|
||||
['stock.inventory.line', ],
|
||||
['stock.inventory', ],
|
||||
@@ -303,9 +302,9 @@ class AppThemeConfigSettings(models.TransientModel):
|
||||
'|', ('code', '=', 'stock.lot.tracking'),
|
||||
'|', ('code', '=', 'stock.orderpoint'),
|
||||
'|', ('code', '=', 'stock.picking'),
|
||||
'|', ('code', '=', 'picking.wave'),
|
||||
'|', ('code', '=', 'stock.quant.package'),
|
||||
'|', ('code', '=', 'stock.scrap'),
|
||||
'|', ('code', '=', 'stock.picking'),
|
||||
'|', ('prefix', '=', 'WH/IN/'),
|
||||
'|', ('prefix', '=', 'WH/INT/'),
|
||||
'|', ('prefix', '=', 'WH/OUT/'),
|
||||
@@ -325,7 +324,6 @@ class AppThemeConfigSettings(models.TransientModel):
|
||||
"or code ='stock.quant.package'" \
|
||||
"or code ='stock.scrap'" \
|
||||
"or code ='stock.picking'" \
|
||||
"or code ='picking.wave'" \
|
||||
"or prefix ='WH/IN/'" \
|
||||
"or prefix ='WH/INT/'" \
|
||||
"or prefix ='WH/OUT/'" \
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2017 Jarvis (www.odoomod.com)
|
||||
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
|
||||
@@ -5,6 +5,9 @@
|
||||
<div class="oe_demo" style=" margin: 30px auto 0; padding: 0 15px 0 0; border:none; width: 96%;">
|
||||
<p>This moduld allows user to quickly customize and debranding Odoo. Quick debug, Language Switcher,
|
||||
Online Documentation Access,Quick Data Clear. </p>
|
||||
<h1>More Powerful UI addons:
|
||||
<a class="btn btn-primary mb16" href="https://www.odoo.com/apps/modules/10.0/app_ui_enhance/">【App UI enhance】</a>
|
||||
</h1>
|
||||
<br>
|
||||
<ul>
|
||||
<li>1. Deletes Odoo label in footer</li>
|
||||
|
||||
Reference in New Issue
Block a user