mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
Merge branch '13.0' of https://github.com/guohuadeng/app-odoo into 13.0
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
<field name="inherit_id" ref="account.view_move_form"/>
|
<field name="inherit_id" ref="account.view_move_form"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//page/field[@name='invoice_line_ids']/tree/control" position="inside">
|
<xpath expr="//page/field[@name='invoice_line_ids']/tree/control" position="inside">
|
||||||
<create string="Multi Add Line" context="{
|
<create name="multi_add_line" string="Multi Add Line" context="{
|
||||||
'pro_multi_add': True,
|
'pro_multi_add': True,
|
||||||
'pro_res_model': 'product.product',
|
'pro_res_model': 'product.product',
|
||||||
'pro_res_field': 'product_id',
|
'pro_res_field': 'product_id',
|
||||||
|
|||||||
@@ -7,12 +7,12 @@
|
|||||||
<field name="inherit_id" ref="account.view_account_search"/>
|
<field name="inherit_id" ref="account.view_account_search"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search/searchpanel" position="replace">
|
<xpath expr="//search/searchpanel" position="replace">
|
||||||
<superbar>
|
<searchpanel>
|
||||||
<field name="user_type_id"/>
|
<field name="user_type_id"/>
|
||||||
<!--<field name="tag_ids"/>-->
|
<!--<field name="tag_ids"/>-->
|
||||||
<field name="group_id"/>
|
<field name="group_id"/>
|
||||||
<field name="root_id" icon="fa-filter"/>
|
<field name="root_id" icon="fa-filter"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
@@ -23,11 +23,11 @@
|
|||||||
<field name="inherit_id" ref="account.view_account_invoice_filter"/>
|
<field name="inherit_id" ref="account.view_account_invoice_filter"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search">
|
<xpath expr="//search">
|
||||||
<superbar>
|
<searchpanel>
|
||||||
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
||||||
<field name="partner_id"/>
|
<field name="partner_id"/>
|
||||||
<field name="state"/>
|
<field name="state"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
@@ -38,11 +38,11 @@
|
|||||||
<field name="inherit_id" ref="account.view_account_move_filter"/>
|
<field name="inherit_id" ref="account.view_account_move_filter"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search">
|
<xpath expr="//search">
|
||||||
<superbar>
|
<searchpanel>
|
||||||
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
||||||
<field name="journal_id"/>
|
<field name="journal_id"/>
|
||||||
<field name="partner_id"/>
|
<field name="partner_id"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
@@ -53,12 +53,12 @@
|
|||||||
<field name="inherit_id" ref="account.view_account_move_line_filter"/>
|
<field name="inherit_id" ref="account.view_account_move_line_filter"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search">
|
<xpath expr="//search">
|
||||||
<superbar>
|
<searchpanel>
|
||||||
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
||||||
<field name="journal_id"/>
|
<field name="journal_id"/>
|
||||||
<field name="partner_id"/>
|
<field name="partner_id"/>
|
||||||
<field name="account_id"/>
|
<field name="account_id"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': "App base chinese,中国化基本模块增强",
|
'name': "App base chinese,中国化基本模块增强",
|
||||||
'version': '13.20.03.19',
|
'version': '13.20.04.11',
|
||||||
'author': 'Sunpop.cn',
|
'author': 'Sunpop.cn',
|
||||||
'category': 'Base',
|
'category': 'Base',
|
||||||
'website': 'https://www.sunpop.cn',
|
'website': 'https://www.sunpop.cn',
|
||||||
@@ -29,6 +29,7 @@
|
|||||||
'summary': """
|
'summary': """
|
||||||
Chinese enhance. Out of the box use in china.
|
Chinese enhance. Out of the box use in china.
|
||||||
Set all chinese default value.
|
Set all chinese default value.
|
||||||
|
Add quick set of english name.
|
||||||
Default country, timezone, currency, partner...
|
Default country, timezone, currency, partner...
|
||||||
""",
|
""",
|
||||||
'description': """
|
'description': """
|
||||||
@@ -39,13 +40,14 @@
|
|||||||
3. 客户地址显示增加手机号与电话号码
|
3. 客户地址显示增加手机号与电话号码
|
||||||
4. 货币处理,增加排序显示
|
4. 货币处理,增加排序显示
|
||||||
5. 用户名支持翻译(可能会增加复杂度,后续看)
|
5. 用户名支持翻译(可能会增加复杂度,后续看)
|
||||||
6. 修正产品类别的列表及m2o字段中不显示中文目录名的Bug
|
6. 修正品类的列表及m2o字段中不显示中文目录名的Bug
|
||||||
7. 修正仓库位置的列表及m2o字段中不显示中文目录名的Bug
|
7. 修正仓库位置的列表及m2o字段中不显示中文目录名的Bug
|
||||||
8. 超级用户改时区为 中国
|
8. 超级用户改时区为 中国
|
||||||
9. 时间格式年月日为 2019-12-30,时间为 22:10
|
9. 时间格式年月日为 2019-12-30,时间为 22:10
|
||||||
10. 国家增加排序,中国排第一
|
10. 国家增加排序,中国排第一
|
||||||
11. 收款相关显示中国习惯
|
11. 收款相关显示中国习惯
|
||||||
12. 翻译导出默认中文,默认po
|
12. 翻译导出默认中文,默认po
|
||||||
|
13. 在 base 模型增加 name_en_US 字段,赋值后同时改翻译值
|
||||||
21. todo:中文演示数据(只有demo模式才加载)
|
21. todo:中文演示数据(只有demo模式才加载)
|
||||||
""",
|
""",
|
||||||
'pre_init_hook': 'pre_init_hook',
|
'pre_init_hook': 'pre_init_hook',
|
||||||
@@ -65,7 +67,6 @@
|
|||||||
'views/templates.xml',
|
'views/templates.xml',
|
||||||
'wizard/sale_make_invoice_advance_views.xml',
|
'wizard/sale_make_invoice_advance_views.xml',
|
||||||
'data/ir_default_data.xml',
|
'data/ir_default_data.xml',
|
||||||
'data/ir_sequence_data.xml',
|
|
||||||
'data/base_data.xml',
|
'data/base_data.xml',
|
||||||
'data/res_country_data.xml',
|
'data/res_country_data.xml',
|
||||||
'data/res_currency_data.xml',
|
'data/res_currency_data.xml',
|
||||||
|
|||||||
@@ -1,12 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<odoo>
|
|
||||||
<data noupdate="1">
|
|
||||||
<!-- product_category 序号器 -->
|
|
||||||
<record id="sequence_product_category_normal" model="ir.sequence">
|
|
||||||
<field name="name">产品目录常规编号规则</field>
|
|
||||||
<field name="code">product.category.seq.normal</field>
|
|
||||||
<field name="prefix">CAT</field>
|
|
||||||
<field name="padding">4</field>
|
|
||||||
</record>
|
|
||||||
</data>
|
|
||||||
</odoo>
|
|
||||||
@@ -6,15 +6,24 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Odoo Server 13.0+e\n"
|
"Project-Id-Version: Odoo Server 13.0+e\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2020-01-18 15:21+0000\n"
|
"POT-Creation-Date: 2020-04-10 18:20+0000\n"
|
||||||
"PO-Revision-Date: 2020-01-18 23:22+0800\n"
|
"PO-Revision-Date: 2020-04-10 18:20+0000\n"
|
||||||
"Last-Translator: \n"
|
"Last-Translator: \n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: \n"
|
||||||
"Plural-Forms: \n"
|
"Plural-Forms: \n"
|
||||||
"X-Generator: Poedit 1.7.7\n"
|
|
||||||
|
#. module: app_base_chinese
|
||||||
|
#: model:ir.model.fields,field_description:app_base_chinese.field_account_tax_group__active
|
||||||
|
msgid "Active"
|
||||||
|
msgstr "激活"
|
||||||
|
|
||||||
|
#. module: app_base_chinese
|
||||||
|
#: model:ir.model,name:app_base_chinese.model_base
|
||||||
|
msgid "Base"
|
||||||
|
msgstr "基础"
|
||||||
|
|
||||||
#. module: app_base_chinese
|
#. module: app_base_chinese
|
||||||
#: model:ir.model.fields,field_description:app_base_chinese.field_product_category__complete_name
|
#: model:ir.model.fields,field_description:app_base_chinese.field_product_category__complete_name
|
||||||
@@ -41,11 +50,23 @@ msgstr "币种"
|
|||||||
msgid "Determine the display order. Sort ascending."
|
msgid "Determine the display order. Sort ascending."
|
||||||
msgstr "决定显示顺序,数字越小排序越前"
|
msgstr "决定显示顺序,数字越小排序越前"
|
||||||
|
|
||||||
|
#. module: app_base_chinese
|
||||||
|
#: model:ir.model.fields,field_description:app_base_chinese.field_res_partner__name_en_US
|
||||||
|
#: model:ir.model.fields,field_description:app_base_chinese.field_res_users__name_en_US
|
||||||
|
msgid "English Name"
|
||||||
|
msgstr "英文名"
|
||||||
|
|
||||||
#. module: app_base_chinese
|
#. module: app_base_chinese
|
||||||
#: model_terms:ir.ui.view,arch_db:app_base_chinese.app_view_sale_advance_payment_inv
|
#: model_terms:ir.ui.view,arch_db:app_base_chinese.app_view_sale_advance_payment_inv
|
||||||
msgid "FaPiao / Invoice Orders"
|
msgid "FaPiao / Invoice Orders"
|
||||||
msgstr "创建收据/发票"
|
msgstr "创建收据/发票"
|
||||||
|
|
||||||
|
#. module: app_base_chinese
|
||||||
|
#: model:ir.model.fields,field_description:app_base_chinese.field_res_partner__fax
|
||||||
|
#: model:ir.model.fields,field_description:app_base_chinese.field_res_users__fax
|
||||||
|
msgid "Fax"
|
||||||
|
msgstr "传真"
|
||||||
|
|
||||||
#. module: app_base_chinese
|
#. module: app_base_chinese
|
||||||
#: model:ir.model.fields,field_description:app_base_chinese.field_stock_location__complete_name
|
#: model:ir.model.fields,field_description:app_base_chinese.field_stock_location__complete_name
|
||||||
msgid "Full Location Name"
|
msgid "Full Location Name"
|
||||||
@@ -87,8 +108,23 @@ msgstr "产品类别"
|
|||||||
msgid "Sequence"
|
msgid "Sequence"
|
||||||
msgstr "单号规则"
|
msgstr "单号规则"
|
||||||
|
|
||||||
|
#. module: app_base_chinese
|
||||||
|
#: model:ir.model.fields,help:app_base_chinese.field_account_tax_group__active
|
||||||
|
msgid "Set active to false to hide the tax without removing it."
|
||||||
|
msgstr "请不要删除指定税率,可以将其归档。"
|
||||||
|
|
||||||
#. module: app_base_chinese
|
#. module: app_base_chinese
|
||||||
#: model:ir.model.fields,field_description:app_base_chinese.field_res_partner__short_name
|
#: model:ir.model.fields,field_description:app_base_chinese.field_res_partner__short_name
|
||||||
#: model:ir.model.fields,field_description:app_base_chinese.field_res_users__short_name
|
#: model:ir.model.fields,field_description:app_base_chinese.field_res_users__short_name
|
||||||
msgid "Short Name"
|
msgid "Short Name"
|
||||||
msgstr "简称"
|
msgstr "简称"
|
||||||
|
|
||||||
|
#. module: app_base_chinese
|
||||||
|
#: model:ir.model,name:app_base_chinese.model_account_tax_group
|
||||||
|
msgid "Tax Group"
|
||||||
|
msgstr "税组"
|
||||||
|
|
||||||
|
#. module: app_base_chinese
|
||||||
|
#: model:ir.sequence,name:app_base_chinese.sequence_product_category_normal
|
||||||
|
msgid "产品目录常规编号规则"
|
||||||
|
msgstr ""
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
from . import base
|
||||||
from . import res_partner
|
from . import res_partner
|
||||||
from . import res_currency
|
from . import res_currency
|
||||||
from . import product_category
|
from . import product_category
|
||||||
|
|||||||
46
app_base_chinese/models/base.py
Normal file
46
app_base_chinese/models/base.py
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
import logging
|
||||||
|
|
||||||
|
from odoo import api, fields, models, _
|
||||||
|
|
||||||
|
_logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
|
class Base(models.AbstractModel):
|
||||||
|
_inherit = 'base'
|
||||||
|
|
||||||
|
# name_en_US 只要某个模型有此字段,且放在界面上,就会进行此处理
|
||||||
|
# 无此字段不处理
|
||||||
|
|
||||||
|
# todo: 为了性能,暂时不在 create 时处理
|
||||||
|
# todo: create_multi ?
|
||||||
|
# todo: 在 ir.translation 中处理以提高性能, 或反向写回
|
||||||
|
@api.model
|
||||||
|
def create(self, vals):
|
||||||
|
name_field = self._fields.get("name")
|
||||||
|
name_en_field = self._fields.get("name_en_US")
|
||||||
|
name_en_US = None
|
||||||
|
if name_field and name_field.translate and name_field.type in ["char", "text"] \
|
||||||
|
and name_en_field and name_en_field.type in["char", "text"] and 'name_en_US' in vals:
|
||||||
|
name_en_US = vals.get('name_en_US')
|
||||||
|
rec = super(Base, self).create(vals)
|
||||||
|
if name_en_US:
|
||||||
|
try:
|
||||||
|
rec.with_context(lang='en_US').name = name_en_US
|
||||||
|
except Exception as e:
|
||||||
|
pass
|
||||||
|
return rec
|
||||||
|
|
||||||
|
def write(self, vals):
|
||||||
|
name_field = self._fields.get("name")
|
||||||
|
name_en_field = self._fields.get("name_en_US")
|
||||||
|
if name_field and name_field.translate and name_field.type in ["char", "text"] \
|
||||||
|
and name_en_field and name_en_field.type in["char", "text"] and 'name_en_US' in vals:
|
||||||
|
name_en_US = vals.get('name_en_US')
|
||||||
|
if name_en_US != None:
|
||||||
|
try:
|
||||||
|
self.with_context(lang='en_US').write(dict(name=name_en_US))
|
||||||
|
except Exception as e:
|
||||||
|
pass
|
||||||
|
return super(Base, self).write(vals)
|
||||||
@@ -8,6 +8,7 @@ class ResPartner(models.Model):
|
|||||||
_inherit = 'res.partner'
|
_inherit = 'res.partner'
|
||||||
|
|
||||||
name = fields.Char(index=True, translate=True)
|
name = fields.Char(index=True, translate=True)
|
||||||
|
name_en_US = fields.Char('English Name')
|
||||||
short_name = fields.Char('Short Name') # 简称
|
short_name = fields.Char('Short Name') # 简称
|
||||||
fax = fields.Char('Fax') # 简称
|
fax = fields.Char('Fax') # 简称
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<h2 class="oe_slogan">App base chinese. Local customize for china user </h2>
|
<h2 class="oe_slogan">App base chinese. Local customize for china user </h2>
|
||||||
<h3 class="oe_slogan">Set all chinese default value. Like Default country, timezone, currency, partner... </h3>
|
<h3 class="oe_slogan">Set all chinese default value. Like Default country, timezone, currency, partner... </h3>
|
||||||
<div class="oe_row">
|
<div class="oe_row">
|
||||||
<h3>Lastest update: v12.19.3.04</h3>
|
<h3>Lastest update: v13.20.04.11</h3>
|
||||||
<div class="oe_span12">
|
<div class="oe_span12">
|
||||||
<img class="oe_demo oe_screenshot" src="banner.jpg">
|
<img class="oe_demo oe_screenshot" src="banner.jpg">
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
<!--</xpath>-->
|
<!--</xpath>-->
|
||||||
<xpath expr="//field[@name='type']" position="after">
|
<xpath expr="//field[@name='type']" position="after">
|
||||||
<field name="short_name"/>
|
<field name="short_name"/>
|
||||||
|
<field name="name_en_US"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
<!-- 信用额度 -->
|
<!-- 信用额度 -->
|
||||||
<xpath expr="//field[@name='category_id']" position="after">
|
<xpath expr="//field[@name='category_id']" position="after">
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': "Easy Admin navigator, quick search filter",
|
'name': "Easy Admin navigator, quick search filter",
|
||||||
'version': '13.19.10.16',
|
'version': '13.20.04.06',
|
||||||
'author': 'Sunpop.cn',
|
'author': 'Sunpop.cn',
|
||||||
'category': 'Base',
|
'category': 'Base',
|
||||||
'website': 'https://www.sunpop.cn',
|
'website': 'https://www.sunpop.cn',
|
||||||
|
|||||||
@@ -6,10 +6,10 @@
|
|||||||
<field name="inherit_id" ref="base.view_window_action_search"/>
|
<field name="inherit_id" ref="base.view_window_action_search"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search">
|
<xpath expr="//search">
|
||||||
<superbar view_types="kanban,tree">
|
<searchpanel view_types="kanban,tree">
|
||||||
<field name="binding_type"/>
|
<field name="binding_type"/>
|
||||||
<field name="target"/>
|
<field name="target"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -6,10 +6,10 @@
|
|||||||
<field name="inherit_id" ref="base.action_view_search"/>
|
<field name="inherit_id" ref="base.action_view_search"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search">
|
<xpath expr="//search">
|
||||||
<superbar view_types="kanban,tree">
|
<searchpanel view_types="kanban,tree">
|
||||||
<field name="binding_type"/>
|
<field name="binding_type"/>
|
||||||
<field name="binding_model_id"/>
|
<field name="binding_model_id"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -6,10 +6,10 @@
|
|||||||
<field name="inherit_id" ref="base.act_report_xml_search_view"/>
|
<field name="inherit_id" ref="base.act_report_xml_search_view"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search">
|
<xpath expr="//search">
|
||||||
<superbar view_types="kanban,tree">
|
<searchpanel view_types="kanban,tree">
|
||||||
<field name="report_type"/>
|
<field name="report_type"/>
|
||||||
<field name="binding_model_id"/>
|
<field name="binding_model_id"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -6,11 +6,11 @@
|
|||||||
<field name="inherit_id" ref="base.view_server_action_search"/>
|
<field name="inherit_id" ref="base.view_server_action_search"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search">
|
<xpath expr="//search">
|
||||||
<superbar view_types="kanban,tree">
|
<searchpanel view_types="kanban,tree">
|
||||||
<field name="usage"/>
|
<field name="usage"/>
|
||||||
<field name="state"/>
|
<field name="state"/>
|
||||||
<field name="model_id"/>
|
<field name="model_id"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -6,10 +6,10 @@
|
|||||||
<field name="inherit_id" ref="base.view_attachment_search"/>
|
<field name="inherit_id" ref="base.view_attachment_search"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search">
|
<xpath expr="//search">
|
||||||
<superbar view_types="kanban,tree">
|
<searchpanel view_types="kanban,tree">
|
||||||
<field name="type"/>
|
<field name="type"/>
|
||||||
<field name="create_uid"/>
|
<field name="create_uid"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -7,9 +7,9 @@
|
|||||||
<field name="groups_id" eval="[(4, ref('base.group_multi_company'))]"/>
|
<field name="groups_id" eval="[(4, ref('base.group_multi_company'))]"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search">
|
<xpath expr="//search">
|
||||||
<superbar view_types="kanban,tree">
|
<searchpanel view_types="kanban,tree">
|
||||||
<field name="company_id"/>
|
<field name="company_id"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -6,10 +6,10 @@
|
|||||||
<field name="inherit_id" ref="base.ir_access_view_search"/>
|
<field name="inherit_id" ref="base.ir_access_view_search"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search">
|
<xpath expr="//search">
|
||||||
<superbar view_types="kanban,tree">
|
<searchpanel view_types="kanban,tree">
|
||||||
<field name="group_id"/>
|
<field name="group_id"/>
|
||||||
<field name="model_id"/>
|
<field name="model_id"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -7,10 +7,10 @@
|
|||||||
<search string="Search ir.model.constraint">
|
<search string="Search ir.model.constraint">
|
||||||
<field name="name" string="Name"/>
|
<field name="name" string="Name"/>
|
||||||
<field name="module" string="Module"/>
|
<field name="module" string="Module"/>
|
||||||
<superbar view_types="tree">
|
<searchpanel view_types="tree">
|
||||||
<field name="module"/>
|
<field name="module"/>
|
||||||
<field name="model"/>
|
<field name="model"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</search>
|
</search>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -6,10 +6,11 @@
|
|||||||
<field name="inherit_id" ref="base.view_model_fields_search"/>
|
<field name="inherit_id" ref="base.view_model_fields_search"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search">
|
<xpath expr="//search">
|
||||||
<superbar view_types="kanban,tree">
|
<searchpanel view_types="kanban,tree">
|
||||||
|
<field name="state"/>
|
||||||
<field name="ttype"/>
|
<field name="ttype"/>
|
||||||
<field name="model_id"/>
|
<field name="model_id"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -6,9 +6,9 @@
|
|||||||
<field name="inherit_id" ref="base.edit_menu_access_search"/>
|
<field name="inherit_id" ref="base.edit_menu_access_search"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search">
|
<xpath expr="//search">
|
||||||
<superbar view_types="kanban,tree">
|
<searchpanel view_types="kanban,tree">
|
||||||
<field name="parent_id" domain="[('child_id', '!=', False)]"/>
|
<field name="parent_id" filter_domain="[['child_id', '!=', False]]"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -6,10 +6,10 @@
|
|||||||
<field name="inherit_id" ref="base.view_view_search"/>
|
<field name="inherit_id" ref="base.view_view_search"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search">
|
<xpath expr="//search">
|
||||||
<superbar view_types="kanban,tree">
|
<searchpanel view_types="kanban,tree">
|
||||||
<field name="type"/>
|
<field name="type"/>
|
||||||
<field name="model_data_id"/>
|
<field name="model_data_id"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -6,9 +6,9 @@
|
|||||||
<field name="inherit_id" ref="base.view_groups_search"/>
|
<field name="inherit_id" ref="base.view_groups_search"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search">
|
<xpath expr="//search">
|
||||||
<superbar view_types="kanban,tree">
|
<searchpanel view_types="kanban,tree">
|
||||||
<field name="category_id"/>
|
<field name="category_id"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<field name="inherit_id" ref="base.view_res_partner_filter"/>
|
<field name="inherit_id" ref="base.view_res_partner_filter"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search">
|
<xpath expr="//search">
|
||||||
<superbar>
|
<searchpanel>
|
||||||
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
||||||
<!--<field name="category_id"/>-->
|
<!--<field name="category_id"/>-->
|
||||||
<!--<field name="is_company"/>-->
|
<!--<field name="is_company"/>-->
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
<!--model="res.partner"-->
|
<!--model="res.partner"-->
|
||||||
<!--domain="[('is_company', '=', 1)]"-->
|
<!--domain="[('is_company', '=', 1)]"-->
|
||||||
<!--level="0"/>-->
|
<!--level="0"/>-->
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -6,12 +6,12 @@
|
|||||||
<field name="inherit_id" ref="crm.view_crm_case_opportunities_filter"/>
|
<field name="inherit_id" ref="crm.view_crm_case_opportunities_filter"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search">
|
<xpath expr="//search">
|
||||||
<superbar view_types="tree,kanban,pivot,graph">
|
<searchpanel view_types="tree,kanban">
|
||||||
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
||||||
<field name="team_id"/>
|
<field name="team_id"/>
|
||||||
<field name="stage_id"/>
|
<field name="stage_id"/>
|
||||||
<!--<field name="tag_ids"/>-->
|
<!--<field name="tag_ids"/>-->
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
@@ -21,13 +21,13 @@
|
|||||||
<field name="inherit_id" ref="crm.view_crm_case_leads_filter"/>
|
<field name="inherit_id" ref="crm.view_crm_case_leads_filter"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search">
|
<xpath expr="//search">
|
||||||
<superbar view_types="tree,kanban,pivot,graph">
|
<searchpanel view_types="tree,kanban">
|
||||||
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
||||||
<field name="team_id"/>
|
<field name="team_id"/>
|
||||||
<field name="campaign_id"/>
|
<field name="campaign_id"/>
|
||||||
<field name="medium_id"/>
|
<field name="medium_id"/>
|
||||||
<field name="source_id"/>
|
<field name="source_id"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -7,11 +7,11 @@
|
|||||||
<field name="inherit_id" ref="hr.view_employee_filter"/>
|
<field name="inherit_id" ref="hr.view_employee_filter"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//searchpanel" position="replace">
|
<xpath expr="//searchpanel" position="replace">
|
||||||
<superbar>
|
<searchpanel>
|
||||||
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
||||||
<field name="department_id"/>
|
<field name="department_id"/>
|
||||||
<field name="job_id"/>
|
<field name="job_id"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -6,10 +6,10 @@
|
|||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<search string="Search mail.channel.partner">
|
<search string="Search mail.channel.partner">
|
||||||
<field name="partner_id" string="Partner"/>
|
<field name="partner_id" string="Partner"/>
|
||||||
<superbar view_types="tree">
|
<searchpanel view_types="tree">
|
||||||
<field name="channel_id"/>
|
<field name="channel_id"/>
|
||||||
<field name="partner_id"/>
|
<field name="partner_id"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</search>
|
</search>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -7,10 +7,10 @@
|
|||||||
<search string="Search mail.followers">
|
<search string="Search mail.followers">
|
||||||
<field name="res_model" string="Model"/>
|
<field name="res_model" string="Model"/>
|
||||||
<field name="partner_id" string="Partner"/>
|
<field name="partner_id" string="Partner"/>
|
||||||
<superbar view_types="tree">
|
<searchpanel view_types="tree">
|
||||||
<field name="subtype_ids"/>
|
<field name="subtype_ids"/>
|
||||||
<field name="partner_id"/>
|
<field name="partner_id"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</search>
|
</search>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -6,10 +6,10 @@
|
|||||||
<field name="inherit_id" ref="mail.view_mail_search"/>
|
<field name="inherit_id" ref="mail.view_mail_search"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search">
|
<xpath expr="//search">
|
||||||
<superbar view_types="kanban,tree">
|
<searchpanel view_types="kanban,tree">
|
||||||
<field name="state"/>
|
<field name="state"/>
|
||||||
<field name="author_id"/>
|
<field name="author_id"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -6,11 +6,11 @@
|
|||||||
<field name="inherit_id" ref="mail.view_message_search"/>
|
<field name="inherit_id" ref="mail.view_message_search"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search">
|
<xpath expr="//search">
|
||||||
<superbar view_types="kanban,tree">
|
<searchpanel view_types="kanban,tree">
|
||||||
<field name="message_type"/>
|
<field name="message_type"/>
|
||||||
<field name="channel_ids"/>
|
<field name="channel_ids"/>
|
||||||
<field name="author_id"/>
|
<field name="author_id"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -6,9 +6,9 @@
|
|||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<search string="Search mail.tracking.value">
|
<search string="Search mail.tracking.value">
|
||||||
<field name="field" string="Field"/>
|
<field name="field" string="Field"/>
|
||||||
<superbar view_types="tree">
|
<searchpanel view_types="tree">
|
||||||
<field name="create_uid"/>
|
<field name="create_uid"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</search>
|
</search>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -7,11 +7,11 @@
|
|||||||
<field name="inherit_id" ref="base.view_module_filter"/>
|
<field name="inherit_id" ref="base.view_module_filter"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search">
|
<xpath expr="//search">
|
||||||
<superbar view_types="kanban,tree">
|
<searchpanel view_types="kanban,tree">
|
||||||
<field name="state"/>
|
<field name="state"/>
|
||||||
<field name="category_id" domain="[]"/>
|
<field name="category_id" domain="[]"/>
|
||||||
<field name="license"/>
|
<field name="license"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -7,8 +7,8 @@
|
|||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//field[@name='bom_line_ids']/tree/field[1]" position="before">
|
<xpath expr="//field[@name='bom_line_ids']/tree/field[1]" position="before">
|
||||||
<control>
|
<control>
|
||||||
<create string="Add a line"/>
|
<create name="add_line" string="Add a line"/>
|
||||||
<create string="Multi add line" context="{
|
<create name="multi_add_line" string="Multi add line" context="{
|
||||||
'pro_multi_add': True,
|
'pro_multi_add': True,
|
||||||
'pro_res_model': 'product.product',
|
'pro_res_model': 'product.product',
|
||||||
'pro_res_field': 'product_id',
|
'pro_res_field': 'product_id',
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': "App mrp Manufacturing Orders browse by state workcenter navigator",
|
'name': "App mrp Manufacturing Orders browse by state workcenter navigator",
|
||||||
'version': '13.19.11.29',
|
'version': '13.20.03.30',
|
||||||
'author': 'Sunpop.cn',
|
'author': 'Sunpop.cn',
|
||||||
'category': 'Base',
|
'category': 'Base',
|
||||||
'website': 'https://www.sunpop.cn',
|
'website': 'https://www.sunpop.cn',
|
||||||
|
|||||||
@@ -7,11 +7,11 @@
|
|||||||
<field name="inherit_id" ref="mrp.view_mrp_bom_filter"/>
|
<field name="inherit_id" ref="mrp.view_mrp_bom_filter"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search" position="inside">
|
<xpath expr="//search" position="inside">
|
||||||
<superbar>
|
<searchpanel>
|
||||||
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
||||||
<field name="type"/>
|
<field name="type"/>
|
||||||
<field name="routing_id" groups="mrp.group_mrp_routings"/>
|
<field name="routing_id" groups="mrp.group_mrp_routings"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -7,13 +7,13 @@
|
|||||||
<field name="inherit_id" ref="mrp.view_mrp_production_filter"/>
|
<field name="inherit_id" ref="mrp.view_mrp_production_filter"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search" position="inside">
|
<xpath expr="//search" position="inside">
|
||||||
<superbar view_types="tree,kanban,pivot,graph">
|
<searchpanel view_types="tree,kanban,pivot,graph">
|
||||||
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
||||||
<field name="priority"/>
|
<field name="priority"/>
|
||||||
<field name="reservation_state"/>
|
<field name="reservation_state"/>
|
||||||
<field name="state"/>
|
<field name="state"/>
|
||||||
<field name="routing_id" groups="mrp.group_mrp_routings"/>
|
<field name="routing_id" groups="mrp.group_mrp_routings"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -7,10 +7,10 @@
|
|||||||
<field name="inherit_id" ref="mrp.view_mrp_production_workorder_form_view_filter"/>
|
<field name="inherit_id" ref="mrp.view_mrp_production_workorder_form_view_filter"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search" position="inside">
|
<xpath expr="//search" position="inside">
|
||||||
<superbar>
|
<searchpanel>
|
||||||
<field name="workcenter_id"/>
|
<field name="workcenter_id"/>
|
||||||
<field name="state"/>
|
<field name="state"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': "MRP Workcenter Parent Child Hierarchy,工作中心分级",
|
'name': "MRP Workcenter Parent Child Hierarchy,工作中心分级",
|
||||||
'version': '13.20.01.06',
|
'version': '13.20.03.30',
|
||||||
'author': 'Sunpop.cn',
|
'author': 'Sunpop.cn',
|
||||||
'category': 'Base',
|
'category': 'Base',
|
||||||
'website': 'https://www.sunpop.cn',
|
'website': 'https://www.sunpop.cn',
|
||||||
|
|||||||
@@ -9,9 +9,6 @@
|
|||||||
<xpath expr="//field[@name='name']" position="after">
|
<xpath expr="//field[@name='name']" position="after">
|
||||||
<field name="parent_id" widget="ztree_select"/>
|
<field name="parent_id" widget="ztree_select"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
<!-- <xpath expr="//field[@name='code']" position="after">-->
|
|
||||||
<!-- <field name="sequence"/>-->
|
|
||||||
<!-- </xpath>-->
|
|
||||||
<xpath expr="//field[@name='name']" position="replace"/>
|
<xpath expr="//field[@name='name']" position="replace"/>
|
||||||
<xpath expr="//field[@name='costs_hour']" position="after">
|
<xpath expr="//field[@name='costs_hour']" position="after">
|
||||||
<xpath expr="//field[@name='resource_calendar_id']" position="move"/>
|
<xpath expr="//field[@name='resource_calendar_id']" position="move"/>
|
||||||
@@ -103,9 +100,9 @@
|
|||||||
<filter string="Parent WC" name="group_by_parent_id" context="{'group_by':'parent_id'}"/>
|
<filter string="Parent WC" name="group_by_parent_id" context="{'group_by':'parent_id'}"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
<xpath expr="//search" position="inside">
|
<xpath expr="//search" position="inside">
|
||||||
<superbar view_types="kanban,tree">
|
<searchpanel view_types="kanban,tree">
|
||||||
<field name="parent_id" domain="[('child_ids', '!=', False)]"/>
|
<field name="parent_id" filter_domain="[('child_ids', '!=', False)]"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<field name="model">mrp.workorder</field>
|
<field name="model">mrp.workorder</field>
|
||||||
<field name="inherit_id" ref="app_mrp_superbar.app_view_mrp_production_workorder_form_view_filter"/>
|
<field name="inherit_id" ref="app_mrp_superbar.app_view_mrp_production_workorder_form_view_filter"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//superbar//field[@name='workcenter_id']" position="replace">
|
<xpath expr="//searchpanel//field[@name='workcenter_id']" position="replace">
|
||||||
<field name="workcenter_id" options="{'ztree_parent_key': 'parent_id','ztree_expend_level': '1', 'ztree_name_field': 'name'}"/>
|
<field name="workcenter_id" options="{'ztree_parent_key': 'parent_id','ztree_expend_level': '1', 'ztree_name_field': 'name'}"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
|
|||||||
@@ -23,14 +23,14 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': 'Customize odoo OEM (Boost, My Odoo)',
|
'name': 'Customize odoo OEM (Boost, My Odoo)',
|
||||||
'version': '13.20.03.19',
|
'version': '13.20.04.12',
|
||||||
'author': 'Sunpop.cn',
|
'author': 'Sunpop.cn',
|
||||||
'category': 'Productivity',
|
'category': 'Productivity',
|
||||||
'website': 'https://www.sunpop.cn',
|
'website': 'https://www.sunpop.cn',
|
||||||
'license': 'LGPL-3',
|
'license': 'LGPL-3',
|
||||||
'sequence': 2,
|
'sequence': 2,
|
||||||
'summary': """
|
'summary': """
|
||||||
Default keep odoo Logo. For quick developer. Quick customize, set brand, boost, reset data, debug. Language Switcher.
|
1 click customize odoo, reset data. For quick develop. Set brand, boost, reset data, debug. Language Switcher.
|
||||||
Easy Delete data.reset account chart.
|
Easy Delete data.reset account chart.
|
||||||
customize my odoo.
|
customize my odoo.
|
||||||
""",
|
""",
|
||||||
@@ -69,11 +69,47 @@
|
|||||||
26. Add multi uninstall modules
|
26. Add multi uninstall modules
|
||||||
27. Add odoo boost modules link.
|
27. Add odoo boost modules link.
|
||||||
28. Easy Menu manager.
|
28. Easy Menu manager.
|
||||||
29. Add Install version in App list. Add Local updatable filter in app list.
|
29. Apps version compare. Add Install version in App list. Add Local updatable filter in app list.
|
||||||
|
30. 1 key export app translate file like .po file.
|
||||||
|
31. Show or hide odoo Referral in the top menu.
|
||||||
|
|
||||||
This module can help to white label the Odoo.
|
This module can help to white label the Odoo.
|
||||||
Also helpful for training and support for your odoo end-user.
|
Also helpful for training and support for your odoo end-user.
|
||||||
The user can get the help document just by one click.
|
The user can get the help document just by one click.
|
||||||
|
## 在符合odoo开源协议的前提下,去除odoo版权信息,自定义你的odoo
|
||||||
|
可完全自行设置下列 odoo 选项,让 odoo 看上去像是你的软件产品
|
||||||
|
支持Odoo 13,12, 11, 10, 9 版本,社区版企业版通用
|
||||||
|
1. 删除菜单导航页脚的 Odoo 标签
|
||||||
|
2. 将弹出窗口中 "Odoo" 设置为自定义名称
|
||||||
|
3. 自定义用户菜单中的 Documentation, Support, About 的链接
|
||||||
|
4. 在用户菜单中增加快速切换开发模式
|
||||||
|
5. 在用户菜单中增加快速切换多国语言
|
||||||
|
6. 对语言菜单进行美化,设置国旗图标
|
||||||
|
7. 在用户菜单中增加中/英文用户手册,可以不用翻墙加速了
|
||||||
|
8. 在用户菜单中增加开发者手册,含python教程,jquery参考,Jinja2模板,PostgresSQL参考
|
||||||
|
9. 在用户菜单中自定义"My odoo.com account"
|
||||||
|
10. 单独设置面板,每个选项都可以自定义
|
||||||
|
11. 提供236个国家的国旗文件(部份需要自行设置文件名)
|
||||||
|
12. 多语言版本
|
||||||
|
13. 自定义登陆界面中的 Powered by Odoo
|
||||||
|
14. 快速删除测试数据,支持模块包括:销售/POS门店/采购/生产/库存/会计/项目/消息与工作流等.
|
||||||
|
15. 将各类单据的序号重置,从1开始,包括:SO/PO/MO/Invoice 等
|
||||||
|
16. 修复odoo启用英文后模块不显示中文的Bug
|
||||||
|
17. 可停用odoo自动订阅功能,避免“同样对象关注2次”bug,同时提升性能
|
||||||
|
18. 显示/隐藏应用的作者和网站-在应用安装面板中
|
||||||
|
19. 一键清除所有数据(视当前数据情况,有时需点击2次)
|
||||||
|
20. 在应用面板显示快速升级按键,点击时不会导航至 odoo.com
|
||||||
|
21. 清除并重置会计科目表
|
||||||
|
22. 全新升级将odoo12用户及开发手册导航至国内网站,或者自己定义的网站
|
||||||
|
23. 增加清除网站数据功能
|
||||||
|
24. 自定义 odoo 原生模块跳转的url(比如企业版模块)
|
||||||
|
25. 增加删除费用报销数据功能
|
||||||
|
26. 增加批量卸载模块功能
|
||||||
|
27. 增加odoo加速功能
|
||||||
|
28. 快速管理顶级菜单
|
||||||
|
29. App版本比较,快速查看可本地更新的模块
|
||||||
|
30. 一键导出翻译文件 po
|
||||||
|
31. 显示或去除 odoo 推荐
|
||||||
""",
|
""",
|
||||||
'images': ['static/description/banner.gif'],
|
'images': ['static/description/banner.gif'],
|
||||||
'depends': [
|
'depends': [
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Odoo Server 13.0+e\n"
|
"Project-Id-Version: Odoo Server 13.0+e\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2020-03-15 10:33+0000\n"
|
"POT-Creation-Date: 2020-04-12 10:21+0000\n"
|
||||||
"PO-Revision-Date: 2020-03-15 10:33+0000\n"
|
"PO-Revision-Date: 2020-04-12 10:21+0000\n"
|
||||||
"Last-Translator: \n"
|
"Last-Translator: \n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
@@ -275,6 +275,11 @@ msgstr "我的帐户链接"
|
|||||||
msgid "Please confirm to delete the select data?"
|
msgid "Please confirm to delete the select data?"
|
||||||
msgstr "您确认要删除指定数据?"
|
msgstr "您确认要删除指定数据?"
|
||||||
|
|
||||||
|
#. module: app_odoo_customize
|
||||||
|
#: model_terms:ir.ui.view,arch_db:app_odoo_customize.replace_login
|
||||||
|
msgid "Powered by <span>odooApp</span>"
|
||||||
|
msgstr "Powered by <span>Sunpop.cn</span>"
|
||||||
|
|
||||||
#. module: app_odoo_customize
|
#. module: app_odoo_customize
|
||||||
#: model:ir.model.fields,help:app_odoo_customize.field_res_config_settings__app_system_name
|
#: model:ir.model.fields,help:app_odoo_customize.field_res_config_settings__app_system_name
|
||||||
msgid "Setup System Name,which replace Odoo"
|
msgid "Setup System Name,which replace Odoo"
|
||||||
@@ -306,6 +311,11 @@ msgstr "显示升级企业版标签提醒"
|
|||||||
msgid "Show My Account"
|
msgid "Show My Account"
|
||||||
msgstr "显示我的帐户"
|
msgstr "显示我的帐户"
|
||||||
|
|
||||||
|
#. module: app_odoo_customize
|
||||||
|
#: model:ir.model.fields,field_description:app_odoo_customize.field_res_config_settings__module_odoo_referral
|
||||||
|
msgid "Show Odoo Referral"
|
||||||
|
msgstr "显示Odoo推荐"
|
||||||
|
|
||||||
#. module: app_odoo_customize
|
#. module: app_odoo_customize
|
||||||
#: model:ir.model.fields,field_description:app_odoo_customize.field_res_config_settings__app_show_poweredby
|
#: model:ir.model.fields,field_description:app_odoo_customize.field_res_config_settings__app_show_poweredby
|
||||||
msgid "Show Powered by Odoo"
|
msgid "Show Powered by Odoo"
|
||||||
@@ -372,6 +382,11 @@ msgstr "不选中则会隐藏odoo分享"
|
|||||||
msgid "Uncheck to hide the Powered by text"
|
msgid "Uncheck to hide the Powered by text"
|
||||||
msgstr "不勾选则不显示Odoo Powered by"
|
msgstr "不勾选则不显示Odoo Powered by"
|
||||||
|
|
||||||
|
#. module: app_odoo_customize
|
||||||
|
#: model:ir.model.fields,help:app_odoo_customize.field_res_config_settings__module_odoo_referral
|
||||||
|
msgid "Uncheck to remove the Odoo Referral"
|
||||||
|
msgstr "不勾选则不显示Odoo推荐"
|
||||||
|
|
||||||
#. module: app_odoo_customize
|
#. module: app_odoo_customize
|
||||||
#: model_terms:ir.ui.view,arch_db:app_odoo_customize.app_module_view_kanban
|
#: model_terms:ir.ui.view,arch_db:app_odoo_customize.app_module_view_kanban
|
||||||
msgid "Uninstall"
|
msgid "Uninstall"
|
||||||
|
|||||||
@@ -14,8 +14,7 @@ class IrModule(models.Model):
|
|||||||
# installed_version = fields.Char('Latest Version', compute='_get_latest_version')
|
# installed_version = fields.Char('Latest Version', compute='_get_latest_version')
|
||||||
# latest_version = fields.Char('Installed Version', readonly=True)
|
# latest_version = fields.Char('Installed Version', readonly=True)
|
||||||
|
|
||||||
local_updatable = fields.Boolean('Local updatable', compute='_get_latest_version',
|
local_updatable = fields.Boolean('Local updatable', compute='_get_latest_version', default=False, store=True)
|
||||||
compute_sudo=True, default=False, store=True)
|
|
||||||
|
|
||||||
def module_multi_uninstall(self):
|
def module_multi_uninstall(self):
|
||||||
""" Perform the various steps required to uninstall a module completely
|
""" Perform the various steps required to uninstall a module completely
|
||||||
@@ -33,10 +32,11 @@ class IrModule(models.Model):
|
|||||||
})
|
})
|
||||||
return action
|
return action
|
||||||
|
|
||||||
@api.depends('name')
|
@api.depends('name', 'latest_version', 'state')
|
||||||
def _get_latest_version(self):
|
def _get_latest_version(self):
|
||||||
default_version = modules.adapt_version('1.0')
|
default_version = modules.adapt_version('1.0')
|
||||||
for module in self:
|
for module in self:
|
||||||
|
module.local_updatable = False
|
||||||
module.installed_version = self.get_module_info(module.name).get('version', default_version)
|
module.installed_version = self.get_module_info(module.name).get('version', default_version)
|
||||||
if module.installed_version and module.latest_version and operator.gt(module.installed_version, module.latest_version):
|
if module.installed_version and module.latest_version and operator.gt(module.installed_version, module.latest_version):
|
||||||
module.local_updatable = True
|
module.local_updatable = True
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ class ResConfigSettings(models.TransientModel):
|
|||||||
app_show_poweredby = fields.Boolean('Show Powered by Odoo', help="Uncheck to hide the Powered by text")
|
app_show_poweredby = fields.Boolean('Show Powered by Odoo', help="Uncheck to hide the Powered by text")
|
||||||
group_show_author_in_apps = fields.Boolean(string="Show Author in Apps Dashboard", implied_group='app_odoo_customize.group_show_author_in_apps',
|
group_show_author_in_apps = fields.Boolean(string="Show Author in Apps Dashboard", implied_group='app_odoo_customize.group_show_author_in_apps',
|
||||||
help="Uncheck to Hide Author and Website in Apps Dashboard")
|
help="Uncheck to Hide Author and Website in Apps Dashboard")
|
||||||
|
module_odoo_referral = fields.Boolean('Show Odoo Referral', help="Uncheck to remove the Odoo Referral")
|
||||||
|
|
||||||
app_documentation_url = fields.Char('Documentation Url')
|
app_documentation_url = fields.Char('Documentation Url')
|
||||||
app_documentation_dev_url = fields.Char('Developer Documentation Url')
|
app_documentation_dev_url = fields.Char('Developer Documentation Url')
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 404 KiB After Width: | Height: | Size: 466 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 306 KiB After Width: | Height: | Size: 208 KiB |
@@ -42,6 +42,10 @@
|
|||||||
Online Documentation Access,Quick Data Clear. </p>
|
Online Documentation Access,Quick Data Clear. </p>
|
||||||
<p class="mb16">Support Odoo 13, 12, 11, 10, 9. Including community and enterprise version. </p>
|
<p class="mb16">Support Odoo 13, 12, 11, 10, 9. Including community and enterprise version. </p>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="oe_demo" style=" margin: 30px auto 0; padding: 0 15px 0 0; border:none; width: 96%;">
|
||||||
|
<p>If you want to change the login page. </p>
|
||||||
|
<p class="mb16">Please modify the file \views\app_odoo_customize_views.xml </p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
@@ -51,6 +55,10 @@
|
|||||||
<div class="oe_span12">
|
<div class="oe_span12">
|
||||||
<h2 class="oe_slogan">This is a Long Term Support Apps.</h2>
|
<h2 class="oe_slogan">This is a Long Term Support Apps.</h2>
|
||||||
<div class="oe_demo" style=" margin: 30px auto 0; padding: 0 15px 0 0; border:none; width: 96%;">
|
<div class="oe_demo" style=" margin: 30px auto 0; padding: 0 15px 0 0; border:none; width: 96%;">
|
||||||
|
<h3>Update: v13.20.04.12</h3>
|
||||||
|
<p>31. Show or hide odoo Referral in the top menu.</p>
|
||||||
|
<h3>Update: v13.20.03.23</h3>
|
||||||
|
<p>30. 1 key export app translate file like .po file.</p>
|
||||||
<h3>Update: v13.20.02.25</h3>
|
<h3>Update: v13.20.02.25</h3>
|
||||||
<p>28. Easy Menu manager.</p>
|
<p>28. Easy Menu manager.</p>
|
||||||
<p>29. Add Install version in App list. Add Local updatable filter in app list.</p>
|
<p>29. Add Install version in App list. Add Local updatable filter in app list.</p>
|
||||||
@@ -115,6 +123,11 @@
|
|||||||
<li class="list-group-item">23. Add reset or clear website blog data</li>
|
<li class="list-group-item">23. Add reset or clear website blog data</li>
|
||||||
<li class="list-group-item">24. Customize Odoo Native Module(eg. Enterprise) Url</li>
|
<li class="list-group-item">24. Customize Odoo Native Module(eg. Enterprise) Url</li>
|
||||||
<li class="list-group-item">25. Add remove expense data</li>
|
<li class="list-group-item">25. Add remove expense data</li>
|
||||||
|
<li class="list-group-item">26. Add multi uninstall modules</li>
|
||||||
|
<li class="list-group-item">27. Add odoo boost modules link.</li>
|
||||||
|
<li class="list-group-item">28. Easy Menu manager.</li>
|
||||||
|
<li class="list-group-item">29. Apps version compare. Add Install version in App list. Add Local updatable filter in app list.</li>
|
||||||
|
<li class="list-group-item">30. 1 key export app translate file like .po file.</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>
|
<p>
|
||||||
This module can help to white label the Odoo.
|
This module can help to white label the Odoo.
|
||||||
|
|||||||
@@ -9,9 +9,9 @@
|
|||||||
</xpath>
|
</xpath>
|
||||||
</template>
|
</template>
|
||||||
<!-- some odoo version not support, please remove this if you are using odoo9 -->
|
<!-- some odoo version not support, please remove this if you are using odoo9 -->
|
||||||
<!--<template id="replace_login" name="Login Layout" inherit_id="web.login_layout">-->
|
<template id="replace_login" name="Login Layout" inherit_id="web.login_layout">
|
||||||
<!--<xpath expr="//a[@target='_blank']" position="replace">-->
|
<xpath expr="//a[@target='_blank']" position="replace">
|
||||||
<!--<a href="https://www.sunpop.cn" target="_blank">Powered by <span>odooApp</span></a>-->
|
<a href="https://www.sunpop.cn" target="_blank">Powered by <span>odooApp</span></a>
|
||||||
<!--</xpath>-->
|
</xpath>
|
||||||
<!--</template>-->
|
</template>
|
||||||
</odoo>
|
</odoo>
|
||||||
@@ -66,6 +66,10 @@
|
|||||||
<field name="group_show_author_in_apps"/>
|
<field name="group_show_author_in_apps"/>
|
||||||
<label for="group_show_author_in_apps"/>
|
<label for="group_show_author_in_apps"/>
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<field name="module_odoo_referral" widget="upgrade_boolean"/>
|
||||||
|
<label for="module_odoo_referral"/>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</group>
|
</group>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': "App Pos order browse by store salesperson status",
|
'name': "App Pos order browse by store salesperson status",
|
||||||
'version': '13.19.10.16',
|
'version': '13.20.04.11',
|
||||||
'author': 'Sunpop.cn',
|
'author': 'Sunpop.cn',
|
||||||
'category': 'Point of Sale',
|
'category': 'Point of Sale',
|
||||||
'website': 'https://www.sunpop.cn',
|
'website': 'https://www.sunpop.cn',
|
||||||
|
|||||||
@@ -7,12 +7,12 @@
|
|||||||
<field name="inherit_id" ref="point_of_sale.view_pos_order_filter"/>
|
<field name="inherit_id" ref="point_of_sale.view_pos_order_filter"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search">
|
<xpath expr="//search">
|
||||||
<superbar view_types="tree,kanban,pivot">
|
<searchpanel view_types="tree,kanban,pivot">
|
||||||
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
||||||
<field name="config_id"/>
|
<field name="config_id"/>
|
||||||
<field name="state"/>
|
<field name="state"/>
|
||||||
<field name="user_id"/>
|
<field name="user_id"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -6,8 +6,8 @@
|
|||||||
<field name="model">product.template</field>
|
<field name="model">product.template</field>
|
||||||
<field name="inherit_id" ref="app_product_superbar.app_product_template_search_view"/>
|
<field name="inherit_id" ref="app_product_superbar.app_product_template_search_view"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//superbar/field[@name='categ_id']" position="before">
|
<xpath expr="//searchpanel/field[@name='categ_id']" position="before">
|
||||||
<field name="pos_categ_id" domain="[]"/>
|
<field name="pos_categ_id" />
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -7,11 +7,11 @@
|
|||||||
<field name="inherit_id" ref="point_of_sale.view_report_pos_order_search"/>
|
<field name="inherit_id" ref="point_of_sale.view_report_pos_order_search"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search">
|
<xpath expr="//search">
|
||||||
<superbar>
|
<searchpanel>
|
||||||
<field name="config_id"/>
|
<field name="config_id"/>
|
||||||
<field name="state"/>
|
<field name="state"/>
|
||||||
<field name="user_id"/>
|
<field name="user_id"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': 'Product Brand Manager',
|
'name': 'Product Brand Manager',
|
||||||
'version': '13.19.12.12',
|
'version': '13.20.04.11',
|
||||||
'author': 'Sunpop.cn',
|
'author': 'Sunpop.cn',
|
||||||
'category': 'Product',
|
'category': 'Product',
|
||||||
'website': 'https://www.sunpop.cn',
|
'website': 'https://www.sunpop.cn',
|
||||||
|
|||||||
@@ -1,14 +0,0 @@
|
|||||||
# Copyright 2019 Tecnativa - Pedro M. Baeza
|
|
||||||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
|
|
||||||
|
|
||||||
from openupgradelib import openupgrade
|
|
||||||
from openupgradelib import openupgrade_90
|
|
||||||
|
|
||||||
|
|
||||||
@openupgrade.migrate(use_env=True)
|
|
||||||
def migrate(env, version):
|
|
||||||
column = openupgrade.get_legacy_name('logo')
|
|
||||||
if openupgrade.column_exists(env.cr, 'product_brand', column):
|
|
||||||
openupgrade_90.convert_binary_field_to_attachment(
|
|
||||||
env, {'product.brand': [('logo', None)]},
|
|
||||||
)
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
# Copyright 2019 Tecnativa - Pedro M. Baeza
|
|
||||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
|
||||||
|
|
||||||
from openupgradelib import openupgrade
|
|
||||||
|
|
||||||
column_renames = {
|
|
||||||
'product_brand': [
|
|
||||||
('logo', None),
|
|
||||||
],
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@openupgrade.migrate()
|
|
||||||
def migrate(env, version):
|
|
||||||
if openupgrade.column_exists(env.cr, 'product_brand', 'logo'):
|
|
||||||
openupgrade.rename_columns(env.cr, column_renames)
|
|
||||||
@@ -1 +1,2 @@
|
|||||||
from . import product_brand
|
from . import product_brand
|
||||||
|
from . import product_template
|
||||||
|
|||||||
@@ -39,12 +39,3 @@ class ProductBrand(models.Model):
|
|||||||
for brand in self:
|
for brand in self:
|
||||||
brand.products_count = len(brand.product_ids)
|
brand.products_count = len(brand.product_ids)
|
||||||
|
|
||||||
|
|
||||||
class ProductTemplate(models.Model):
|
|
||||||
_inherit = 'product.template'
|
|
||||||
|
|
||||||
product_brand_id = fields.Many2one(
|
|
||||||
'product.brand',
|
|
||||||
string='Brand',
|
|
||||||
help='Select a brand for this product'
|
|
||||||
)
|
|
||||||
|
|||||||
19
app_product_brand/models/product_template.py
Normal file
19
app_product_brand/models/product_template.py
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
# Copyright 2009 NetAndCo (<http://www.netandco.net>).
|
||||||
|
# Copyright 2011 Akretion Benoît Guillot <benoit.guillot@akretion.com>
|
||||||
|
# Copyright 2014 prisnet.ch Seraphine Lantible <s.lantible@gmail.com>
|
||||||
|
# Copyright 2016 Serpent Consulting Services Pvt. Ltd.
|
||||||
|
# Copyright 2018 Daniel Campos <danielcampos@avanzosc.es>
|
||||||
|
# Copyright 2019 Sunpop.cn <guohuadeng@hotmail.com>
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html)
|
||||||
|
|
||||||
|
from odoo import api, fields, models, _
|
||||||
|
|
||||||
|
|
||||||
|
class ProductTemplate(models.Model):
|
||||||
|
_inherit = 'product.template'
|
||||||
|
|
||||||
|
product_brand_id = fields.Many2one(
|
||||||
|
'product.brand',
|
||||||
|
string='Brand',
|
||||||
|
help='Select a brand for this product'
|
||||||
|
)
|
||||||
@@ -7,10 +7,7 @@ from odoo import fields, models
|
|||||||
class AccountInvoiceReport(models.Model):
|
class AccountInvoiceReport(models.Model):
|
||||||
_inherit = "account.invoice.report"
|
_inherit = "account.invoice.report"
|
||||||
|
|
||||||
product_brand_id = fields.Many2one(
|
product_brand_id = fields.Many2one('product.brand', string='Brand')
|
||||||
comodel_name='product.brand',
|
|
||||||
string='Brand',
|
|
||||||
)
|
|
||||||
|
|
||||||
def _select(self):
|
def _select(self):
|
||||||
select_str = super()._select()
|
select_str = super()._select()
|
||||||
|
|||||||
@@ -7,10 +7,7 @@ from odoo import fields, models
|
|||||||
class SaleReport(models.Model):
|
class SaleReport(models.Model):
|
||||||
_inherit = "sale.report"
|
_inherit = "sale.report"
|
||||||
|
|
||||||
product_brand_id = fields.Many2one(
|
product_brand_id = fields.Many2one('product.brand', string='Brand')
|
||||||
comodel_name='product.brand',
|
|
||||||
string='Brand',
|
|
||||||
)
|
|
||||||
|
|
||||||
# pylint:disable=dangerous-default-value
|
# pylint:disable=dangerous-default-value
|
||||||
def _query(self, with_clause='', fields={}, groupby='', from_clause=''):
|
def _query(self, with_clause='', fields={}, groupby='', from_clause=''):
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<openerp>
|
<odoo>
|
||||||
<data>
|
<data>
|
||||||
<!--产品list,可调整显示顺序-->
|
<!--产品list,可调整显示顺序-->
|
||||||
<record id="view_product_variant_tree_brand" model="ir.ui.view">
|
<record id="view_product_variant_tree_brand" model="ir.ui.view">
|
||||||
@@ -29,4 +29,4 @@
|
|||||||
</record>
|
</record>
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</odoo>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<openerp>
|
<odoo>
|
||||||
<data>
|
<data>
|
||||||
|
|
||||||
<record id="view_product_template_search_brand" model="ir.ui.view">
|
<record id="view_product_template_search_brand" model="ir.ui.view">
|
||||||
@@ -21,9 +21,8 @@
|
|||||||
<field name="model">product.template</field>
|
<field name="model">product.template</field>
|
||||||
<field name="inherit_id" ref="product.product_template_form_view"/>
|
<field name="inherit_id" ref="product.product_template_form_view"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<field name="sale_ok" position="before">
|
<field name="categ_id" position="after">
|
||||||
<field name="product_brand_id" placeholder="Brand"/>
|
<field name="product_brand_id" placeholder="Brand"/>
|
||||||
<div/>
|
|
||||||
</field>
|
</field>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
@@ -56,4 +55,4 @@
|
|||||||
</record>
|
</record>
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</odoo>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': "App product browse by category navigator",
|
'name': "App product browse by category navigator",
|
||||||
'version': '13.19.12.31',
|
'version': '13.20.03.30',
|
||||||
'author': 'Sunpop.cn',
|
'author': 'Sunpop.cn',
|
||||||
'category': 'Base',
|
'category': 'Base',
|
||||||
'website': 'https://www.sunpop.cn',
|
'website': 'https://www.sunpop.cn',
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
'images': ['static/description/banner.gif'],
|
'images': ['static/description/banner.gif'],
|
||||||
'data': [
|
'data': [
|
||||||
'views/product_views.xml',
|
'views/product_views.xml',
|
||||||
'views/product_attribute_value_views.xml',
|
# 'views/product_attribute_value_views.xml',
|
||||||
],
|
],
|
||||||
'demo': [
|
'demo': [
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -8,8 +8,8 @@
|
|||||||
<tree string="Variant Values" editable="bottom">
|
<tree string="Variant Values" editable="bottom">
|
||||||
<field name="sequence" widget="handle"/>
|
<field name="sequence" widget="handle"/>
|
||||||
<field name="id" groups="base.group_no_one"/>
|
<field name="id" groups="base.group_no_one"/>
|
||||||
<field name="attribute_id"/>
|
|
||||||
<field name="name"/>
|
<field name="name"/>
|
||||||
|
<field name="attribute_id"/>
|
||||||
<field name="display_name" readonly="1"/>
|
<field name="display_name" readonly="1"/>
|
||||||
</tree>
|
</tree>
|
||||||
</field>
|
</field>
|
||||||
@@ -22,21 +22,22 @@
|
|||||||
<search string="Search product.attribute.value">
|
<search string="Search product.attribute.value">
|
||||||
<field name="name" string="Value"/>
|
<field name="name" string="Value"/>
|
||||||
<field name="attribute_id" string="Attribute"/>
|
<field name="attribute_id" string="Attribute"/>
|
||||||
<superbar>
|
<searchpanel>
|
||||||
<field name="attribute_id"/>
|
<field name="attribute_id"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</search>
|
</search>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
<record id="variants_action" model="ir.actions.act_window">
|
<!--以下功能放到 app_product_variant_pro -->
|
||||||
<field name="name">Attribute Values</field>
|
<!--<record id="variants_action" model="ir.actions.act_window">-->
|
||||||
<field name="type">ir.actions.act_window</field>
|
<!--<field name="name">Attribute Values</field>-->
|
||||||
<field name="res_model">product.attribute.value</field>
|
<!--<field name="type">ir.actions.act_window</field>-->
|
||||||
<field name="view_mode">tree</field>
|
<!--<field name="res_model">product.attribute.value</field>-->
|
||||||
</record>
|
<!--<field name="view_mode">tree</field>-->
|
||||||
|
<!--</record>-->
|
||||||
|
|
||||||
<menuitem
|
<!--<menuitem-->
|
||||||
action="variants_action" id="menu_variants_action"
|
<!--action="variants_action" id="menu_variants_action"-->
|
||||||
parent="stock.menu_product_in_config_stock" sequence="5" groups="product.group_product_variant"/>
|
<!--parent="stock.menu_product_in_config_stock" sequence="5" groups="product.group_product_variant"/>-->
|
||||||
</data>
|
</data>
|
||||||
</odoo>
|
</odoo>
|
||||||
@@ -7,10 +7,10 @@
|
|||||||
<field name="inherit_id" ref="product.product_template_search_view"/>
|
<field name="inherit_id" ref="product.product_template_search_view"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search">
|
<xpath expr="//search">
|
||||||
<superbar>
|
<searchpanel view_types="tree,kanban,search">
|
||||||
<field name="categ_id" widget="ztree_select" text="name"/>
|
<field name="categ_id" widget="ztree_select" text="name"/>
|
||||||
<field name="type"/>
|
<field name="type"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -7,11 +7,11 @@
|
|||||||
<field name="inherit_id" ref="project.view_project_project_filter"/>
|
<field name="inherit_id" ref="project.view_project_project_filter"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search" position="inside">
|
<xpath expr="//search" position="inside">
|
||||||
<superbar view_types="kanban,tree">
|
<searchpanel view_types="kanban,tree">
|
||||||
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
||||||
<field name="user_id"/>
|
<field name="user_id"/>
|
||||||
<field name="partner_id"/>
|
<field name="partner_id"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -7,10 +7,10 @@
|
|||||||
<field name="inherit_id" ref="project.view_task_search_form"/>
|
<field name="inherit_id" ref="project.view_task_search_form"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search" position="inside">
|
<xpath expr="//search" position="inside">
|
||||||
<superbar view_types="kanban,tree,graph,pivot">
|
<searchpanel view_types="kanban,tree,graph,pivot">
|
||||||
<field name="user_id"/>
|
<field name="user_id"/>
|
||||||
<field name="stage_id"/>
|
<field name="stage_id"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<field name="inherit_id" ref="purchase.purchase_order_form"/>
|
<field name="inherit_id" ref="purchase.purchase_order_form"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//page/field[@name='order_line']/tree/control" position="inside">
|
<xpath expr="//page/field[@name='order_line']/tree/control" position="inside">
|
||||||
<create string="Multi Add Product" context="{
|
<create name="multi_add_line" string="Multi Add Product" context="{
|
||||||
'pro_multi_add': True,
|
'pro_multi_add': True,
|
||||||
'pro_res_model': 'product.product',
|
'pro_res_model': 'product.product',
|
||||||
'pro_res_field': 'product_id',
|
'pro_res_field': 'product_id',
|
||||||
|
|||||||
@@ -6,11 +6,11 @@
|
|||||||
<field name="inherit_id" ref="purchase.view_purchase_order_filter"/>
|
<field name="inherit_id" ref="purchase.view_purchase_order_filter"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search">
|
<xpath expr="//search">
|
||||||
<superbar view_types="tree,kanban,pivot,graph">
|
<searchpanel view_types="tree,kanban,pivot,graph">
|
||||||
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
||||||
<field name="partner_id" domain="[('supplier_rank','>', 0)]"/>
|
<field name="partner_id" select='multi' domain="[['supplier_rank','>', 0]]"/>
|
||||||
<field name="state"/>
|
<field name="state"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
@@ -20,12 +20,12 @@
|
|||||||
<field name="inherit_id" ref="purchase.purchase_order_view_search"/>
|
<field name="inherit_id" ref="purchase.purchase_order_view_search"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search">
|
<xpath expr="//search">
|
||||||
<superbar view_types="tree,kanban,pivot,graph">
|
<searchpanel view_types="tree,kanban,pivot,graph">
|
||||||
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
||||||
<field name="partner_id" domain="[('supplier_rank','>', 0)]"/>
|
<field name="partner_id" select='multi' domain="[['supplier_rank','>', 0]]"/>
|
||||||
<field name="invoice_status"/>
|
<field name="invoice_status"/>
|
||||||
<field name="state"/>
|
<field name="state"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
@@ -36,10 +36,10 @@
|
|||||||
<field name="inherit_id" ref="product.product_supplierinfo_search_view"/>
|
<field name="inherit_id" ref="product.product_supplierinfo_search_view"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search">
|
<xpath expr="//search">
|
||||||
<superbar view_types="tree">
|
<searchpanel view_types="tree">
|
||||||
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
||||||
<field name="name" domain="[('supplier_rank','>', 0)]"/>
|
<field name="name" select='multi' domain="[['supplier_rank','>', 0]]"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': "Multi Add Sale Product,订单批量加产品",
|
'name': "Multi Add Sale Product,订单批量加产品",
|
||||||
'version': '12.19.04.29',
|
'version': '13.20.04.06',
|
||||||
'author': 'Sunpop.cn',
|
'author': 'Sunpop.cn',
|
||||||
'category': 'Base',
|
'category': 'Base',
|
||||||
'website': 'https://www.sunpop.cn',
|
'website': 'https://www.sunpop.cn',
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
<field name="inherit_id" ref="sale.view_order_form"/>
|
<field name="inherit_id" ref="sale.view_order_form"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//page/field[@name='order_line']/tree/control" position="inside">
|
<xpath expr="//page/field[@name='order_line']/tree/control" position="inside">
|
||||||
<create string="Multi add product" context="{
|
<create name="multi_add_line" string="Multi add product" context="{
|
||||||
'pro_multi_add': True,
|
'pro_multi_add': True,
|
||||||
'pro_res_model': 'product.product',
|
'pro_res_model': 'product.product',
|
||||||
'pro_res_field': 'product_id',
|
'pro_res_field': 'product_id',
|
||||||
|
|||||||
@@ -7,12 +7,12 @@
|
|||||||
<field name="inherit_id" ref="sale.sale_order_view_search_inherit_quotation"/>
|
<field name="inherit_id" ref="sale.sale_order_view_search_inherit_quotation"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search">
|
<xpath expr="//search">
|
||||||
<superbar view_types="tree,kanban,pivot,graph">
|
<searchpanel view_types="tree,kanban,pivot,graph">
|
||||||
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
||||||
<field name="team_id"/>
|
<field name="team_id"/>
|
||||||
<field name="user_id"/>
|
<field name="user_id"/>
|
||||||
<field name="partner_id" domain="[('customer_rank','>', 0)]"/>
|
<field name="partner_id" select='multi' domain="[['customer_rank','>', 0]]"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
@@ -23,13 +23,13 @@
|
|||||||
<field name="inherit_id" ref="sale.sale_order_view_search_inherit_sale"/>
|
<field name="inherit_id" ref="sale.sale_order_view_search_inherit_sale"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search">
|
<xpath expr="//search">
|
||||||
<superbar view_types="tree,kanban,pivot,graph">
|
<searchpanel view_types="tree,kanban,pivot,graph">
|
||||||
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
||||||
<field name="invoice_status"/>
|
<field name="invoice_status"/>
|
||||||
<field name="team_id"/>
|
<field name="team_id"/>
|
||||||
<field name="partner_id" domain="[('customer_rank','>', 0)]"/>
|
<field name="partner_id" select='multi' domain="[['customer_rank','>', 0]]"/>
|
||||||
<field name="user_id"/>
|
<field name="user_id"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -7,8 +7,8 @@
|
|||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//page/field[@name='move_ids_without_package']/tree/field[1]" position="before">
|
<xpath expr="//page/field[@name='move_ids_without_package']/tree/field[1]" position="before">
|
||||||
<control>
|
<control>
|
||||||
<create string="Add a line"/>
|
<create name="add_line" string="Add a line"/>
|
||||||
<create string="Multi add line" context="{
|
<create name="multi_add_line" string="Multi add line" context="{
|
||||||
'pro_multi_add': True,
|
'pro_multi_add': True,
|
||||||
'pro_res_model': 'product.product',
|
'pro_res_model': 'product.product',
|
||||||
'pro_res_field': 'product_id',
|
'pro_res_field': 'product_id',
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': "Stock Superbar ztree, parent children tree",
|
'name': "Stock Superbar ztree, parent children tree",
|
||||||
'version': '13.19.10.16',
|
'version': '13.20.03.30',
|
||||||
'author': 'Sunpop.cn',
|
'author': 'Sunpop.cn',
|
||||||
'category': 'Base',
|
'category': 'Base',
|
||||||
'website': 'https://www.sunpop.cn',
|
'website': 'https://www.sunpop.cn',
|
||||||
|
|||||||
@@ -8,9 +8,9 @@
|
|||||||
<field name="groups_id" eval="[(4, ref('base.group_multi_company'))]"/>
|
<field name="groups_id" eval="[(4, ref('base.group_multi_company'))]"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search">
|
<xpath expr="//search">
|
||||||
<superbar view_types="kanban,tree">
|
<searchpanel view_types="kanban,tree">
|
||||||
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -7,11 +7,11 @@
|
|||||||
<field name="inherit_id" ref="stock.view_location_search"/>
|
<field name="inherit_id" ref="stock.view_location_search"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search">
|
<xpath expr="//search">
|
||||||
<superbar view_types="kanban,tree">
|
<searchpanel view_types="kanban,tree">
|
||||||
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
||||||
<field name="location_id" groups="stock.group_stock_multi_locations"/>
|
<field name="location_id" groups="stock.group_stock_multi_locations"/>
|
||||||
<field name="usage"/>
|
<field name="usage"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -8,9 +8,9 @@
|
|||||||
<field name="groups_id" eval="[(4, ref('stock.group_stock_multi_warehouses'))]"/>
|
<field name="groups_id" eval="[(4, ref('stock.group_stock_multi_warehouses'))]"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search">
|
<xpath expr="//search">
|
||||||
<superbar view_types="tree">
|
<searchpanel view_types="tree">
|
||||||
<field name="warehouse_id" groups="stock.group_stock_multi_warehouses"/>
|
<field name="warehouse_id" groups="stock.group_stock_multi_warehouses"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -7,11 +7,11 @@
|
|||||||
<field name="inherit_id" ref="stock.view_picking_internal_search"/>
|
<field name="inherit_id" ref="stock.view_picking_internal_search"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search">
|
<xpath expr="//search">
|
||||||
<superbar view_types="kanban,tree">
|
<searchpanel view_types="kanban,tree">
|
||||||
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
||||||
<field name="picking_type_id"/>
|
<field name="picking_type_id"/>
|
||||||
<field name="state"/>
|
<field name="state"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -7,9 +7,9 @@
|
|||||||
<field name="inherit_id" ref="stock.search_product_lot_filter"/>
|
<field name="inherit_id" ref="stock.search_product_lot_filter"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search">
|
<xpath expr="//search">
|
||||||
<superbar view_types="tree">
|
<searchpanel view_types="tree">
|
||||||
<field name="product_id" domain="[('tracking', 'in', ('serial', 'lot'))]"/>
|
<field name="product_id" filter_domain="[('tracking', 'in', ('serial', 'lot'))]"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -7,10 +7,10 @@
|
|||||||
<field name="inherit_id" ref="stock.view_stock_rule_filter"/>
|
<field name="inherit_id" ref="stock.view_stock_rule_filter"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search">
|
<xpath expr="//search">
|
||||||
<superbar view_types="kanban,tree">
|
<searchpanel view_types="kanban,tree">
|
||||||
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
||||||
<field name="action"/>
|
<field name="action"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -7,10 +7,10 @@
|
|||||||
<field name="inherit_id" ref="stock.warehouse_orderpoint_search"/>
|
<field name="inherit_id" ref="stock.warehouse_orderpoint_search"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//search">
|
<xpath expr="//search">
|
||||||
<superbar view_types="kanban,tree">
|
<searchpanel view_types="kanban,tree">
|
||||||
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
||||||
<field name="warehouse_id" groups="stock.group_stock_multi_warehouses"/>
|
<field name="warehouse_id" groups="stock.group_stock_multi_warehouses"/>
|
||||||
</superbar>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
75
app_web_no_bubble/README.rst
Normal file
75
app_web_no_bubble/README.rst
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
=============
|
||||||
|
Web No Bubble
|
||||||
|
=============
|
||||||
|
|
||||||
|
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
|
!! 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-AGPL--3-blue.png
|
||||||
|
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
||||||
|
:alt: License: AGPL-3
|
||||||
|
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github
|
||||||
|
:target: https://github.com/OCA/web/tree/13.0/web_no_bubble
|
||||||
|
:alt: OCA/web
|
||||||
|
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
||||||
|
:target: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_no_bubble
|
||||||
|
:alt: Translate me on Weblate
|
||||||
|
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
|
||||||
|
:target: https://runbot.odoo-community.org/runbot/162/13.0
|
||||||
|
:alt: Try me on Runbot
|
||||||
|
|
||||||
|
|badge1| |badge2| |badge3| |badge4| |badge5|
|
||||||
|
|
||||||
|
This module removes from the web interface the bubbles introduced in the version 10.0.
|
||||||
|
The help boxes are not removed though.
|
||||||
|
|
||||||
|
**Table of contents**
|
||||||
|
|
||||||
|
.. contents::
|
||||||
|
:local:
|
||||||
|
|
||||||
|
Bug Tracker
|
||||||
|
===========
|
||||||
|
|
||||||
|
Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/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 <https://github.com/OCA/web/issues/new?body=module:%20web_no_bubble%0Aversion:%2013.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
||||||
|
|
||||||
|
Do not contact contributors directly about support or help with technical issues.
|
||||||
|
|
||||||
|
Credits
|
||||||
|
=======
|
||||||
|
|
||||||
|
Authors
|
||||||
|
~~~~~~~
|
||||||
|
|
||||||
|
* Savoir-faire Linux
|
||||||
|
|
||||||
|
Contributors
|
||||||
|
~~~~~~~~~~~~
|
||||||
|
|
||||||
|
* David Dufresne (david.dufresne@savoirfairelinux.com)
|
||||||
|
* Alexandre Díaz (alexandre.diaz@tecnativa.com)
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
This module is part of the `OCA/web <https://github.com/OCA/web/tree/13.0/web_no_bubble>`_ project on GitHub.
|
||||||
|
|
||||||
|
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
||||||
0
app_web_no_bubble/__init__.py
Normal file
0
app_web_no_bubble/__init__.py
Normal file
17
app_web_no_bubble/__manifest__.py
Normal file
17
app_web_no_bubble/__manifest__.py
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
# Copyright 2016 Savoir-faire Linux
|
||||||
|
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
|
||||||
|
# "Savoir-faire Linux, " "Odoo Community Association (OCA)",
|
||||||
|
|
||||||
|
{
|
||||||
|
"name": "Web No Bubble",
|
||||||
|
"version": "13.20.04.10",
|
||||||
|
'author': 'Sunpop.cn',
|
||||||
|
"website": "https://github.com/OCA/web",
|
||||||
|
"license": "AGPL-3",
|
||||||
|
"category": "Web",
|
||||||
|
"summary": "Remove the bubbles from the web interface",
|
||||||
|
"depends": ["web"],
|
||||||
|
"data": ["views/web_no_bubble.xml"],
|
||||||
|
"installable": True,
|
||||||
|
"application": False,
|
||||||
|
}
|
||||||
14
app_web_no_bubble/i18n/fr_FR.po
Normal file
14
app_web_no_bubble/i18n/fr_FR.po
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# Translation of Odoo Server.
|
||||||
|
# This file contains the translation of the following modules:
|
||||||
|
#
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: Odoo Server 13.0\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"Last-Translator: Automatically generated\n"
|
||||||
|
"Language-Team: none\n"
|
||||||
|
"Language: fr_FR\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"
|
||||||
15
app_web_no_bubble/i18n/hr.po
Normal file
15
app_web_no_bubble/i18n/hr.po
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
# Translation of Odoo Server.
|
||||||
|
# This file contains the translation of the following modules:
|
||||||
|
#
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: Odoo Server 13.0\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"Last-Translator: Automatically generated\n"
|
||||||
|
"Language-Team: none\n"
|
||||||
|
"Language: hr\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: \n"
|
||||||
|
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<="
|
||||||
|
"4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
|
||||||
13
app_web_no_bubble/i18n/web_no_bubble.pot
Normal file
13
app_web_no_bubble/i18n/web_no_bubble.pot
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# Translation of Odoo Server.
|
||||||
|
# This file contains the translation of the following modules:
|
||||||
|
#
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: Odoo Server 13.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"
|
||||||
14
app_web_no_bubble/i18n/zh_CN.po
Normal file
14
app_web_no_bubble/i18n/zh_CN.po
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# Translation of Odoo Server.
|
||||||
|
# This file contains the translation of the following modules:
|
||||||
|
#
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: Odoo Server 13.0\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"Last-Translator: Automatically generated\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"
|
||||||
2
app_web_no_bubble/readme/CONTRIBUTORS.rst
Normal file
2
app_web_no_bubble/readme/CONTRIBUTORS.rst
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
* David Dufresne (david.dufresne@savoirfairelinux.com)
|
||||||
|
* Alexandre Díaz (alexandre.diaz@tecnativa.com)
|
||||||
2
app_web_no_bubble/readme/DESCRIPTION.rst
Normal file
2
app_web_no_bubble/readme/DESCRIPTION.rst
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
This module removes from the web interface the bubbles introduced in the version 10.0.
|
||||||
|
The help boxes are not removed though.
|
||||||
BIN
app_web_no_bubble/static/description/icon.png
Normal file
BIN
app_web_no_bubble/static/description/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 68 KiB |
421
app_web_no_bubble/static/description/index.html
Normal file
421
app_web_no_bubble/static/description/index.html
Normal file
@@ -0,0 +1,421 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
|
<meta name="generator" content="Docutils 0.15.1: http://docutils.sourceforge.net/" />
|
||||||
|
<title>Web No Bubble</title>
|
||||||
|
<style type="text/css">
|
||||||
|
|
||||||
|
/*
|
||||||
|
:Author: David Goodger (goodger@python.org)
|
||||||
|
:Id: $Id: html4css1.css 7952 2016-07-26 18:15:59Z milde $
|
||||||
|
:Copyright: This stylesheet has been placed in the public domain.
|
||||||
|
|
||||||
|
Default cascading style sheet for the HTML output of Docutils.
|
||||||
|
|
||||||
|
See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
|
||||||
|
customize this style sheet.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* used to remove borders from tables and images */
|
||||||
|
.borderless, table.borderless td, table.borderless th {
|
||||||
|
border: 0 }
|
||||||
|
|
||||||
|
table.borderless td, table.borderless th {
|
||||||
|
/* Override padding for "table.docutils td" with "! important".
|
||||||
|
The right padding separates the table cells. */
|
||||||
|
padding: 0 0.5em 0 0 ! important }
|
||||||
|
|
||||||
|
.first {
|
||||||
|
/* Override more specific margin styles with "! important". */
|
||||||
|
margin-top: 0 ! important }
|
||||||
|
|
||||||
|
.last, .with-subtitle {
|
||||||
|
margin-bottom: 0 ! important }
|
||||||
|
|
||||||
|
.hidden {
|
||||||
|
display: none }
|
||||||
|
|
||||||
|
.subscript {
|
||||||
|
vertical-align: sub;
|
||||||
|
font-size: smaller }
|
||||||
|
|
||||||
|
.superscript {
|
||||||
|
vertical-align: super;
|
||||||
|
font-size: smaller }
|
||||||
|
|
||||||
|
a.toc-backref {
|
||||||
|
text-decoration: none ;
|
||||||
|
color: black }
|
||||||
|
|
||||||
|
blockquote.epigraph {
|
||||||
|
margin: 2em 5em ; }
|
||||||
|
|
||||||
|
dl.docutils dd {
|
||||||
|
margin-bottom: 0.5em }
|
||||||
|
|
||||||
|
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Uncomment (and remove this text!) to get bold-faced definition list terms
|
||||||
|
dl.docutils dt {
|
||||||
|
font-weight: bold }
|
||||||
|
*/
|
||||||
|
|
||||||
|
div.abstract {
|
||||||
|
margin: 2em 5em }
|
||||||
|
|
||||||
|
div.abstract p.topic-title {
|
||||||
|
font-weight: bold ;
|
||||||
|
text-align: center }
|
||||||
|
|
||||||
|
div.admonition, div.attention, div.caution, div.danger, div.error,
|
||||||
|
div.hint, div.important, div.note, div.tip, div.warning {
|
||||||
|
margin: 2em ;
|
||||||
|
border: medium outset ;
|
||||||
|
padding: 1em }
|
||||||
|
|
||||||
|
div.admonition p.admonition-title, div.hint p.admonition-title,
|
||||||
|
div.important p.admonition-title, div.note p.admonition-title,
|
||||||
|
div.tip p.admonition-title {
|
||||||
|
font-weight: bold ;
|
||||||
|
font-family: sans-serif }
|
||||||
|
|
||||||
|
div.attention p.admonition-title, div.caution p.admonition-title,
|
||||||
|
div.danger p.admonition-title, div.error p.admonition-title,
|
||||||
|
div.warning p.admonition-title, .code .error {
|
||||||
|
color: red ;
|
||||||
|
font-weight: bold ;
|
||||||
|
font-family: sans-serif }
|
||||||
|
|
||||||
|
/* Uncomment (and remove this text!) to get reduced vertical space in
|
||||||
|
compound paragraphs.
|
||||||
|
div.compound .compound-first, div.compound .compound-middle {
|
||||||
|
margin-bottom: 0.5em }
|
||||||
|
|
||||||
|
div.compound .compound-last, div.compound .compound-middle {
|
||||||
|
margin-top: 0.5em }
|
||||||
|
*/
|
||||||
|
|
||||||
|
div.dedication {
|
||||||
|
margin: 2em 5em ;
|
||||||
|
text-align: center ;
|
||||||
|
font-style: italic }
|
||||||
|
|
||||||
|
div.dedication p.topic-title {
|
||||||
|
font-weight: bold ;
|
||||||
|
font-style: normal }
|
||||||
|
|
||||||
|
div.figure {
|
||||||
|
margin-left: 2em ;
|
||||||
|
margin-right: 2em }
|
||||||
|
|
||||||
|
div.footer, div.header {
|
||||||
|
clear: both;
|
||||||
|
font-size: smaller }
|
||||||
|
|
||||||
|
div.line-block {
|
||||||
|
display: block ;
|
||||||
|
margin-top: 1em ;
|
||||||
|
margin-bottom: 1em }
|
||||||
|
|
||||||
|
div.line-block div.line-block {
|
||||||
|
margin-top: 0 ;
|
||||||
|
margin-bottom: 0 ;
|
||||||
|
margin-left: 1.5em }
|
||||||
|
|
||||||
|
div.sidebar {
|
||||||
|
margin: 0 0 0.5em 1em ;
|
||||||
|
border: medium outset ;
|
||||||
|
padding: 1em ;
|
||||||
|
background-color: #ffffee ;
|
||||||
|
width: 40% ;
|
||||||
|
float: right ;
|
||||||
|
clear: right }
|
||||||
|
|
||||||
|
div.sidebar p.rubric {
|
||||||
|
font-family: sans-serif ;
|
||||||
|
font-size: medium }
|
||||||
|
|
||||||
|
div.system-messages {
|
||||||
|
margin: 5em }
|
||||||
|
|
||||||
|
div.system-messages h1 {
|
||||||
|
color: red }
|
||||||
|
|
||||||
|
div.system-message {
|
||||||
|
border: medium outset ;
|
||||||
|
padding: 1em }
|
||||||
|
|
||||||
|
div.system-message p.system-message-title {
|
||||||
|
color: red ;
|
||||||
|
font-weight: bold }
|
||||||
|
|
||||||
|
div.topic {
|
||||||
|
margin: 2em }
|
||||||
|
|
||||||
|
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
|
||||||
|
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
|
||||||
|
margin-top: 0.4em }
|
||||||
|
|
||||||
|
h1.title {
|
||||||
|
text-align: center }
|
||||||
|
|
||||||
|
h2.subtitle {
|
||||||
|
text-align: center }
|
||||||
|
|
||||||
|
hr.docutils {
|
||||||
|
width: 75% }
|
||||||
|
|
||||||
|
img.align-left, .figure.align-left, object.align-left, table.align-left {
|
||||||
|
clear: left ;
|
||||||
|
float: left ;
|
||||||
|
margin-right: 1em }
|
||||||
|
|
||||||
|
img.align-right, .figure.align-right, object.align-right, table.align-right {
|
||||||
|
clear: right ;
|
||||||
|
float: right ;
|
||||||
|
margin-left: 1em }
|
||||||
|
|
||||||
|
img.align-center, .figure.align-center, object.align-center {
|
||||||
|
display: block;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.align-center {
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.align-left {
|
||||||
|
text-align: left }
|
||||||
|
|
||||||
|
.align-center {
|
||||||
|
clear: both ;
|
||||||
|
text-align: center }
|
||||||
|
|
||||||
|
.align-right {
|
||||||
|
text-align: right }
|
||||||
|
|
||||||
|
/* reset inner alignment in figures */
|
||||||
|
div.align-right {
|
||||||
|
text-align: inherit }
|
||||||
|
|
||||||
|
/* div.align-center * { */
|
||||||
|
/* text-align: left } */
|
||||||
|
|
||||||
|
.align-top {
|
||||||
|
vertical-align: top }
|
||||||
|
|
||||||
|
.align-middle {
|
||||||
|
vertical-align: middle }
|
||||||
|
|
||||||
|
.align-bottom {
|
||||||
|
vertical-align: bottom }
|
||||||
|
|
||||||
|
ol.simple, ul.simple {
|
||||||
|
margin-bottom: 1em }
|
||||||
|
|
||||||
|
ol.arabic {
|
||||||
|
list-style: decimal }
|
||||||
|
|
||||||
|
ol.loweralpha {
|
||||||
|
list-style: lower-alpha }
|
||||||
|
|
||||||
|
ol.upperalpha {
|
||||||
|
list-style: upper-alpha }
|
||||||
|
|
||||||
|
ol.lowerroman {
|
||||||
|
list-style: lower-roman }
|
||||||
|
|
||||||
|
ol.upperroman {
|
||||||
|
list-style: upper-roman }
|
||||||
|
|
||||||
|
p.attribution {
|
||||||
|
text-align: right ;
|
||||||
|
margin-left: 50% }
|
||||||
|
|
||||||
|
p.caption {
|
||||||
|
font-style: italic }
|
||||||
|
|
||||||
|
p.credits {
|
||||||
|
font-style: italic ;
|
||||||
|
font-size: smaller }
|
||||||
|
|
||||||
|
p.label {
|
||||||
|
white-space: nowrap }
|
||||||
|
|
||||||
|
p.rubric {
|
||||||
|
font-weight: bold ;
|
||||||
|
font-size: larger ;
|
||||||
|
color: maroon ;
|
||||||
|
text-align: center }
|
||||||
|
|
||||||
|
p.sidebar-title {
|
||||||
|
font-family: sans-serif ;
|
||||||
|
font-weight: bold ;
|
||||||
|
font-size: larger }
|
||||||
|
|
||||||
|
p.sidebar-subtitle {
|
||||||
|
font-family: sans-serif ;
|
||||||
|
font-weight: bold }
|
||||||
|
|
||||||
|
p.topic-title {
|
||||||
|
font-weight: bold }
|
||||||
|
|
||||||
|
pre.address {
|
||||||
|
margin-bottom: 0 ;
|
||||||
|
margin-top: 0 ;
|
||||||
|
font: inherit }
|
||||||
|
|
||||||
|
pre.literal-block, pre.doctest-block, pre.math, pre.code {
|
||||||
|
margin-left: 2em ;
|
||||||
|
margin-right: 2em }
|
||||||
|
|
||||||
|
pre.code .ln { color: grey; } /* line numbers */
|
||||||
|
pre.code, code { background-color: #eeeeee }
|
||||||
|
pre.code .comment, code .comment { color: #5C6576 }
|
||||||
|
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
|
||||||
|
pre.code .literal.string, code .literal.string { color: #0C5404 }
|
||||||
|
pre.code .name.builtin, code .name.builtin { color: #352B84 }
|
||||||
|
pre.code .deleted, code .deleted { background-color: #DEB0A1}
|
||||||
|
pre.code .inserted, code .inserted { background-color: #A3D289}
|
||||||
|
|
||||||
|
span.classifier {
|
||||||
|
font-family: sans-serif ;
|
||||||
|
font-style: oblique }
|
||||||
|
|
||||||
|
span.classifier-delimiter {
|
||||||
|
font-family: sans-serif ;
|
||||||
|
font-weight: bold }
|
||||||
|
|
||||||
|
span.interpreted {
|
||||||
|
font-family: sans-serif }
|
||||||
|
|
||||||
|
span.option {
|
||||||
|
white-space: nowrap }
|
||||||
|
|
||||||
|
span.pre {
|
||||||
|
white-space: pre }
|
||||||
|
|
||||||
|
span.problematic {
|
||||||
|
color: red }
|
||||||
|
|
||||||
|
span.section-subtitle {
|
||||||
|
/* font-size relative to parent (h1..h6 element) */
|
||||||
|
font-size: 80% }
|
||||||
|
|
||||||
|
table.citation {
|
||||||
|
border-left: solid 1px gray;
|
||||||
|
margin-left: 1px }
|
||||||
|
|
||||||
|
table.docinfo {
|
||||||
|
margin: 2em 4em }
|
||||||
|
|
||||||
|
table.docutils {
|
||||||
|
margin-top: 0.5em ;
|
||||||
|
margin-bottom: 0.5em }
|
||||||
|
|
||||||
|
table.footnote {
|
||||||
|
border-left: solid 1px black;
|
||||||
|
margin-left: 1px }
|
||||||
|
|
||||||
|
table.docutils td, table.docutils th,
|
||||||
|
table.docinfo td, table.docinfo th {
|
||||||
|
padding-left: 0.5em ;
|
||||||
|
padding-right: 0.5em ;
|
||||||
|
vertical-align: top }
|
||||||
|
|
||||||
|
table.docutils th.field-name, table.docinfo th.docinfo-name {
|
||||||
|
font-weight: bold ;
|
||||||
|
text-align: left ;
|
||||||
|
white-space: nowrap ;
|
||||||
|
padding-left: 0 }
|
||||||
|
|
||||||
|
/* "booktabs" style (no vertical lines) */
|
||||||
|
table.docutils.booktabs {
|
||||||
|
border: 0px;
|
||||||
|
border-top: 2px solid;
|
||||||
|
border-bottom: 2px solid;
|
||||||
|
border-collapse: collapse;
|
||||||
|
}
|
||||||
|
table.docutils.booktabs * {
|
||||||
|
border: 0px;
|
||||||
|
}
|
||||||
|
table.docutils.booktabs th {
|
||||||
|
border-bottom: thin solid;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
|
||||||
|
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
|
||||||
|
font-size: 100% }
|
||||||
|
|
||||||
|
ul.auto-toc {
|
||||||
|
list-style-type: none }
|
||||||
|
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="document" id="web-no-bubble">
|
||||||
|
<h1 class="title">Web No Bubble</h1>
|
||||||
|
|
||||||
|
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
|
!! This file is generated by oca-gen-addon-readme !!
|
||||||
|
!! changes will be overwritten. !!
|
||||||
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
||||||
|
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/web/tree/13.0/web_no_bubble"><img alt="OCA/web" src="https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_no_bubble"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/162/13.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
|
||||||
|
<p>This module removes from the web interface the bubbles introduced in the version 10.0.
|
||||||
|
The help boxes are not removed though.</p>
|
||||||
|
<p><strong>Table of contents</strong></p>
|
||||||
|
<div class="contents local topic" id="contents">
|
||||||
|
<ul class="simple">
|
||||||
|
<li><a class="reference internal" href="#bug-tracker" id="id1">Bug Tracker</a></li>
|
||||||
|
<li><a class="reference internal" href="#credits" id="id2">Credits</a><ul>
|
||||||
|
<li><a class="reference internal" href="#authors" id="id3">Authors</a></li>
|
||||||
|
<li><a class="reference internal" href="#contributors" id="id4">Contributors</a></li>
|
||||||
|
<li><a class="reference internal" href="#maintainers" id="id5">Maintainers</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="section" id="bug-tracker">
|
||||||
|
<h1><a class="toc-backref" href="#id1">Bug Tracker</a></h1>
|
||||||
|
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/web/issues">GitHub Issues</a>.
|
||||||
|
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
|
||||||
|
<a class="reference external" href="https://github.com/OCA/web/issues/new?body=module:%20web_no_bubble%0Aversion:%2013.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
|
||||||
|
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
||||||
|
</div>
|
||||||
|
<div class="section" id="credits">
|
||||||
|
<h1><a class="toc-backref" href="#id2">Credits</a></h1>
|
||||||
|
<div class="section" id="authors">
|
||||||
|
<h2><a class="toc-backref" href="#id3">Authors</a></h2>
|
||||||
|
<ul class="simple">
|
||||||
|
<li>Savoir-faire Linux</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="section" id="contributors">
|
||||||
|
<h2><a class="toc-backref" href="#id4">Contributors</a></h2>
|
||||||
|
<ul class="simple">
|
||||||
|
<li>David Dufresne (<a class="reference external" href="mailto:david.dufresne@savoirfairelinux.com">david.dufresne@savoirfairelinux.com</a>)</li>
|
||||||
|
<li>Alexandre Díaz (<a class="reference external" href="mailto:alexandre.diaz@tecnativa.com">alexandre.diaz@tecnativa.com</a>)</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="section" id="maintainers">
|
||||||
|
<h2><a class="toc-backref" href="#id5">Maintainers</a></h2>
|
||||||
|
<p>This module is maintained by the OCA.</p>
|
||||||
|
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
|
||||||
|
<p>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.</p>
|
||||||
|
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/web/tree/13.0/web_no_bubble">OCA/web</a> project on GitHub.</p>
|
||||||
|
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
5
app_web_no_bubble/static/src/css/web_no_bubble.scss
Normal file
5
app_web_no_bubble/static/src/css/web_no_bubble.scss
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
.o_tooltip {
|
||||||
|
&.o_animated {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
17
app_web_no_bubble/views/web_no_bubble.xml
Normal file
17
app_web_no_bubble/views/web_no_bubble.xml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<odoo>
|
||||||
|
<data>
|
||||||
|
<template
|
||||||
|
id="assets_backend"
|
||||||
|
name="web_no_bubble_assets"
|
||||||
|
inherit_id="web.assets_backend"
|
||||||
|
>
|
||||||
|
<xpath expr="." position="inside">
|
||||||
|
<link
|
||||||
|
rel="stylesheet"
|
||||||
|
href="/app_web_no_bubble/static/src/css/web_no_bubble.scss"
|
||||||
|
/>
|
||||||
|
</xpath>
|
||||||
|
</template>
|
||||||
|
</data>
|
||||||
|
</odoo>
|
||||||
@@ -6,60 +6,77 @@
|
|||||||
<record id="tag_cn13_s" model="account.account.tag">
|
<record id="tag_cn13_s" model="account.account.tag">
|
||||||
<field name="name">增值税13%销项税</field>
|
<field name="name">增值税13%销项税</field>
|
||||||
<field name="applicability">taxes</field>
|
<field name="applicability">taxes</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
</record>
|
</record>
|
||||||
<record id="tag_cn13_p" model="account.account.tag">
|
<record id="tag_cn13_p" model="account.account.tag">
|
||||||
<field name="name">增值税13%进项税</field>
|
<field name="name">增值税13%进项税</field>
|
||||||
<field name="applicability">taxes</field>
|
<field name="applicability">taxes</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
</record>
|
</record>
|
||||||
<record id="tag_cn09_ex" model="account.account.tag">
|
<record id="tag_cn09_ex" model="account.account.tag">
|
||||||
<field name="name">9%出口退税</field>
|
<field name="name">9%出口退税</field>
|
||||||
<field name="applicability">taxes</field>
|
<field name="applicability">taxes</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
</record>
|
</record>
|
||||||
<record id="tag_cn11_dept" model="account.account.tag">
|
<record id="tag_cn11_dept" model="account.account.tag">
|
||||||
<field name="name">11%离境退税</field>
|
<field name="name">11%离境退税</field>
|
||||||
<field name="applicability">taxes</field>
|
<field name="applicability">taxes</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
</record>
|
</record>
|
||||||
<record id="tag_cn08_dept" model="account.account.tag">
|
<record id="tag_cn08_dept" model="account.account.tag">
|
||||||
<field name="name">8%离境退税</field>
|
<field name="name">8%离境退税</field>
|
||||||
<field name="applicability">taxes</field>
|
<field name="applicability">taxes</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
</record>
|
</record>
|
||||||
<record id="tag_cn16_p" model="account.account.tag">
|
<record id="tag_cn16_p" model="account.account.tag">
|
||||||
<field name="name">增值税16%进项税</field>
|
<field name="name">增值税16%进项税</field>
|
||||||
<field name="applicability">taxes</field>
|
<field name="applicability">taxes</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
</record>
|
</record>
|
||||||
<record id="tag_cn16_s" model="account.account.tag">
|
<record id="tag_cn16_s" model="account.account.tag">
|
||||||
<field name="name">增值税16%销项税</field>
|
<field name="name">增值税16%销项税</field>
|
||||||
<field name="applicability">taxes</field>
|
<field name="applicability">taxes</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
</record>
|
</record>
|
||||||
<record id="tag21" model="account.account.tag">
|
<record id="tag21" model="account.account.tag">
|
||||||
<field name="name">银行专用</field>
|
<field name="name">银行专用</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
</record>
|
</record>
|
||||||
<record id="tag22" model="account.account.tag">
|
<record id="tag22" model="account.account.tag">
|
||||||
<field name="name">证券专用</field>
|
<field name="name">证券专用</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
</record>
|
</record>
|
||||||
<record id="tag23" model="account.account.tag">
|
<record id="tag23" model="account.account.tag">
|
||||||
<field name="name">金融共用</field>
|
<field name="name">金融共用</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
</record>
|
</record>
|
||||||
<record id="tag24" model="account.account.tag">
|
<record id="tag24" model="account.account.tag">
|
||||||
<field name="name">保险专用</field>
|
<field name="name">保险专用</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
</record>
|
</record>
|
||||||
<record id="tag25" model="account.account.tag">
|
<record id="tag25" model="account.account.tag">
|
||||||
<field name="name">银行和保险共用</field>
|
<field name="name">银行和保险共用</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
</record>
|
</record>
|
||||||
<record id="tag26" model="account.account.tag">
|
<record id="tag26" model="account.account.tag">
|
||||||
<field name="name">农业专用</field>
|
<field name="name">农业专用</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
</record>
|
</record>
|
||||||
<record id="tag27" model="account.account.tag">
|
<record id="tag27" model="account.account.tag">
|
||||||
<field name="name">租赁专用</field>
|
<field name="name">租赁专用</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
</record>
|
</record>
|
||||||
<record id="tag28" model="account.account.tag">
|
<record id="tag28" model="account.account.tag">
|
||||||
<field name="name">石油天然气开采专用</field>
|
<field name="name">石油天然气开采专用</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
</record>
|
</record>
|
||||||
<record id="tag29" model="account.account.tag">
|
<record id="tag29" model="account.account.tag">
|
||||||
<field name="name">银行和证券共用</field>
|
<field name="name">银行和证券共用</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
</record>
|
</record>
|
||||||
<record id="tag30" model="account.account.tag">
|
<record id="tag30" model="account.account.tag">
|
||||||
<field name="name">建造承包商专用</field>
|
<field name="name">建造承包商专用</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
</record>
|
</record>
|
||||||
</data>
|
</data>
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': '2020最新中国企业会计表.Latest Chinese Accounting.',
|
'name': '2020最新中国企业会计表.Latest Chinese Accounting.',
|
||||||
'version': '13.20.03.05',
|
'version': '13.20.04.11',
|
||||||
'author': 'Sunpop.cn',
|
'author': 'Sunpop.cn',
|
||||||
'category': 'Localization',
|
'category': 'Localization',
|
||||||
'website': 'https://www.sunpop.cn',
|
'website': 'https://www.sunpop.cn',
|
||||||
@@ -67,5 +67,5 @@
|
|||||||
'post_init_hook': 'post_init_hook',
|
'post_init_hook': 'post_init_hook',
|
||||||
'installable': True,
|
'installable': True,
|
||||||
'application': True,
|
'application': True,
|
||||||
'auto_install': True,
|
'auto_install': False,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,68 +6,87 @@
|
|||||||
<record id="tag_cn0_s" model="account.account.tag">
|
<record id="tag_cn0_s" model="account.account.tag">
|
||||||
<field name="name">不计销项税</field>
|
<field name="name">不计销项税</field>
|
||||||
<field name="applicability">taxes</field>
|
<field name="applicability">taxes</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
</record>
|
</record>
|
||||||
<record id="tag_cn0_p" model="account.account.tag">
|
<record id="tag_cn0_p" model="account.account.tag">
|
||||||
<field name="name">不计进项税</field>
|
<field name="name">不计进项税</field>
|
||||||
<field name="applicability">taxes</field>
|
<field name="applicability">taxes</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
</record>
|
</record>
|
||||||
<record id="tag_cn13_s" model="account.account.tag">
|
<record id="tag_cn13_s" model="account.account.tag">
|
||||||
<field name="name">增值税13%销项税</field>
|
<field name="name">增值税13%销项税</field>
|
||||||
<field name="applicability">taxes</field>
|
<field name="applicability">taxes</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
</record>
|
</record>
|
||||||
<record id="tag_cn13_p" model="account.account.tag">
|
<record id="tag_cn13_p" model="account.account.tag">
|
||||||
<field name="name">增值税13%进项税</field>
|
<field name="name">增值税13%进项税</field>
|
||||||
<field name="applicability">taxes</field>
|
<field name="applicability">taxes</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
</record>
|
</record>
|
||||||
<record id="tag_cn09_ex" model="account.account.tag">
|
<record id="tag_cn09_ex" model="account.account.tag">
|
||||||
<field name="name">9%出口退税</field>
|
<field name="name">9%出口退税</field>
|
||||||
<field name="applicability">taxes</field>
|
<field name="applicability">taxes</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
</record>
|
</record>
|
||||||
<record id="tag_cn11_dept" model="account.account.tag">
|
<record id="tag_cn11_dept" model="account.account.tag">
|
||||||
<field name="name">11%离境退税</field>
|
<field name="name">11%离境退税</field>
|
||||||
<field name="applicability">taxes</field>
|
<field name="applicability">taxes</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
</record>
|
</record>
|
||||||
<record id="tag_cn08_dept" model="account.account.tag">
|
<record id="tag_cn08_dept" model="account.account.tag">
|
||||||
<field name="name">8%离境退税</field>
|
<field name="name">8%离境退税</field>
|
||||||
<field name="applicability">taxes</field>
|
<field name="applicability">taxes</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
</record>
|
</record>
|
||||||
<record id="tag_cn16_p" model="account.account.tag">
|
<record id="tag_cn16_p" model="account.account.tag">
|
||||||
<field name="name">增值税16%进项税</field>
|
<field name="name">增值税16%进项税</field>
|
||||||
<field name="applicability">taxes</field>
|
<field name="applicability">taxes</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
</record>
|
</record>
|
||||||
<record id="tag_cn16_s" model="account.account.tag">
|
<record id="tag_cn16_s" model="account.account.tag">
|
||||||
<field name="name">增值税16%销项税</field>
|
<field name="name">增值税16%销项税</field>
|
||||||
<field name="applicability">taxes</field>
|
<field name="applicability">taxes</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
</record>
|
</record>
|
||||||
<record id="tag21" model="account.account.tag">
|
<record id="tag21" model="account.account.tag">
|
||||||
<field name="name">银行专用</field>
|
<field name="name">银行专用</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
</record>
|
</record>
|
||||||
<record id="tag22" model="account.account.tag">
|
<record id="tag22" model="account.account.tag">
|
||||||
<field name="name">证券专用</field>
|
<field name="name">证券专用</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
</record>
|
</record>
|
||||||
<record id="tag23" model="account.account.tag">
|
<record id="tag23" model="account.account.tag">
|
||||||
<field name="name">金融共用</field>
|
<field name="name">金融共用</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
</record>
|
</record>
|
||||||
<record id="tag24" model="account.account.tag">
|
<record id="tag24" model="account.account.tag">
|
||||||
<field name="name">保险专用</field>
|
<field name="name">保险专用</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
</record>
|
</record>
|
||||||
<record id="tag25" model="account.account.tag">
|
<record id="tag25" model="account.account.tag">
|
||||||
<field name="name">银行和保险共用</field>
|
<field name="name">银行和保险共用</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
</record>
|
</record>
|
||||||
<record id="tag26" model="account.account.tag">
|
<record id="tag26" model="account.account.tag">
|
||||||
<field name="name">农业专用</field>
|
<field name="name">农业专用</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
</record>
|
</record>
|
||||||
<record id="tag27" model="account.account.tag">
|
<record id="tag27" model="account.account.tag">
|
||||||
<field name="name">租赁专用</field>
|
<field name="name">租赁专用</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
</record>
|
</record>
|
||||||
<record id="tag28" model="account.account.tag">
|
<record id="tag28" model="account.account.tag">
|
||||||
<field name="name">石油天然气开采专用</field>
|
<field name="name">石油天然气开采专用</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
</record>
|
</record>
|
||||||
<record id="tag29" model="account.account.tag">
|
<record id="tag29" model="account.account.tag">
|
||||||
<field name="name">银行和证券共用</field>
|
<field name="name">银行和证券共用</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
</record>
|
</record>
|
||||||
<record id="tag30" model="account.account.tag">
|
<record id="tag30" model="account.account.tag">
|
||||||
<field name="name">建造承包商专用</field>
|
<field name="name">建造承包商专用</field>
|
||||||
|
<field name="country_id" ref="base.cn"/>
|
||||||
</record>
|
</record>
|
||||||
</data>
|
</data>
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ Default country, timezone, currency, partner...
|
|||||||
2. 客户加简称,地址显示中文化,客户编码显示优先
|
2. 客户加简称,地址显示中文化,客户编码显示优先
|
||||||
3. 客户地址显示增加手机号与电话号码
|
3. 客户地址显示增加手机号与电话号码
|
||||||
4. 货币处理,增加排序显示
|
4. 货币处理,增加排序显示
|
||||||
5. 修正产品类别的列表及m2o字段中不显示中文目录名的Bug
|
5. 修正品类的列表及m2o字段中不显示中文目录名的Bug
|
||||||
|
|
||||||
## app_contacts_superbar
|
## app_contacts_superbar
|
||||||
Browse contacts by company. Use for parent children tree list kanban navigator.
|
Browse contacts by company. Use for parent children tree list kanban navigator.
|
||||||
|
|||||||
Reference in New Issue
Block a user