Files
app-odoo/app_mixin_name_en/views/res_partner_views.xml
Ivan Office d911f67b15 update misc
2023-09-13 04:18:03 +08:00

19 lines
893 B
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<!-- Partner Form视图用继承方式改写2018-11-21,ivan -->
<!--todo: 英文环境下不显示-->
<record id="app_view_partner_form" model="ir.ui.view">
<field name="name">app.res.partner.form</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="arch" type="xml">
<xpath expr="//span[@name='address_name']" position="before">
<!-- todo: 在英文环境不显示xml中可以直接调 env。或者是在原widget中加options如果无值时则显示同样的 name-->
<field name="name_en_US" place_holder="Default same as name, Input to set other"/>
</xpath>
</field>
</record>
</data>
</odoo>