mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
fix superbar
This commit is contained in:
17
app.conf
17
app.conf
@@ -1,17 +0,0 @@
|
||||
[options]
|
||||
addons_path = d:\odoo10\app-odoo, d:\odoo11-ent\source\odoo\addons
|
||||
data_dir = odoofile
|
||||
db_host = 127.0.0.1
|
||||
db_maxconn = 64
|
||||
db_name = False
|
||||
db_user = odoo
|
||||
db_password = odoo
|
||||
db_port = 5432
|
||||
loglevel = debug
|
||||
bin_path = runtime\win32\wkhtmltopdf
|
||||
pg_path = runtime\pgsql\bin
|
||||
db_template = template1
|
||||
|
||||
longpolling_port = 8072
|
||||
xmlrpc_port = 8011
|
||||
|
||||
@@ -26,10 +26,9 @@ class Department(models.Model):
|
||||
|
||||
manager_name = fields.Char(related="manager_id.name", store=True)
|
||||
|
||||
@api.model_create_multi
|
||||
def create(self, vals_list):
|
||||
for vals in vals_list:
|
||||
tools.image_resize_images(vals)
|
||||
@api.model
|
||||
def create(self, vals):
|
||||
tools.image_resize_images(vals)
|
||||
return super(Department, self).create(vals_list)
|
||||
|
||||
@api.multi
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
# description:
|
||||
{
|
||||
'name': '12 Ready!! App Odoo Customize(Backend Debranding Title,Language,Documentation,Quick Debug,Clear Data)',
|
||||
'version': '11.19.04.17',
|
||||
'version': '11.19.04.21',
|
||||
'author': 'Sunpop.cn',
|
||||
'category': 'Productivity',
|
||||
'website': 'http://www.sunpop.cn',
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
<record id="view_app_theme_config_settings" model="ir.ui.view">
|
||||
<field name="name">App Odoo Customize Settings</field>
|
||||
<field name="model">res.config.settings</field>
|
||||
<field name="priority">20</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="odooApp Customize Settings" class="oe_form_configuration">
|
||||
<header>
|
||||
@@ -166,6 +167,7 @@
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">res.config.settings</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="view_id" ref="view_app_theme_config_settings"/>
|
||||
<field name="target">inline</field>
|
||||
</record>
|
||||
|
||||
|
||||
@@ -24,10 +24,9 @@ class ProductCategory(models.Model):
|
||||
'Indirect Surbordinates Count',
|
||||
compute='_compute_child_all_count', store=False)
|
||||
|
||||
@api.model_create_multi
|
||||
def create(self, vals_list):
|
||||
for vals in vals_list:
|
||||
tools.image_resize_images(vals)
|
||||
@api.model
|
||||
def create(self, vals):
|
||||
tools.image_resize_images(vals)
|
||||
return super(ProductCategory, self).create(vals_list)
|
||||
|
||||
@api.multi
|
||||
|
||||
@@ -24,10 +24,9 @@ class Location(models.Model):
|
||||
'Indirect Surbordinates Count',
|
||||
compute='_compute_child_all_count', store=False)
|
||||
|
||||
@api.model_create_multi
|
||||
def create(self, vals_list):
|
||||
for vals in vals_list:
|
||||
tools.image_resize_images(vals)
|
||||
@api.model
|
||||
def create(self, vals):
|
||||
tools.image_resize_images(vals)
|
||||
return super(Location, self).create(vals_list)
|
||||
|
||||
@api.multi
|
||||
|
||||
Reference in New Issue
Block a user