@@ -28,7 +28,7 @@
|
||||
string="生成租金费用" invisible="1"/>
|
||||
<button name="action_generate_administrative_expenses" class="oe_link btn btn-primary" type="object"
|
||||
string="生成管理费用" invisible="1"/>
|
||||
<!-- <button name="action_copy_record1" type="object" string="拆分"/>-->
|
||||
<button name="action_copy_record1" type="object" string="拆分"/>
|
||||
</header>
|
||||
<sheet>
|
||||
<widget name="web_ribbon" title="新建" bg_color="text-bg-success"
|
||||
@@ -80,7 +80,7 @@
|
||||
<field name="title_address"/>
|
||||
<field name="handling_opinions"/>
|
||||
<field name="tenure_type" invisible="1"/>
|
||||
<field name="is_child_contract" invisible="1"/>
|
||||
<field name="is_child_contract" string="已拆分"/>
|
||||
<field name="is_contract" invisible="1"/>
|
||||
<field name="contract_source_id" invisible="not is_child_contract"/>
|
||||
<field name="condition" readonly="1" invisible="1"/>
|
||||
@@ -362,7 +362,7 @@
|
||||
<button name="button_lease_extension" type="object" class="btn-primary" string="续租"/>
|
||||
<button name="button_lease_return" type="object" class="btn-primary" string="退租"/>
|
||||
<button name="button_lease_change" type="object" class="btn-primary" string="变更"/>
|
||||
<!-- <button name="action_copy_record1" type="object" string="拆分"/>-->
|
||||
<button name="action_copy_record1" type="object" string="拆分"/>
|
||||
</header>
|
||||
<field name="name"/>
|
||||
<field name="contract_code" decoration-danger="is_equal"/>
|
||||
@@ -461,7 +461,7 @@
|
||||
<field name="department_id" invisible="1"/>
|
||||
<field name="name" readonly="0"/>
|
||||
<field name="use_address" readonly="0"/>
|
||||
<field name="is_child_contract" invisible="1"/>
|
||||
<field name="is_child_contract" string="已拆分"/>
|
||||
<field name="is_contract" invisible="1"/>
|
||||
<field name="contract_source_id" invisible="not is_child_contract"/>
|
||||
<field name="contact_state" invisible="1"/>
|
||||
|
||||
@@ -64,7 +64,7 @@ class HrPayrollStructure(models.Model):
|
||||
'category_id': category_id.id,
|
||||
'code': code,
|
||||
'amount_fix': amount,
|
||||
'struct_id': self.id.origin
|
||||
'struct_id': self.id
|
||||
})
|
||||
else:
|
||||
salary_id.write({
|
||||
|
||||
Reference in New Issue
Block a user