diff --git a/yuthon_property_approval/views/inherit_yuthon_property_views.xml b/yuthon_property_approval/views/inherit_yuthon_property_views.xml index 5cd77ebee..c1012b70b 100644 --- a/yuthon_property_approval/views/inherit_yuthon_property_views.xml +++ b/yuthon_property_approval/views/inherit_yuthon_property_views.xml @@ -459,6 +459,7 @@ + diff --git a/yuthon_property_approval/wizard/property_reconciliation_wizard.py b/yuthon_property_approval/wizard/property_reconciliation_wizard.py index 2833094ef..f002c4efb 100644 --- a/yuthon_property_approval/wizard/property_reconciliation_wizard.py +++ b/yuthon_property_approval/wizard/property_reconciliation_wizard.py @@ -491,6 +491,9 @@ class PropertyReconciliationWizard(models.Model): ) if deposit_id: deposit_id.deposit_state = 'yes' + deposit_id.contract_id.contact_state = 'settle' + deposit_id.has_date = fields.Datetime.now() + deposit_id.contract_id.compute_is_has() receivable_id.write({ 'delivered1': receivable_id.delivered1 + line.amount,