Browse Source

Merge pull request #479 from StefanRijnhart/fix/partner_contact_street/8.0/unintentional_street_write

[FIX] Unintended trigger of 'street' inverse write function
8.0
Ronald Portier 5 years ago
committed by GitHub
parent
commit
9abc300289
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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