添加功能
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
'wizard/medical_manage_wizard_viwes.xml',
|
||||
'wizard/reset_password_wizard_viwes.xml',
|
||||
'views/yuthon_hr_task_views.xml',
|
||||
'views/res_company_views.xml',
|
||||
],
|
||||
'assets': {
|
||||
'web.assets_backend': [
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<odoo>
|
||||
<record id="yuthon_hr_employee_view_company_form" model="ir.ui.view">
|
||||
<field name="name">yuthon.hr.employee.res.company.form</field>
|
||||
<field name="model">res.company</field>
|
||||
<field name="inherit_id" ref="base.view_company_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<!-- 确保分公司名称字段在标签点击弹窗场景下始终可编辑 -->
|
||||
<xpath expr="//field[@name='name']" position="attributes">
|
||||
<attribute name="readonly">0</attribute>
|
||||
<attribute name="invisible">0</attribute>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user