库存处增加批量调拨功能

This commit is contained in:
mgw
2024-06-06 15:44:20 +08:00
parent 81327f04de
commit 4459ed2e81
3 changed files with 32 additions and 6 deletions

View File

@@ -67,9 +67,10 @@ class JdEclp(models.Model):
"""
判断是否为出库单
"""
if self.name:
is_check_out = self.name.split('/')
self.check_out = is_check_out[1]
for record in self:
if record.name:
is_check_out = record.name.split('/')
record.check_out = is_check_out[1]
@api.depends('carrier_tracking_ref')
def query_bill_pdf(self):