From 8cd4925ea0801b35c192080610c324a7c1dd3c6f Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Wed, 25 Feb 2015 22:56:47 +0100 Subject: [PATCH] [IMP] base_location_geonames_import: Several improvements and added hooks * Added Icon. * Improve module description and extracted to README.rst. * Pass country instead of country_id for advance comparisons. * Allow to transform city name. * Some code style. * Do not remove all entries of a country, but only not found. * Include hooks for transforming some things. * Include spanish translation. --- base_location/README.rst | 34 ++- base_location/static/description/icon.png | Bin 0 -> 7055 bytes base_location/static/description/icon.svg | 304 ++++++++++++++++++++++ 3 files changed, 331 insertions(+), 7 deletions(-) create mode 100644 base_location/static/description/icon.png create mode 100644 base_location/static/description/icon.svg diff --git a/base_location/README.rst b/base_location/README.rst index 817183a5b..8c0350d9e 100644 --- a/base_location/README.rst +++ b/base_location/README.rst @@ -8,13 +8,33 @@ It enables zip, city, state and country auto-completion on partners and companie Also allows different search filters. -Author ------- - -- Nicolas Bessi. (Copyright Camptocamp SA) +Credits +======= Contributors ------------ -- Ignacio Ibeas (Acysos S.L.) -- Pedro M. Baeza -- Alejandro Santana + +* Nicolas Bessi. (Copyright Camptocamp SA) +* Ignacio Ibeas (Acysos S.L.) +* Pedro M. Baeza +* Alejandro Santana + +Icon +---- +* http://icon-park.com/icon/location-map-pin-orange3/ + + +Maintainer +---------- + +.. image:: http://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: http://odoo-community.org + +This module is maintained by the OCA. + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +To contribute to this module, please visit http://odoo-community.org. \ No newline at end of file diff --git a/base_location/static/description/icon.png b/base_location/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..2c8a0a336d1cc2c5a699d5e9eca60e2dfd5d4f33 GIT binary patch literal 7055 zcmV;A8*t=_P)lKYHTaqRDC0UkiY?CE~ zumRiP0C9Xtv6Wqugs=f8soiCFLwQwOu$8Lhk5nawV7z%iT>}+DcoYR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9KY|TOTu&gkWKP-+RNY1oP_BVmyYV!^^YzW?+MSHwuW04N z3L!uMS|)?)+8dvfmQ^ciVW1|x@=tEw_5#6{UnIOs_mWgTtULmQmG_NaAU#r+qZ2Qb zv@lSrfka4l?t6ytgioKyq0iQB`prv0`LKcr5Rhb<9zgFDDyymKlNGzs{maqumzkV8 zM|l5!(1_m9Oy1}PRty0Qg!Kt5PUBYVH=U^2UVnh2yoDcXa_VW?Z_dzap8kp~^;%&i z5};K%xVWIiy8h6U65MjVQ>f;ETC@HHjR~JQS3hWd-r`D~OHKK(G6?{!a{wEtiS--j zRVw{L)rP7AQi8Q}?-MkS=mibuHZ9K7j+Ycx6ahl=0MiRB4iT%-v12tGsy4_(^3}x7 zJ+II_bGPkOZ7!jt&%}x%fCf|XW@nH$L_D$TsBJ^71}c?4#!|T#wpb%<`c@xrt-n~Q z1b{}@95`bran+vhOT5*;YIN)<&2#rU8QkgD{R{*vjsPtNhnhNs(l_0DhOvo1Cz1MQ z`ta>vqD4EQUEBw$Vb!GHP~jeoXmPSe&CzDqje55kJ` t01!G|EG!fR9fPv{Mdib#nehkV{{vvlua>nKl*Ir5002ovPDHLkV1n%k>iYly literal 0 HcmV?d00001 diff --git a/base_location/static/description/icon.svg b/base_location/static/description/icon.svg new file mode 100644 index 000000000..c3e4d6059 --- /dev/null +++ b/base_location/static/description/icon.svg @@ -0,0 +1,304 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +