发票类型
This commit is contained in:
@@ -77,7 +77,7 @@ class YuthonProperty(models.Model):
|
||||
} if rec.lessee_id else "",
|
||||
"物业名称": rec.property_name or "",
|
||||
"产权证号": rec.title_deed or "",
|
||||
"发票类型": invoice_type_map.get(rec.invoice_type, ""),
|
||||
"发票类型": rec.lessee_id.invoicing_ids[0].invoicing_type_id.name if rec.lessee_id and rec.lessee_id.invoicing_ids else "",
|
||||
"税率": (
|
||||
lambda tr: (
|
||||
lambda v: f"{v:.1f}%" if v is not None else "0.0%"
|
||||
|
||||
Reference in New Issue
Block a user