Browse Source

Port partner_external_maps to v9, contributed by Wim Audenaert

pull/237/head
Alexis de Lattre 9 years ago
parent
commit
5867e5b6ff
  1. 5
      README.md
  2. 2
      partner_external_maps/__init__.py
  3. 6
      partner_external_maps/__openerp__.py
  4. 2
      partner_external_maps/partner_view.xml
  5. 2
      partner_external_maps/post_install.py

5
README.md

@ -24,6 +24,7 @@ addon | version | summary
[partner_contact_in_several_companies](partner_contact_in_several_companies/) | 9.0.1.0.0 | Allow to have one contact in several partners [partner_contact_in_several_companies](partner_contact_in_several_companies/) | 9.0.1.0.0 | Allow to have one contact in several partners
[partner_contact_nationality](partner_contact_nationality/) | 9.0.1.0.0 | Add nationality field to contacts [partner_contact_nationality](partner_contact_nationality/) | 9.0.1.0.0 | Add nationality field to contacts
[partner_contact_personal_information_page](partner_contact_personal_information_page/) | 9.0.1.0.0 | Add a page to contacts form to put personal information [partner_contact_personal_information_page](partner_contact_personal_information_page/) | 9.0.1.0.0 | Add a page to contacts form to put personal information
[partner_external_maps](partner_external_maps/) | 9.0.0.1.0 | Add Map and Map Routing buttons on partner form to open GMaps, OSM, Bing and others
Unported addons Unported addons
--------------- ---------------
@ -41,7 +42,11 @@ addon | version | summary
[partner_auto_salesman](partner_auto_salesman/) | 8.0.1.0.0 (unported) | Partner auto salesman [partner_auto_salesman](partner_auto_salesman/) | 8.0.1.0.0 (unported) | Partner auto salesman
[partner_contact_address_detailed](partner_contact_address_detailed/) | 8.0.1.0.0 (unported) | All address data in summarized contact form [partner_contact_address_detailed](partner_contact_address_detailed/) | 8.0.1.0.0 (unported) | All address data in summarized contact form
[partner_contact_birthdate](partner_contact_birthdate/) | 8.0.1.0.0 (unported) | Contact's birthdate [partner_contact_birthdate](partner_contact_birthdate/) | 8.0.1.0.0 (unported) | Contact's birthdate
<<<<<<< 3398e80890c1e14aa3131baad1a5bf6f9ed6a96b
[partner_external_maps](partner_external_maps/) | 8.0.0.1.0 (unported) | Add Map and Map Routing buttons on partner form to open GMaps, OSM, Bing and others [partner_external_maps](partner_external_maps/) | 8.0.0.1.0 (unported) | Add Map and Map Routing buttons on partner form to open GMaps, OSM, Bing and others
=======
[partner_contact_personal_information_page](partner_contact_personal_information_page/) | 8.0.1.0.0 (unported) | Add a page to contacts form to put personal information
>>>>>>> Port partner_external_maps to v9, contributed by Wim Audenaert
[partner_firstname](partner_firstname/) | 8.0.2.0.0 (unported) | Split first name and last name for non company partners [partner_firstname](partner_firstname/) | 8.0.2.0.0 (unported) | Split first name and last name for non company partners
[partner_helper](partner_helper/) | 8.0.0.1.0 (unported) | Partner Helper [partner_helper](partner_helper/) | 8.0.0.1.0 (unported) | Partner Helper
[partner_relations](partner_relations/) | 8.0.1.1.0 (unported) | Partner relations [partner_relations](partner_relations/) | 8.0.1.1.0 (unported) | Partner relations

2
partner_external_maps/__init__.py

@ -1,4 +1,4 @@
# -*- encoding: utf-8 -*-
# -*- coding: utf-8 -*-
from . import partner_external_maps from . import partner_external_maps
from .post_install import set_default_map_settings from .post_install import set_default_map_settings

6
partner_external_maps/__openerp__.py

@ -1,4 +1,4 @@
# -*- encoding: utf-8 -*-
# -*- coding: utf-8 -*-
############################################################################## ##############################################################################
# #
# Partner External Maps module for Odoo # Partner External Maps module for Odoo
@ -23,7 +23,7 @@
{ {
'name': 'Partner External Maps', 'name': 'Partner External Maps',
'version': '8.0.0.1.0',
'version': '9.0.0.1.0',
'category': 'Extra Tools', 'category': 'Extra Tools',
'license': 'AGPL-3', 'license': 'AGPL-3',
'summary': 'Add Map and Map Routing buttons on partner form to ' 'summary': 'Add Map and Map Routing buttons on partner form to '
@ -39,5 +39,5 @@
'security/ir.model.access.csv', 'security/ir.model.access.csv',
], ],
'post_init_hook': 'set_default_map_settings', 'post_init_hook': 'set_default_map_settings',
'installable': False,
'installable': True,
} }

2
partner_external_maps/partner_view.xml

@ -14,7 +14,7 @@
<field name="model">res.partner</field> <field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form"/> <field name="inherit_id" ref="base.view_partner_form"/>
<field name="arch" type="xml"> <field name="arch" type="xml">
<xpath expr="//div[@name='buttons']" position="inside">
<xpath expr="//div[@name='button_box']" position="inside">
<button class="oe_inline oe_stat_button" <button class="oe_inline oe_stat_button"
name="open_map" type="object" string="Map" name="open_map" type="object" string="Map"
attrs="{'invisible': [('city', '=', False)]}" attrs="{'invisible': [('city', '=', False)]}"

2
partner_external_maps/post_install.py

@ -1,4 +1,4 @@
# -*- encoding: utf-8 -*-
# -*- coding: utf-8 -*-
############################################################################## ##############################################################################
# #
# Partner Address on Map module for Odoo # Partner Address on Map module for Odoo

Loading…
Cancel
Save