Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
H
hh_ccs
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
贺阳
hh_ccs
Commits
ee5ef232
提交
ee5ef232
authored
3月 04, 2025
作者:
贺阳
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
导出报关数据的单位标题修改
完成节点判断优化
上级
b9208183
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
3 行增加
和
5 行删除
+3
-5
export_bl_and_package_xlsx.py
ccs_base/controllers/export_bl_and_package_xlsx.py
+2
-2
cc_bill_loading.py
ccs_connect_tiktok/models/cc_bill_loading.py
+1
-3
没有找到文件。
ccs_base/controllers/export_bl_and_package_xlsx.py
浏览文件 @
ee5ef232
...
...
@@ -60,7 +60,7 @@ class ExportBlAndPackageXlsx(http.Controller):
sheet1
.
write
(
good_index
,
26
,
good_item
.
item_name_en
or
''
)
# ITEM DESCRIPTION
sheet1
.
write
(
good_index
,
27
,
good_item
.
export_hs_code
or
''
)
# ITEM HS CODE
sheet1
.
write
(
good_index
,
28
,
good_item
.
quantity
)
# ITEM QUANTITY
sheet1
.
write
(
good_index
,
29
,
good_item
.
quantity_unit
or
''
)
# UNIT
VALUE
sheet1
.
write
(
good_index
,
29
,
good_item
.
quantity_unit
or
''
)
# UNIT
S
sheet1
.
write
(
good_index
,
30
,
good_item
.
item_total_price
)
# TOTAL VALUE
sheet1
.
write
(
good_index
,
31
,
good_item
.
item_vat
or
''
)
# VAT
sheet1
.
write
(
good_index
,
32
,
''
)
# SKU NUMBER
...
...
@@ -112,7 +112,7 @@ class ExportBlAndPackageXlsx(http.Controller):
sheet1
.
write
(
index
,
26
,
u'ITEM DESCRIPTION'
,
font_style
)
# ITEM DESCRIPTION
sheet1
.
write
(
index
,
27
,
u'ITEM HS CODE'
,
font_style
)
# ITEM HS CODE
sheet1
.
write
(
index
,
28
,
u'ITEM QUANTITY'
,
font_style
)
# ITEM QUANTITY
sheet1
.
write
(
index
,
29
,
u'UNIT
VALUE'
,
font_style
)
# UNIT VALUE
sheet1
.
write
(
index
,
29
,
u'UNIT
S'
,
font_style
)
# UNITS
sheet1
.
write
(
index
,
30
,
u'TOTAL VALUE'
,
font_style
)
# TOTAL VALUE
sheet1
.
write
(
index
,
31
,
u'VAT'
,
font_style
)
# VAT
sheet1
.
write
(
index
,
32
,
u'ONLINE SELLING PLACE'
,
font_style
)
# ONLINE SELLING PLACE
...
...
ccs_connect_tiktok/models/cc_bill_loading.py
浏览文件 @
ee5ef232
...
...
@@ -2,7 +2,6 @@ import aiohttp
import
asyncio
import
base64
import
certifi
import
json
import
logging
import
pytz
import
ssl
...
...
@@ -10,7 +9,6 @@ from datetime import datetime
from
datetime
import
timedelta
,
datetime
from
lxml
import
etree
from
odoo
import
models
,
fields
,
api
,
tools
,
_
from
odoo.exceptions
import
ValidationError
,
Warning
def
get_rfc339_time
(
utc_time
=
None
):
...
...
@@ -475,7 +473,7 @@ class CcBl(models.Model):
lambda
line
:
line
.
state
.
tk_code
==
'cb_imcustoms_start'
):
self
.
ccing_func
()
# 如果提单所有小包的清关节点变成“是完成节点”,则该提单状态变成已完成
if
all
(
line
.
state
.
is_done
for
line
in
self
.
ship_package_ids
):
if
all
(
line
.
state
.
is_done
for
line
in
self
.
ship_package_ids
)
and
self
.
unsync_package_count
<=
0
:
self
.
done_func
()
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论