This commit is contained in:
ivan deng
2018-12-14 07:16:41 +08:00
parent 34d1ec40e6
commit d5a93f5ba4

View File

@@ -7,15 +7,12 @@
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="arch" type="xml">
<xpath expr="//page[@name='sales_purchases']//field[@name='ref']" position="replace">
</xpath>
<!-- 客户编号设计在重要位置在ui层必填其它联系人type时不需要填 2017-10-22 -->
<!-- 客户编号设计在重要位置 -->
<xpath expr="//field[@name='type']" position="after">
<field name="ref" placeholder="e.g. VIP001" />
<field name="short_name"/>
<xpath expr="//field[@name='ref']" position="move"/>
</xpath>
<xpath expr="//field[@name='website']" position="attributes">
<attribute name="invisible">1</attribute>
<xpath expr="//field[@name='type']" position="after">
<field name="short_name"/>
</xpath>
<!-- 信用额度 -->
<xpath expr="//field[@name='category_id']" position="after">