添加功能

This commit is contained in:
李鹏宇
2025-10-13 18:42:57 +08:00
parent 094e196cbe
commit e480772af5
12 changed files with 180 additions and 69 deletions
@@ -12,7 +12,8 @@
</header>
</xpath>
<xpath expr="//field[@name='employee_id']" position="attributes">
<attribute name="widget">false</attribute>
<attribute name="widget">false</attribute>
<attribute name="options">"{'no_open': True}"</attribute>
</xpath>
<xpath expr="//field[@name='company_id']" position="attributes">
<attribute name="column_invisible">1</attribute>
@@ -27,7 +28,7 @@
<field name="termination_date"/>
</xpath>
<xpath expr="//field[@name='employee_id']" position="after">
<field name="contract_type_id" string="用工形式"/>
<field name="contract_type_id" string="用工形式" />
<field name="is_company" string="是否本公司" optional="hide"/>
</xpath>
<xpath expr="//field[@name='date_end']" position="attributes">
@@ -51,16 +52,19 @@
<xpath expr="//field[@name='structure_type_id'][@groups='!hr_contract.group_hr_contract_manager']" position="attributes">
<attribute name="domain">['|', ('country_id', '=', False), ('country_id', '=', company_country_id), ('company_id', '=', company_id)]</attribute>
<attribute name="string">职级</attribute>
<attribute name="options">"{'no_open': True}"</attribute>
</xpath>
<xpath expr="//field[@name='structure_type_id'][@groups='hr_contract.group_hr_contract_manager']" position="attributes">
<attribute name="domain">['|', ('country_id', '=', False), ('country_id', '=', company_country_id), ('company_id', '=', company_id)]</attribute>
<attribute name="string">职级</attribute>
<attribute name="options">"{'no_open': True}"</attribute>
</xpath>
<xpath expr="//page[@name='other']" position="attributes">
<attribute name="invisible">1</attribute>
</xpath>
<xpath expr="//field[@name='employee_id']" position="attributes">
<attribute name="widget">false</attribute>
<attribute name="options">"{'no_open': True}"</attribute>
</xpath>
<xpath expr="//field[@name='code']" position="after">
<field name="is_annual_salary"/>
@@ -75,7 +79,7 @@
<field name="termination_date"/>
<field name="reason_suspension" required="termination_date" invisible="not termination_date"/>
<field name="salary_day" invisible="not is_internship"/>
<field name="salary_group_id" options="{'no_create': True}"/>
<field name="salary_group_id" options="{'no_create': True, 'no_open': True}"/>
<field name="is_internship" invisible="1"/>
</xpath>
<xpath expr="//field[@name='resource_calendar_id']" position="attributes">
@@ -86,7 +90,7 @@
</xpath>
<xpath expr="//group[@name='top_info']" position="before">
<group string="甲方信息">
<field name="party_id"/>
<field name="party_id" options="{'no_open': True}"/>
<field name="representatives"/>
<field name="economy_type"/>
<field name="address"/>
+1
View File
@@ -15,6 +15,7 @@
'views/hr_leave_accrual_views.xml',
'views/yuthon_fixes_approval_views.xml',
'views/hr_leave_batch.xml',
'views/yuthon_breastfeed_leave_views.xml',
'views/yuthon_holiday_setting_views.xml',
'wizard/yuthon_fixes_wizard_views.xml',
'wizard/leave_allocation_wizard_views.xml',
@@ -14,4 +14,11 @@
<field name="padding">4</field>
<field name="company_id" eval="False"/>
</record>
<record id="yuthon_breastfeed_leave_sequence" model="ir.sequence">
<field name="name">哺乳编号</field>
<field name="code">yuthon_breastfeed_leave_code</field>
<field name="prefix">BR</field>
<field name="padding">4</field>
<field name="company_id" eval="False"/>
</record>
</odoo>
@@ -0,0 +1,29 @@
# -*- coding: utf-8 -*-
from odoo import models, fields, api
class YuthonBreastfeedLeave(models.Model):
_name = 'yuthon.breastfeed.leave'
_description = '哺乳假'
_inherit = ['soong.workflow.mixin', 'mail.thread.main.attachment', 'mail.activity.mixin']
name = fields.Char(string="标题")
code = fields.Char(string="编号",
default=lambda self: self.env['ir.sequence'].next_by_code('yuthon_breastfeed_leave_code'))
users_id = fields.Many2one('res.users', string="申请人", default=lambda self: self.env.user.id)
department_id = fields.Many2one(related='users_id.employee_id.department_id', string="部门")
company_id = fields.Many2one(related='users_id.company_id', string="公司")
baby_date = fields.Date(string="婴儿出生日期")
start_date = fields.Date(string="开始日期")
end_date = fields.Date(string="结束日期")
time_slot_selection = fields.Selection([('morning', '上午'), ('afternoon', '下午')], string="时间段")
work_end = fields.Boolean(string="结束")
urgency_level = fields.Selection([('normal', '普件'), ('urgent', '急件'), ('emergency', '特急件')], string='紧急度',
default='normal')
def _get_default_name_title(self):
return self._description if self._description else self._name
name_title = fields.Char(default=_get_default_name_title)
self_users_ids = fields.Many2many('res.users', string="当前经办人",
default=lambda self: [(6, 0, [self.env.user.id])])
+2 -1
View File
@@ -5,4 +5,5 @@ access_yuthon_fixes_approval,yuthon_fixes_approval,model_yuthon_fixes_approval,b
access_yuthon_fixes_wizard,yuthon_fixes_wizard,model_yuthon_fixes_wizard,base.group_user,1,1,1,1
access_yuthon_holiday_setting,yuthon_holiday_setting,model_yuthon_holiday_setting,base.group_user,1,1,1,1
access_leave_allocation_wizard,leave_allocation_wizard,model_leave_allocation_wizard,base.group_user,1,1,1,1
access_yuthon_leave_wizard,yuthon_leave_wizard,model_yuthon_leave_wizard,base.group_user,1,1,1,1
access_yuthon_leave_wizard,yuthon_leave_wizard,model_yuthon_leave_wizard,base.group_user,1,1,1,1
access_yuthon_breastfeed_leave,yuthon_breastfeed_leave, model_yuthon_breastfeed_leave,base.group_user,1,1,1,1
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
5 access_yuthon_fixes_wizard yuthon_fixes_wizard model_yuthon_fixes_wizard base.group_user 1 1 1 1
6 access_yuthon_holiday_setting yuthon_holiday_setting model_yuthon_holiday_setting base.group_user 1 1 1 1
7 access_leave_allocation_wizard leave_allocation_wizard model_leave_allocation_wizard base.group_user 1 1 1 1
8 access_yuthon_leave_wizard yuthon_leave_wizard model_yuthon_leave_wizard base.group_user 1 1 1 1
9 access_yuthon_breastfeed_leave yuthon_breastfeed_leave model_yuthon_breastfeed_leave base.group_user 1 1 1 1
@@ -0,0 +1,68 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<record id="view_yuthon_breastfeed_leave_tree" model="ir.ui.view">
<field name="name">yuthon.breastfeed.leave.tree</field>
<field name="model">yuthon.breastfeed.leave</field>
<field name="arch" type="xml">
<tree string="哺乳假">
<field name="name"/>
<field name="users_id"/>
<field name="start_date"/>
<field name="end_date"/>
</tree>
</field>
</record>
<record id="view_yuthon_breastfeed_leave_form" model="ir.ui.view">
<field name="name">yuthon.breastfeed.leave.form</field>
<field name="model">yuthon.breastfeed.leave</field>
<field name="arch" type="xml">
<form string="哺乳假">
<sheet>
<widget name="web_ribbon" title="普件" bg_color="text-bg-success"
invisible="urgency_level != 'normal'"/>
<widget name="web_ribbon" title="急件" bg_color="text-bg-warning"
invisible="urgency_level != 'urgent'"/>
<widget name="web_ribbon" title="特级" bg_color="text-bg-danger"
invisible="urgency_level != 'emergency'"/>
<group col="4">
<group>
<field name="code" string="流水号" readonly="1"/>
</group>
<group>
<field name="urgency_level" readonly="1"/>
</group>
</group>
<div class="col-12 text-center">
<h1>
<field name="name_title" readonly="1"/>
</h1>
</div>
<group string="审批事项">
<group>
<field name="work_end" invisible="1"/>
<field name="name"/>
<field name="users_id"/>
<field name="baby_date"/>
</group>
</group>
<group col="3">
<group>
<field name="start_date"/>
</group>
<group>
<field name="end_date"/>
</group>
<group>
<field name="time_slot_selection"/>
</group>
</group>
</sheet>
</form>
</field>
</record>
<record id="yuthon_breastfeed_leave_action" model="ir.actions.act_window">
<field name="name">哺乳假</field>
<field name="res_model">yuthon.breastfeed.leave</field>
<field name="view_mode">tree,form</field>
</record>
</odoo>
@@ -34,7 +34,7 @@
<field name="number" readonly="1"/>
<field name="user_number" readonly="1"/>
<field name="contract_type_id" options="{'no_open': True}"/>
<field name="parent_id" readonly="1" options="{'no_open': True}" string="上级领导"/>
<field name="parent_id" readonly="1" options="{'no_open': True}" string="上级领导"/>
</group>
</group>
<notebook>
@@ -117,6 +117,7 @@
</xpath>
<xpath expr="//field[@name='resource_calendar_id']" position="attributes">
<attribute name="readonly">1</attribute>
<attribute name="options">"{'no_open': True}"</attribute>
</xpath>
<xpath expr="//field[@name='tz']" position="attributes">
<attribute name="readonly">1</attribute>
@@ -126,8 +127,8 @@
</xpath>
<xpath expr="//field[@name='work_email']" position="after">
<field name="user_state"/>
<field name="user_role_id" domain="[('company_id', '=', company_id)]"/>
<field name="user_role_ids" widget="many2many_tags" domain="[('company_id', '=', company_id)]"/>
<field name="user_role_id" domain="[('company_id', '=', company_id), ('is_main', '=', True)]" options="{'no_open': True}"/>
<field name="user_role_ids" widget="many2many_tags" domain="[('company_id', '=', company_id), ('is_main', '!=', True)]" options="{'no_open': True}"/>
</xpath>
<xpath expr="//field[@name='department_id']" position="attributes">
<attribute name="widget">ztree_select</attribute>
@@ -14,7 +14,7 @@
<field name="number" column_invisible="1"/>
<field name="name" required="1"/>
<field name="epitope_values" column_invisible="1"/>
<field name="epitope_values_id" domain="[('type', '=', 'ammeter')]"/>
<field name="epitope_values_id" domain="[('type', '=', 'ammeter')]" />
<field name="lessee_id" options="{'no_create': True}"/>
<field name="yuthon_property_ids" string="物业信息" widget="many2many_tags"/>
<field name="unit_number"/>
@@ -40,11 +40,11 @@
<field name="name"/>
<field name="unit_number"/>
<field name="type"/>
<field name="lessee_id" options="{'no_create': True}"/>
<field name="epitope_values_id" domain="[('type', '=', 'ammeter')]"/>
<field name="lessee_id" options="{'no_create': True}" />
<field name="epitope_values_id" domain="[('type', '=', 'ammeter')]" options="{'no_open': True}"/>
<field name="gauge_magnification" readonly="1"/>
<field name="maximum_count"/>
<field name="yuthon_property_ids" string="物业信息" widget="many2many_tags"/>
<field name="yuthon_property_ids" string="物业信息" widget="many2many_tags" options="{'no_open': True}"/>
</group>
<group>
<field name="start_time"/>
@@ -57,10 +57,10 @@
<page string="抄表明细">
<field name="line_ids" string=" ">
<tree editable="bottom">
<field name="archives_id"/>
<field name="epitope_values_id" domain="[('type', '=', 'ammeter')]"/>
<field name="lessee_id" options="{'no_create': True}"/>
<field name="yuthon_property_ids" string="物业信息" widget="many2many_tags"/>
<field name="archives_id" options="{'no_open': True}"/>
<field name="epitope_values_id" domain="[('type', '=', 'ammeter')]" options="{'no_open': True}"/>
<field name="lessee_id" options="{'no_create': True, 'no_open': True}"/>
<field name="yuthon_property_ids" string="物业信息" widget="many2many_tags" options="{'no_open': True}"/>
<field name="last_meter" />
<field name="last_dosage"/>
<field name="last_read" readonly="1"/>
@@ -102,9 +102,9 @@
<field name="unit"/>
<field name="receivables"/>
<field name="number" column_invisible="1"/>
<field name="yuthon_property_ids" string="地址" readonly="1" widget="many2many_tags" />
<field name="lessee_id" options="{'no_create': True}" readonly="1"/>
<field name="epitope_values_id" domain="[('type', '=', 'watermeter')]"/>
<field name="yuthon_property_ids" string="地址" readonly="1" widget="many2many_tags" options="{'no_open': True}"/>
<field name="lessee_id" options="{'no_create': True, 'no_open': True}" readonly="1"/>
<field name="epitope_values_id" domain="[('type', '=', 'watermeter')]" options="{'no_open': True}"/>
<field name="last_meter" readonly="1"/>
<field name="last_dosage" readonly="1"/>
<field name="line_loss" column_invisible="1"/>
@@ -16,9 +16,9 @@
<field name="number" column_invisible="1" />
<field name="name" required="1" />
<field name="epitope_values" column_invisible="1" />
<field name="epitope_values_id" domain="[('type', '=', 'watermeter')]" />
<field name="lessee_id" options="{'no_create': True}" />
<field name="yuthon_property_ids" string="物业信息" widget="many2many_tags" />
<field name="epitope_values_id" domain="[('type', '=', 'watermeter')]" options="{'no_open': True}"/>
<field name="lessee_id" options="{'no_create': True, 'no_open': True}"/>
<field name="yuthon_property_ids" string="物业信息" widget="many2many_tags" options="{'no_open': True}"/>
<field name="unit_number" />
<field name="gauge_magnification" readonly="1" />
<field name="type" />
@@ -26,7 +26,7 @@
<field name="end_time" />
<field name="water_state" />
<field name="remarks" />
<field name="employee_ids" widget="many2many_tags" options="{'no_create': True}" />
<field name="employee_ids" widget="many2many_tags" options="{'no_create': True}"/>
<field name="maximum_count" />
<button name="open_record" string="详情" type="object" class="oe_highlight" />
</tree>
@@ -45,11 +45,11 @@
<field name="type" />
<field name="gauge_magnification" readonly="1" />
<field name="maximum_count" />
<field name="lessee_id" options="{'no_create': True}" />
<field name="lessee_id" options="{'no_create': True, 'no_open': True}"/>
<field name="employee_ids" widget="many2many_tags"
options="{'no_create': True}" />
<field name="epitope_values_id" domain="[('type', '=', 'watermeter')]" />
<field name="yuthon_property_ids" string="物业信息" widget="many2many_tags" />
<field name="epitope_values_id" domain="[('type', '=', 'watermeter')]" options="{'no_create': True, 'no_open': True}"/>
<field name="yuthon_property_ids" string="物业信息" widget="many2many_tags" options="{'no_create': True, 'no_open': True}"/>
</group>
<group>
<field name="start_time" />
@@ -64,10 +64,10 @@
<tree editable="bottom">
<field name="water_id" />
<field name="epitope_values_id"
domain="[('type', '=', 'watermeter')]" />
<field name="lessee_id" options="{'no_create': True}" />
domain="[('type', '=', 'watermeter')]" options="{'no_create': True, 'no_open': True}"/>
<field name="lessee_id" options="{'no_create': True, 'no_open': True}" />
<field name="yuthon_property_ids" string="物业信息"
widget="many2many_tags" />
widget="many2many_tags" options="{'no_create': True, 'no_open': True}"/>
<field name="last_meter" />
<field name="last_dosage" />
<field name="last_read" readonly="1" />
@@ -109,13 +109,13 @@
<field name="unit"/>
<field name="receivables"/>
<field name="number" column_invisible="1"/>
<field name="yuthon_property_ids" string="地址" readonly="1" widget="many2many_tags" />
<field name="lessee_id" options="{'no_create': True}" readonly="1"/>
<field name="epitope_values_id" domain="[('type', '=', 'watermeter')]"/>
<field name="yuthon_property_ids" string="地址" readonly="1" widget="many2many_tags" options="{'no_create': True, 'no_open': True}"/>
<field name="lessee_id" options="{'no_create': True, 'no_open': True}" readonly="1"/>
<field name="epitope_values_id" domain="[('type', '=', 'watermeter')]" options="{'no_create': True, 'no_open': True}"/>
<field name="last_meter" readonly="1"/>
<field name="last_dosage" readonly="1"/>
<field name="line_loss"/>
<field name="employee_ids" widget="many2many_tags" options="{'no_create': True}" readonly="1"/>
<field name="employee_ids" widget="many2many_tags" options="{'no_create': True, 'no_open': True}" readonly="1"/>
</tree>
</field>
</record>
+14 -14
View File
@@ -55,7 +55,7 @@
<field name="name" placeholder="资产名称"/>
</h1>
<h2>
<field name="referred_id" placeholder="地段"/>
<field name="referred_id" placeholder="地段" options="{'no_open': True}"/>
</h2>
</div>
<div class="col-6 o_employee_avatar m-0 p-0">
@@ -67,8 +67,8 @@
<group string="基本信息">
<group>
<field name="users_id" invisible="1"/>
<field name="property_building_id" domain="[('type', '=', 'building')]"/>
<field name="property_floor_id" domain="[('type', '=', 'floor'), ('parent_id', '=', property_building_id)]"/>
<field name="property_building_id" domain="[('type', '=', 'building')]" options="{'no_open': True}"/>
<field name="property_floor_id" domain="[('type', '=', 'floor'), ('parent_id', '=', property_building_id)]" options="{'no_open': True}"/>
<field name="units"/>
<field name="property_orientation"/>
<field name="street"/>
@@ -80,7 +80,7 @@
<field name="company_id" invisible="1"/>
<field name="tenure_type" invisible="1"/>
<field name="precinct_id" invisible="1"/>
<field name="asset_type_id"/>
<field name="asset_type_id" options="{'no_open': True}"/>
<field name="management_area" invisible="1"/>
<field name="rent_area" invisible="1"/>
<field name="equity_area" invisible="1"/>
@@ -89,7 +89,7 @@
<field name="purpose_id" invisible="1"/>
<field name="admin_id" invisible="1"/>
<field name="lessee_id" invisible="1"/>
<field name="house_type_id"/>
<field name="house_type_id" options="{'no_open': True}"/>
<field name="property_source"/>
<field name="district"/>
<field name="live_room"/>
@@ -103,7 +103,7 @@
<group col="3">
<group>
<field name="is_message_fee" string="管理费"/>
<field name="message_standard_id" invisible="not is_message_fee"/>
<field name="message_standard_id" invisible="not is_message_fee" options="{'no_open': True}"/>
</group>
<group>
<field name="is_electricity_meter" string="电表"/>
@@ -118,11 +118,11 @@
<tree editable="bottom">
<button name="message_record" string="详情" type="object" class="btn-primary"/>
<field name="yuthon_property_id" column_invisible="1"/>
<field name="property_message_id"/>
<field name="owner_id"/>
<field name="property_message_id" options="{'no_open': True}"/>
<field name="owner_id" options="{'no_open': True}"/>
<field name="title_certificate"/>
<field name="equity_area"/>
<field name="registered_id"/>
<field name="registered_id" options="{'no_open': True}"/>
<field name="start_time"/>
<field name="end_date"/>
</tree>
@@ -188,7 +188,7 @@
<field name="produce_ids">
<tree editable="bottom">
<field name="yuthon_property_id" column_invisible="1"/>
<field name="produce_id"/>
<field name="produce_id" options="{'no_open': True}"/>
<field name="check_context"/>
<field name="check_results"/>
<field name="check_criteria"/>
@@ -244,9 +244,9 @@
<field name="water_meter_ids">
<tree editable="bottom">
<field name="yuthon_property_id" column_invisible="1"/>
<field name="property_meter_water_id"/>
<field name="property_meter_water_id" options="{'no_open': True}"/>
<field name="rate"/>
<field name="standard_id"/>
<field name="standard_id" options="{'no_open': True}"/>
<field name="installation_date"/>
<field name="demolition_date"/>
<field name="location"/>
@@ -257,9 +257,9 @@
<field name="energy_meter_ids">
<tree editable="bottom">
<field name="yuthon_property_id" column_invisible="1"/>
<field name="property_meter_archives_id"/>
<field name="property_meter_archives_id" options="{'no_open': True}"/>
<field name="rate"/>
<field name="standard_id"/>
<field name="standard_id" options="{'no_open': True}"/>
<field name="installation_date"/>
<field name="demolition_date"/>
<field name="location"/>
@@ -334,7 +334,7 @@
<field name="name">管理费列表</field>
<field name="res_model">property.management.list</field>
<field name="view_mode">tree,search</field>
<field name="domain">[('is_push', '=', False),('area', '!=', 0)]</field>
<field name="domain">[('is_push', '=', False), '|', ('area', '!=', 0), '|', ('contract_id.property_type', '=', 'guanggao'), ('contract_id.property_type', '=', 'guanzi')]</field>
<field name="context">{'search_default_group_admin_id': True, 'search_default_group_due_date': True}</field>
</record>
<!--应收账单 -->
@@ -81,7 +81,7 @@
<field name="state" invisible="1"/>
<field name="work_end" invisible="1"/>
<field name="rent_company" string="出租方" readonly="1" invisible="contract_sort != 'property'"/>
<field name="lessee_id"/>
<field name="lessee_id" options="{'no_open': True}"/>
<!-- <field name="lessor_id" invisible="1"/>-->
<field name="users_id" readonly="1" invisible="1"/>
<field name="department_id" invisible="1"/>
@@ -107,8 +107,8 @@
<field name="lease_ids" string=" ">
<tree editable="bottom" create="false">
<field name="lease_id" column_invisible="1"/>
<field name="address_id"/>
<field name="admin_line_id"/>
<field name="address_id" options="{'no_open': True}"/>
<field name="admin_line_id" options="{'no_open': True}"/>
<field name="message_unit"/>
<field name="property_area"/>
<field name="evaluate_unit_price"/>
@@ -121,7 +121,7 @@
<field name="invoicing_type"/>
<field name="invoicing_begins"/>
<field name="tax_number"/>
<field name="industry_id"/>
<field name="industry_id" options="{'no_open': True}"/>
</group>
<group>
<field name="contact"/>
@@ -145,8 +145,8 @@
<tree editable="bottom">
<field name="subset_id" column_invisible="1"/>
<field name="name"/>
<field name="contract_id"/>
<field name="lessee_id"/>
<field name="contract_id" options="{'no_open': True}"/>
<field name="lessee_id" options="{'no_open': True}"/>
<field name="rental_purposes"/>
</tree>
</field>
@@ -280,9 +280,9 @@
<field name="water_fee_ids" string=" ">
<tree editable="bottom">
<field name="contract_id" column_invisible="1"/>
<field name="property_meter_water_id"/>
<field name="property_meter_water_id" options="{'no_open': True}"/>
<field name="rate"/>
<field name="standard_id"/>
<field name="standard_id" options="{'no_open': True}"/>
<field name="installation_date"/>
<field name="demolition_date"/>
<field name="location"/>
@@ -293,9 +293,9 @@
<field name="electricity_fee_ids" string=" ">
<tree editable="bottom">
<field name="contract_id" column_invisible="1"/>
<field name="property_meter_archives_id"/>
<field name="property_meter_archives_id" options="{'no_open': True}"/>
<field name="rate"/>
<field name="standard_id"/>
<field name="standard_id" options="{'no_open': True}"/>
<field name="installation_date"/>
<field name="demolition_date"/>
<field name="location"/>
@@ -479,7 +479,7 @@
<field name="contract_id" invisible="contract_type != 'lease_renewal'"/>
<field name="rent_company" string="出租方" invisible="contract_sort != 'property'"/>
<field name="company_id" invisible="1"/>
<field name="lessee_id" />
<field name="lessee_id" options="{'no_open': True}"/>
<field name="lessee_name" invisible="1"/>
<field name="users_id" invisible="1"/>
<field name="department_id" invisible="1"/>
@@ -506,9 +506,9 @@
<field name="lease_ids" string=" ">
<tree editable="bottom" create="false">
<field name="lease_id" column_invisible="1"/>
<field name="address_id"/>
<field name="address_id" options="{'no_open': True}"/>
<field name="property_area"/>
<field name="admin_line_id"/>
<field name="admin_line_id" options="{'no_open': True}"/>
<field name="message_unit"/>
<field name="property_area"/>
<field name="evaluate_unit_price"/>
@@ -522,7 +522,7 @@
<field name="invoicing_type"/>
<field name="invoicing_begins"/>
<field name="tax_number"/>
<field name="industry_id"/>
<field name="industry_id" options="{'no_open': True}"/>
</group>
<group>
<field name="contact"/>
@@ -545,8 +545,8 @@
<tree editable="bottom">
<field name="subset_id" column_invisible="1"/>
<field name="name"/>
<field name="contract_id"/>
<field name="lessee_id"/>
<field name="contract_id" options="{'no_open': True}"/>
<field name="lessee_id" options="{'no_open': True}"/>
<field name="rental_purposes"/>
</tree>
</field>
@@ -707,7 +707,7 @@
<field name="bank_statements_ids" string=" ">
<tree editable="bottom" delete="false">
<field name="start_time"/>
<field name="company_id"/>
<field name="company_id" options="{'no_open': True}"/>
<field name="name"/>
<field name="name_account"/>
<field name="contract_account"/>
@@ -723,9 +723,9 @@
<field name="water_fee_ids" string=" ">
<tree editable="bottom">
<field name="contract_id" column_invisible="1"/>
<field name="property_meter_water_id"/>
<field name="property_meter_water_id" options="{'no_open': True}"/>
<field name="rate"/>
<field name="standard_id"/>
<field name="standard_id" options="{'no_open': True}"/>
<field name="installation_date"/>
<field name="demolition_date"/>
<field name="location"/>
@@ -736,9 +736,9 @@
<field name="electricity_fee_ids" string=" ">
<tree editable="bottom">
<field name="contract_id" column_invisible="1"/>
<field name="property_meter_archives_id"/>
<field name="property_meter_archives_id" options="{'no_open': True}"/>
<field name="rate"/>
<field name="standard_id"/>
<field name="standard_id" options="{'no_open': True}"/>
<field name="installation_date"/>
<field name="demolition_date"/>
<field name="location"/>