mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
fix #I67W3Y app_base_chinese可用
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Created on 2018-11-05
|
||||
# Created on 2023-02-02
|
||||
# author: 广州尚鹏,https://www.sunpop.cn
|
||||
# email: 300883@qq.com
|
||||
# resource of Sunpop
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
{
|
||||
'name': "App base chinese,中国化基本模块增强",
|
||||
'version': '13.21.01.02',
|
||||
'version': '16.23.02.02',
|
||||
'author': 'Sunpop.cn',
|
||||
'category': 'Base',
|
||||
'website': 'https://www.sunpop.cn',
|
||||
@@ -67,7 +67,7 @@
|
||||
'views/sale_order_views.xml',
|
||||
'views/account_move_views.xml',
|
||||
'views/ir_default_views.xml',
|
||||
'views/templates.xml',
|
||||
# 'views/templates.xml',
|
||||
'wizard/sale_make_invoice_advance_views.xml',
|
||||
'data/ir_default_data.xml',
|
||||
'data/base_data.xml',
|
||||
@@ -80,6 +80,11 @@
|
||||
'data/stock_location_data.xml',
|
||||
'data/sales_team_data.xml',
|
||||
],
|
||||
'assets': {
|
||||
'web.assets_backend': [
|
||||
'app_base_chinese/static/src/scss/app_style.scss',
|
||||
]
|
||||
},
|
||||
'demo': [
|
||||
],
|
||||
'test': [
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 13.0+e\n"
|
||||
"Project-Id-Version: Odoo Server 16.0-20221228\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2020-04-10 18:20+0000\n"
|
||||
"PO-Revision-Date: 2020-04-10 18:20+0000\n"
|
||||
"POT-Creation-Date: 2023-02-02 10:28+0000\n"
|
||||
"PO-Revision-Date: 2023-02-02 10:28+0000\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@@ -21,9 +21,9 @@ msgid "Active"
|
||||
msgstr "激活"
|
||||
|
||||
#. module: app_base_chinese
|
||||
#: model:ir.model,name:app_base_chinese.model_base
|
||||
msgid "Base"
|
||||
msgstr "基础"
|
||||
#: model:ir.model,name:app_base_chinese.model_res_company
|
||||
msgid "Companies"
|
||||
msgstr "公司"
|
||||
|
||||
#. module: app_base_chinese
|
||||
#: model:ir.model.fields,field_description:app_base_chinese.field_product_category__complete_name
|
||||
@@ -50,12 +50,6 @@ msgstr "币种"
|
||||
msgid "Determine the display order. Sort ascending."
|
||||
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
|
||||
#: model_terms:ir.ui.view,arch_db:app_base_chinese.app_view_sale_advance_payment_inv
|
||||
msgid "FaPiao / Invoice Orders"
|
||||
@@ -125,6 +119,15 @@ msgid "Tax Group"
|
||||
msgstr "税组"
|
||||
|
||||
#. module: app_base_chinese
|
||||
#: model:ir.sequence,name:app_base_chinese.sequence_product_category_normal
|
||||
msgid "产品目录常规编号规则"
|
||||
#. odoo-javascript
|
||||
#: code:addons/app_base_chinese/static/src/xml/views.xml:0
|
||||
#, python-format
|
||||
msgid "性能原因,只支持 200 条记录的显示"
|
||||
msgstr ""
|
||||
|
||||
#. module: app_base_chinese
|
||||
#. odoo-javascript
|
||||
#: code:addons/app_base_chinese/static/src/xml/views.xml:0
|
||||
#, python-format
|
||||
msgid "记录没有树状结构"
|
||||
msgstr ""
|
||||
|
||||
@@ -9,6 +9,4 @@ _logger = logging.getLogger(__name__)
|
||||
class ProductCategory(models.Model):
|
||||
_inherit = "product.category"
|
||||
|
||||
complete_name = fields.Char(
|
||||
'Complete Name', compute='_compute_complete_name',
|
||||
store=True, translate=True)
|
||||
complete_name = fields.Char(translate=True)
|
||||
|
||||
@@ -7,7 +7,7 @@ from odoo.exceptions import UserError, ValidationError
|
||||
class ResPartner(models.Model):
|
||||
_inherit = 'res.partner'
|
||||
|
||||
name = fields.Char(index=True, translate=True)
|
||||
name = fields.Char(translate=True)
|
||||
short_name = fields.Char('Short Name') # 简称
|
||||
fax = fields.Char('Fax') # 简称
|
||||
|
||||
|
||||
@@ -9,4 +9,4 @@ _logger = logging.getLogger(__name__)
|
||||
class Location(models.Model):
|
||||
_inherit = "stock.location"
|
||||
|
||||
complete_name = fields.Char("Full Location Name", compute='_compute_complete_name', store=True, translate=True)
|
||||
complete_name = fields.Char(translate=True)
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<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>
|
||||
<div class="oe_row">
|
||||
<h3>Lastest update: v13.20.04.11</h3>
|
||||
<h3>Lastest update: v16.23.02.02</h3>
|
||||
<div class="oe_span12">
|
||||
<img class="oe_demo oe_screenshot" src="banner.jpg">
|
||||
</div>
|
||||
|
||||
@@ -97,7 +97,7 @@
|
||||
<record id="app_view_partner_short_form" model="ir.ui.view">
|
||||
<field name="name">app.res.partner.form</field>
|
||||
<field name="model">res.partner</field>
|
||||
<field name="inherit_id" ref="base.view_partner_short_form"/>
|
||||
<field name="inherit_id" ref="base.view_partner_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='street']" position="before">
|
||||
<xpath expr="//field[@name='country_id']" position="move"/>
|
||||
@@ -154,7 +154,7 @@
|
||||
<xpath expr="//templates" position="before">
|
||||
<field name="credit_limit"/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('oe_kanban_details')]/ul" position="inside">
|
||||
<xpath expr="//div[hasclass('oe_kanban_details')]/div/ul" position="inside">
|
||||
<li t-if="record.credit_limit and record.credit_limit.raw_value">
|
||||
Credit:<field name="credit_limit"/>
|
||||
</li>
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="_assets_backend" name="app_base_chinese assets backend" inherit_id="web.assets_backend">
|
||||
<xpath expr="//link[last()]" position="after">
|
||||
<link rel="stylesheet" type="text/scss" href="/app_base_chinese/static/src/scss/app_style.scss"/>
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user