@@ -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'
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user