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", "name": "Street name and number",
"summary": "Introduces separate fields for street name and street 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)", "author": "Therp BV,Odoo Community Association (OCA)",
"website": "https://github.com/oca/partner-contact", "website": "https://github.com/oca/partner-contact",
"category": 'Tools', "category": 'Tools',

2
partner_street_number/views/res_partner.xml

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

Loading…
Cancel
Save