添加功能
This commit is contained in:
@@ -459,6 +459,7 @@
|
||||
<field name="contract_id" string="合同"/>
|
||||
<field name="company_id"/>
|
||||
<field name="original_amount"/>
|
||||
<field name="deposit_state"/>
|
||||
<group expand="0" string="group_by">
|
||||
<filter name="group_company_id" string="公司" context="{'group_by':'company_id'}"/>
|
||||
<filter name="group_is_reconciliation" string="对账" context="{'group_by':'is_reconciliation'}"/>
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user