!11409 !11408 前期欠收报表

Merge pull request !11409 from 李鹏宇/dev
This commit is contained in:
李鹏宇
2026-05-09 12:18:19 +00:00
committed by Gitee
2 changed files with 2 additions and 1 deletions
@@ -142,6 +142,7 @@ class PreArrearsReport(models.Model):
'model': 'property.lease.contract',
'id': contract.id,
'display_name': contract.contract_code,
'view_id': self.env.ref('yuthon_property_approval.view_property_lease_contract_form1').id,
} if contract else "",
"物业名称": property_val,
"承租方名称": {
@@ -216,7 +216,7 @@ class ReceivableReport extends Component {
type: 'ir.actions.act_window',
res_model: model,
res_id: id,
views: [[false, 'form'], [false, 'search']],
views: [[view_id || false, 'form'], [false, 'search']],
target: 'new'
});
}