Browse Source

[FIX] Unintended trigger of 'street' inverse write function

pull/479/head
Stefan Rijnhart 7 years ago
parent
commit
f005b94a44
  1. 2
      partner_street_number/__openerp__.py
  2. 2
      partner_street_number/views/res_partner.xml

2
partner_street_number/__openerp__.py

@ -21,7 +21,7 @@
{
"name": "Street name and number",
"summary": "Introduces separate fields for street name and street number.",
"version": "8.0.0.1.0",
"version": "8.0.1.0.0",
"author": "Therp BV,Odoo Community Association (OCA)",
"website": "https://github.com/oca/partner-contact",
"category": 'Tools',

2
partner_street_number/views/res_partner.xml

@ -24,6 +24,7 @@
<xpath expr="/form/sheet//div/field[@name='street']"
position="attributes">
<attribute name="invisible">1</attribute>
<attribute name="readonly">1</attribute>
</xpath>
<xpath expr="//form[@string='Contact']/sheet/group/div/field[@name='street']"
@ -40,6 +41,7 @@
<xpath expr="//form[@string='Contact']/sheet/group/div/field[@name='street']"
position="attributes">
<attribute name="invisible">1</attribute>
<attribute name="readonly">1</attribute>
</xpath>
<xpath expr="//field[@name='child_ids']" position="attributes">

Loading…
Cancel
Save