@@ -304,7 +304,7 @@ class PropertyLeaseContract(models.Model):
|
||||
|
||||
name_title = fields.Char(default=_get_default_name_title)
|
||||
|
||||
contract_sort = fields.Selection([('property', '物业'), ('guanggao', '广告位'), ('guanzi', '管子间'), ('room', '机房'), ('base_station','基站'), ('other', '其他')], string="资产类型", default='property')
|
||||
contract_sort = fields.Selection([('property', '物业'), ('guanggao', '广告位'),('parking', '停车场'), ('guanzi', '管子间'), ('room', '机房'), ('base_station','基站'), ('other', '其他')], string="资产类型", default='property')
|
||||
|
||||
@api.depends('lease_ids.address_id.title_deed')
|
||||
def _compute_title_information(self):
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
<field name="bank_id" invisible="1"/>
|
||||
<field name="available_property_ids" widget="many2many_tags" invisible="1"/>
|
||||
<field name="available_contract_ids" widget="many2many_tags" invisible="1"/>
|
||||
<field name="property_ids" widget="many2many_tags" domain="[('id', 'in', available_property_ids)]"/>
|
||||
<field name="contract_ids" widget="many2many_tags" domain="[('id', 'in', available_contract_ids)]"/>
|
||||
<field name="property_ids" widget="many2many_tags" domain="[('id', 'in', available_property_ids)]" options="{'no_create': True}"/>
|
||||
<field name="contract_ids" widget="many2many_tags" domain="[('id', 'in', available_contract_ids)]" options="{'no_create': True}"/>
|
||||
</group>
|
||||
</sheet>
|
||||
<footer>
|
||||
|
||||
@@ -36,8 +36,8 @@ class PropertyReconciliationWizard(models.Model):
|
||||
rec.lessee_ids = rec.bank_id.lessee_ids.ids
|
||||
rec.name_account = rec.bank_id.name_account
|
||||
rec.remake = rec.bank_id.remake
|
||||
rec.amount_water_been = rec.bank_id.no_amount
|
||||
rec.amount_water = rec.bank_id.yes_amount
|
||||
rec.amount_water_been = rec.bank_id.yes_amount
|
||||
rec.amount_water = rec.bank_id.no_amount
|
||||
|
||||
@api.onchange('reconciliation_line_ids', 'actual_total')
|
||||
def _onchange_amount_reconciled(self):
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
<group/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="amount_reconciled"/>
|
||||
<field name="amount_reconciled" readonly="1"/>
|
||||
<field name="remake" readonly="1"/>
|
||||
</group>
|
||||
<notebook>
|
||||
|
||||
Reference in New Issue
Block a user