update app

This commit is contained in:
ivan deng
2019-12-24 03:54:04 +08:00
parent 55bea72afc
commit 6637966f9d
2 changed files with 5 additions and 4 deletions

View File

@@ -18,7 +18,7 @@
{
'name': "App base chinese中国化基本模块增强",
'version': '13.19.12.10',
'version': '13.19.12.24',
'author': 'Sunpop.cn',
'category': 'Base',
'website': 'https://www.sunpop.cn',

View File

@@ -33,9 +33,10 @@
</xpath>
<!-- res.partner联系人 form -->
<!--联系人,如果是个人类型,不允许其下再有联系人-->
<xpath expr="//notebook/page[1]" position="attributes">
<attribute name="attrs">{'invisible': [('is_company','!=', True)]}</attribute>
</xpath>
<!--调整,电商情况,一个人有多个地址-->
<!-- <xpath expr="//notebook/page[1]" position="attributes">-->
<!-- <attribute name="attrs">{'invisible': [('is_company','!=', True)]}</attribute>-->
<!-- </xpath>-->
<!-- 所有类型联系人都要填姓名 -->
<xpath expr="//page//field[@name='child_ids']//form[1]//field[@name='name']" position="attributes">
<attribute name="required">1</attribute>