Merge lp:~akretion-team/partner-contact-management/base-location-geonames-import into lp:~partner-contact-core-editors/partner-contact-management/7.0

Proposed by Alexis de Lattre
Status: Needs review
Proposed branch: lp:~akretion-team/partner-contact-management/base-location-geonames-import
Merge into: lp:~partner-contact-core-editors/partner-contact-management/7.0
Diff against target: 437 lines (+400/-0)
7 files modified
base_location_geonames_import/__init__.py (+23/-0)
base_location_geonames_import/__openerp__.py (+47/-0)
base_location_geonames_import/i18n/base_location_geonames_import.pot (+68/-0)
base_location_geonames_import/i18n/fr.po (+68/-0)
base_location_geonames_import/wizard/__init__.py (+23/-0)
base_location_geonames_import/wizard/geonames_import.py (+127/-0)
base_location_geonames_import/wizard/geonames_import_view.xml (+44/-0)
To merge this branch: bzr merge lp:~akretion-team/partner-contact-management/base-location-geonames-import
Reviewer Review Type Date Requested Status
Lorenzo Battistini (community) Needs Resubmitting
Nicolas Bessi - Camptocamp (community) Needs Fixing
Review via email: mp+214564@code.launchpad.net

Description of the change

Add module base_location_geonames_import ; this module adds a wizard to import better zip entries from Geonames (http://download.geonames.org/export/zip/).

Nicolas Bessi suggested on twitter that it should be part of the geospacial addons. But, after thinking about it, my opinion is that this module would be better here, because users of the "base_location" module would have a higher chance of finding this module here than in the geospacial addons.

To post a comment you must log in.
40. By Alexis de Lattre

Allow to skip entries in the _prepare method.

Revision history for this message
Nicolas Bessi - Camptocamp (nbessi-c2c-deactivatedaccount) wrote :

Hello thanks for the patch.

Is there a good reason not to merge it here: https://launchpad.net/geospatial-addons ?
Some tests would also be a nice addition.

review: Needs Information
Revision history for this message
Alexis de Lattre (alexis-via) wrote :

@Nicolas

As I said in my comment, I think that it's better for the module "base_location_geonames_import" to sit right next to the "base_location" module, so that it's easier to find for users of the "base_location" module. We could even imagine that the wizard that is provided by "base_location_geonames_import" could be provided inside "base_location" and not in a separate module.

Revision history for this message
Nicolas Bessi - Camptocamp (nbessi-c2c-deactivatedaccount) wrote :

Oups I missed that.

Actually, I do not agrees with you, but I won't argue too long on this as for me the branch organisation problem is more deep. Let's see what other think about it.

Some comments Belows:
Some PEP8 in manifest:

328 + _("The content of the file doesn't correspond to the "
329 + "selected country."))

I will add row value and country info it will be more easy for support.

A question with :
+ if res_request.status_code != requests.codes.ok:
349 + raise orm.except_orm(
350 + _('Error:'),
351 + _('Got an error %d when trying to download the file %s.')
352 + % (res_request.status_code, url))

It's been a long time since I used geonames, if I'm correct in case of wrong country it returns 404 that right. If it the case I'm ok with this else we may have to treat a 200 with a message

+ if bzip_ids_to_delete:
356 + bzip_obj.unlink(cr, uid, bzip_ids_to_delete, context=context)
357 + logger.info(
358 + '%d better zip entries deleted for country %s'
359 + % (len(bzip_ids_to_delete), wizard.country_id.name))

This is a quite a direct approach, I agree create, update, unactivate is quite not easy to put in place, but as other development can depends on base location model there should at least be a Big warning in manifest.

Also it would be a good idea to add a small lock to ensure atomicity during the import.
A query "for update no wait" a the begining of transaction would be nice.

Tests are also missing. Without depending on the geoname services having a local excrept to base the tests would be great.

Thanks for the contributions, keep up the good work.

Regards

Nicolas

review: Needs Fixing
41. By Alexis de Lattre

Insist on the fact that the wizard deletes current better zip entries in the module description and in the wizard itself.
Better error message when the country code inside the file is wrong.

42. By Alexis de Lattre

Add a FOR UPDATE NOWAIT at the beginning of the transaction.

Revision history for this message
Alexis de Lattre (alexis-via) wrote :

@Nicolas:

I confirm that it returns 404 if you try to download a wrong country.

I have taken into account your other remarks in my last commits (unless the tests ; I don't have experience in this). I am not sure I fully understand the benefit of the FOR UPDATE NOWAIT in this particular case... at least I hope I implemented it as you wanted.

Revision history for this message
Nicolas Bessi - Camptocamp (nbessi-c2c-deactivatedaccount) wrote :

Hello,

Thank for the fixes.
The "UPDATE NO WAIT" will lock the selected rows at postgres database level.
It will avoid a process using the base_location data to alter flushed entries.
It will also avoiding having many concurrent instance of the wizard running on the same rows.
In this case I wonder if we may not want to put a lock on the whole table has we add new entries.

For the test I will see ifI can provide some but I'm in holiday next week, so it have to wait a little.

Regards

Nicolas

43. By Alexis de Lattre

Remove France-specific code ; moved to new module l10n_fr_base_location_geonames_import on lp:openerp-french-localization

44. By Alexis de Lattre

[MERGE] merge with trunk revno 40.

Revision history for this message
Lorenzo Battistini (elbati) wrote :

Hello Alexis, many thanks for the module.

What do you think about creating the res.country.state records if they don't exist, before mapping them in the 'states' dictionary?

The current version is supposed to correctly work with states if you first create states data by modules like l10n_fr_state.
But if base_location_geonames_import also imported states data from geonames (creating records if they don't exist yet) we would not need an extra module just to create states data.

Revision history for this message
Lorenzo Battistini (elbati) wrote :

This project is now hosted on https://github.com/OCA/partner-contact. Please move your proposal there. This guide may help you https://github.com/OCA/maintainers-tools/wiki/How-to-move-a-Merge-Proposal-to-GitHub

review: Needs Resubmitting
Revision history for this message
Lorenzo Battistini (elbati) wrote :

Unmerged revisions

44. By Alexis de Lattre

[MERGE] merge with trunk revno 40.

43. By Alexis de Lattre

Remove France-specific code ; moved to new module l10n_fr_base_location_geonames_import on lp:openerp-french-localization

42. By Alexis de Lattre

Add a FOR UPDATE NOWAIT at the beginning of the transaction.

41. By Alexis de Lattre

Insist on the fact that the wizard deletes current better zip entries in the module description and in the wizard itself.
Better error message when the country code inside the file is wrong.

40. By Alexis de Lattre

Allow to skip entries in the _prepare method.

39. By Alexis de Lattre

Add support for states (if states are already present in res.country.state).
Add POT file and FR translation.

38. By Alexis de Lattre

Add module base_location_geonames_import

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added directory 'base_location_geonames_import'
=== added file 'base_location_geonames_import/__init__.py'
--- base_location_geonames_import/__init__.py 1970-01-01 00:00:00 +0000
+++ base_location_geonames_import/__init__.py 2014-06-11 06:33:26 +0000
@@ -0,0 +1,23 @@
1# -*- encoding: utf-8 -*-
2##############################################################################
3#
4# Base Location Geonames Import module for OpenERP
5# Copyright (C) 2014 Akretion (http://www.akretion.com)
6# @author Alexis de Lattre <alexis.delattre@akretion.com>
7#
8# This program is free software: you can redistribute it and/or modify
9# it under the terms of the GNU Affero General Public License as
10# published by the Free Software Foundation, either version 3 of the
11# License, or (at your option) any later version.
12#
13# This program is distributed in the hope that it will be useful,
14# but WITHOUT ANY WARRANTY; without even the implied warranty of
15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16# GNU Affero General Public License for more details.
17#
18# You should have received a copy of the GNU Affero General Public License
19# along with this program. If not, see <http://www.gnu.org/licenses/>.
20#
21##############################################################################
22
23from . import wizard
024
=== added file 'base_location_geonames_import/__openerp__.py'
--- base_location_geonames_import/__openerp__.py 1970-01-01 00:00:00 +0000
+++ base_location_geonames_import/__openerp__.py 2014-06-11 06:33:26 +0000
@@ -0,0 +1,47 @@
1# -*- encoding: utf-8 -*-
2##############################################################################
3#
4# Base Location Geonames Import module for OpenERP
5# Copyright (C) 2014 Akretion (http://www.akretion.com)
6# @author Alexis de Lattre <alexis.delattre@akretion.com>
7#
8# This program is free software: you can redistribute it and/or modify
9# it under the terms of the GNU Affero General Public License as
10# published by the Free Software Foundation, either version 3 of the
11# License, or (at your option) any later version.
12#
13# This program is distributed in the hope that it will be useful,
14# but WITHOUT ANY WARRANTY; without even the implied warranty of
15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16# GNU Affero General Public License for more details.
17#
18# You should have received a copy of the GNU Affero General Public License
19# along with this program. If not, see <http://www.gnu.org/licenses/>.
20#
21##############################################################################
22
23
24{
25 'name': 'Base Location Geonames Import',
26 'version': '0.1',
27 'category': 'Extra Tools',
28 'license': 'AGPL-3',
29 'summary': 'Import better zip entries from Geonames',
30 'description': """
31Base Location Geonames Import
32=============================
33
34This module adds a wizard to import better zip entries from Geonames (http://download.geonames.org/export/zip/). When you start the wizard, it will ask you to select a country ; then, for the selected country, it will delete all the current better zip entries, download the latest version of the list of cities from geonames.org and create new better zip entries.
35
36Please contact Alexis de Lattre from Akretion <alexis.delattre@akretion.com> for any help or question about this module.
37 """,
38 'author': 'Akretion',
39 'website': 'http://www.akretion.com',
40 'depends': ['base_location'],
41 'external_dependencies': {'python': ['requests', 'unicodecsv']},
42 'data': [
43 'wizard/geonames_import_view.xml',
44 ],
45 'installable': True,
46 'active': False,
47}
048
=== added directory 'base_location_geonames_import/i18n'
=== added file 'base_location_geonames_import/i18n/base_location_geonames_import.pot'
--- base_location_geonames_import/i18n/base_location_geonames_import.pot 1970-01-01 00:00:00 +0000
+++ base_location_geonames_import/i18n/base_location_geonames_import.pot 2014-06-11 06:33:26 +0000
@@ -0,0 +1,68 @@
1# Translation of OpenERP Server.
2# This file contains the translation of the following modules:
3# * base_location_geonames_import
4#
5msgid ""
6msgstr ""
7"Project-Id-Version: OpenERP Server 7.0\n"
8"Report-Msgid-Bugs-To: \n"
9"POT-Creation-Date: 2014-04-11 20:55+0000\n"
10"PO-Revision-Date: 2014-04-11 20:55+0000\n"
11"Last-Translator: <>\n"
12"Language-Team: \n"
13"MIME-Version: 1.0\n"
14"Content-Type: text/plain; charset=UTF-8\n"
15"Content-Transfer-Encoding: \n"
16"Plural-Forms: \n"
17
18#. module: base_location_geonames_import
19#: view:better.zip.geonames.import:0
20msgid "Cancel"
21msgstr ""
22
23#. module: base_location_geonames_import
24#: field:better.zip.geonames.import,country_id:0
25msgid "Country"
26msgstr ""
27
28#. module: base_location_geonames_import
29#: code:addons/base_location_geonames_import/wizard/geonames_import.py:66
30#: code:addons/base_location_geonames_import/wizard/geonames_import.py:90
31#, python-format
32msgid "Error:"
33msgstr ""
34
35#. module: base_location_geonames_import
36#: view:better.zip.geonames.import:0
37msgid "For the country selected above, this wizard will DELETE ALL THE CURRENT BETTER ZIP ENTRIES, download the latest version of the list of cities from geonames.org and create new better zip entries."
38msgstr ""
39
40#. module: base_location_geonames_import
41#: code:addons/base_location_geonames_import/wizard/geonames_import.py:91
42#, python-format
43msgid "Got an error %d when trying to download the file %s."
44msgstr ""
45
46#. module: base_location_geonames_import
47#: view:better.zip.geonames.import:0
48msgid "Import"
49msgstr ""
50
51#. module: base_location_geonames_import
52#: model:ir.model,name:base_location_geonames_import.model_better_zip_geonames_import
53msgid "Import Better Zip from Geonames"
54msgstr ""
55
56#. module: base_location_geonames_import
57#: view:better.zip.geonames.import:0
58#: model:ir.actions.act_window,name:base_location_geonames_import.better_zip_geonames_import_action
59#: model:ir.ui.menu,name:base_location_geonames_import.better_zip_geonames_import_menu
60msgid "Import Geonames"
61msgstr ""
62
63#. module: base_location_geonames_import
64#: code:addons/base_location_geonames_import/wizard/geonames_import.py:67
65#, python-format
66msgid "The country code inside the file (%s) doesn't correspond to the selected country (%s)."
67msgstr ""
68
069
=== added file 'base_location_geonames_import/i18n/fr.po'
--- base_location_geonames_import/i18n/fr.po 1970-01-01 00:00:00 +0000
+++ base_location_geonames_import/i18n/fr.po 2014-06-11 06:33:26 +0000
@@ -0,0 +1,68 @@
1# Translation of OpenERP Server.
2# This file contains the translation of the following modules:
3# * base_location_geonames_import
4#
5msgid ""
6msgstr ""
7"Project-Id-Version: OpenERP Server 7.0\n"
8"Report-Msgid-Bugs-To: \n"
9"POT-Creation-Date: 2014-04-11 20:56+0000\n"
10"PO-Revision-Date: 2014-04-11 20:56+0000\n"
11"Last-Translator: <>\n"
12"Language-Team: \n"
13"MIME-Version: 1.0\n"
14"Content-Type: text/plain; charset=UTF-8\n"
15"Content-Transfer-Encoding: \n"
16"Plural-Forms: \n"
17
18#. module: base_location_geonames_import
19#: view:better.zip.geonames.import:0
20msgid "Cancel"
21msgstr "Annuler"
22
23#. module: base_location_geonames_import
24#: field:better.zip.geonames.import,country_id:0
25msgid "Country"
26msgstr "Pays"
27
28#. module: base_location_geonames_import
29#: code:addons/base_location_geonames_import/wizard/geonames_import.py:66
30#: code:addons/base_location_geonames_import/wizard/geonames_import.py:90
31#, python-format
32msgid "Error:"
33msgstr "Erreur :"
34
35#. module: base_location_geonames_import
36#: view:better.zip.geonames.import:0
37msgid "For the country selected above, this wizard will DELETE ALL THE CURRENT BETTER ZIP ENTRIES, download the latest version of the list of cities from geonames.org and create new better zip entries."
38msgstr "Pour le pays sélectionné ci-dessus, cet assistant va SUPPRIMER TOUTES LES ENTREES BETTER ZIP, télécharger la dernière version de la liste des villes depuis geonames.org et créer de nouveaux enregistrements better zip."
39
40#. module: base_location_geonames_import
41#: code:addons/base_location_geonames_import/wizard/geonames_import.py:91
42#, python-format
43msgid "Got an error %d when trying to download the file %s."
44msgstr "Erreur %d reçue suite à la tentative de téléchargement du fichier %s."
45
46#. module: base_location_geonames_import
47#: view:better.zip.geonames.import:0
48msgid "Import"
49msgstr "Importer"
50
51#. module: base_location_geonames_import
52#: model:ir.model,name:base_location_geonames_import.model_better_zip_geonames_import
53msgid "Import Better Zip from Geonames"
54msgstr "Import Better Zip from Geonames"
55
56#. module: base_location_geonames_import
57#: view:better.zip.geonames.import:0
58#: model:ir.actions.act_window,name:base_location_geonames_import.better_zip_geonames_import_action
59#: model:ir.ui.menu,name:base_location_geonames_import.better_zip_geonames_import_menu
60msgid "Import Geonames"
61msgstr "Importer Geonames"
62
63#. module: base_location_geonames_import
64#: code:addons/base_location_geonames_import/wizard/geonames_import.py:67
65#, python-format
66msgid "The country code inside the file (%s) doesn't correspond to the selected country (%s)."
67msgstr "Le code pays utilisé à l'intérieur du fichier (%s) ne correspond pas au pays sélectionné (%s)."
68
069
=== added directory 'base_location_geonames_import/wizard'
=== added file 'base_location_geonames_import/wizard/__init__.py'
--- base_location_geonames_import/wizard/__init__.py 1970-01-01 00:00:00 +0000
+++ base_location_geonames_import/wizard/__init__.py 2014-06-11 06:33:26 +0000
@@ -0,0 +1,23 @@
1# -*- encoding: utf-8 -*-
2##############################################################################
3#
4# Base Location Geonames Import module for OpenERP
5# Copyright (C) 2014 Akretion (http://www.akretion.com)
6# @author Alexis de Lattre <alexis.delattre@akretion.com>
7#
8# This program is free software: you can redistribute it and/or modify
9# it under the terms of the GNU Affero General Public License as
10# published by the Free Software Foundation, either version 3 of the
11# License, or (at your option) any later version.
12#
13# This program is distributed in the hope that it will be useful,
14# but WITHOUT ANY WARRANTY; without even the implied warranty of
15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16# GNU Affero General Public License for more details.
17#
18# You should have received a copy of the GNU Affero General Public License
19# along with this program. If not, see <http://www.gnu.org/licenses/>.
20#
21##############################################################################
22
23from . import geonames_import
024
=== added file 'base_location_geonames_import/wizard/geonames_import.py'
--- base_location_geonames_import/wizard/geonames_import.py 1970-01-01 00:00:00 +0000
+++ base_location_geonames_import/wizard/geonames_import.py 2014-06-11 06:33:26 +0000
@@ -0,0 +1,127 @@
1# -*- encoding: utf-8 -*-
2##############################################################################
3#
4# Base Location Geonames Import module for OpenERP
5# Copyright (C) 2014 Akretion (http://www.akretion.com)
6# @author Alexis de Lattre <alexis.delattre@akretion.com>
7#
8# This program is free software: you can redistribute it and/or modify
9# it under the terms of the GNU Affero General Public License as
10# published by the Free Software Foundation, either version 3 of the
11# License, or (at your option) any later version.
12#
13# This program is distributed in the hope that it will be useful,
14# but WITHOUT ANY WARRANTY; without even the implied warranty of
15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16# GNU Affero General Public License for more details.
17#
18# You should have received a copy of the GNU Affero General Public License
19# along with this program. If not, see <http://www.gnu.org/licenses/>.
20#
21##############################################################################
22
23from openerp.osv import orm, fields
24from openerp.tools.translate import _
25import requests
26import tempfile
27import StringIO
28import unicodecsv
29import zipfile
30import os
31import logging
32
33logger = logging.getLogger(__name__)
34
35
36class better_zip_geonames_import(orm.TransientModel):
37 _name = 'better.zip.geonames.import'
38 _description = 'Import Better Zip from Geonames'
39
40 _columns = {
41 'country_id': fields.many2one('res.country', 'Country', required=True),
42 }
43
44 def _prepare_better_zip(
45 self, cr, uid, row, country_id, states, context=None):
46 '''This function is designed to be inherited'''
47 state_id = False
48 if states and row[4] and row[4] in states:
49 state_id = states[row[4].upper()]
50 vals = {
51 'name': row[1],
52 'city': row[2],
53 'state_id': state_id,
54 'country_id': country_id,
55 }
56 return vals
57
58 def create_better_zip(
59 self, cr, uid, row, country_id, country_code, states,
60 context=None):
61 bzip_id = False
62 if row[0] != country_code:
63 raise orm.except_orm(
64 _('Error:'),
65 _("The country code inside the file (%s) doesn't "
66 "correspond to the selected country (%s).")
67 % (row[0], country_code))
68 logger.debug('ZIP = %s - City = %s' % (row[1], row[2]))
69 if row[1] and row[2]:
70 vals = self._prepare_better_zip(
71 cr, uid, row, country_id, states, context=context)
72 if vals:
73 bzip_id = self.pool['res.better.zip'].create(
74 cr, uid, vals, context=context)
75 return bzip_id
76
77 def run_import(self, cr, uid, ids, context=None):
78 assert len(ids) == 1, 'Only one ID for the better zip import wizard'
79 bzip_obj = self.pool['res.better.zip']
80 wizard = self.browse(cr, uid, ids[0], context=context)
81 country_id = wizard.country_id.id
82 country_code = wizard.country_id.code.upper()
83 url = 'http://download.geonames.org/export/zip/%s.zip' % country_code
84 logger.info('Starting to download %s' % url)
85 res_request = requests.get(url)
86 if res_request.status_code != requests.codes.ok:
87 raise orm.except_orm(
88 _('Error:'),
89 _('Got an error %d when trying to download the file %s.')
90 % (res_request.status_code, url))
91 bzip_ids_to_delete = bzip_obj.search(
92 cr, uid, [('country_id', '=', country_id)], context=context)
93 if bzip_ids_to_delete:
94 cr.execute('SELECT id FROM res_better_zip WHERE id in %s '
95 'FOR UPDATE NOWAIT', (tuple(bzip_ids_to_delete), ))
96 bzip_obj.unlink(cr, uid, bzip_ids_to_delete, context=context)
97 logger.info(
98 '%d better zip entries deleted for country %s'
99 % (len(bzip_ids_to_delete), wizard.country_id.name))
100 state_ids = self.pool['res.country.state'].search(
101 cr, uid, [('country_id', '=', country_id)], context=context)
102 states = {}
103 # key = code of the state ; value = ID of the state in OpenERP
104 if state_ids:
105 states_r = self.pool['res.country.state'].read(
106 cr, uid, state_ids, ['code', 'country_id'], context=context)
107 for state in states_r:
108 states[state['code'].upper()] = state['id']
109 f_geonames = zipfile.ZipFile(StringIO.StringIO(res_request.content))
110 tempdir = tempfile.mkdtemp(prefix='openerp')
111 f_geonames.extract('%s.txt' % country_code, tempdir)
112 logger.info('The geonames zipfile has been decompressed')
113 data_file = open(os.path.join(tempdir, '%s.txt' % country_code), 'r')
114 data_file.seek(0)
115 logger.info(
116 'Starting to create the better zip entries %s state information'
117 % (states and 'with' or 'without'))
118 for row in unicodecsv.reader(
119 data_file, encoding='utf-8', delimiter=' '):
120 self.create_better_zip(
121 cr, uid, row, country_id, country_code, states,
122 context=context)
123 data_file.close()
124 logger.info(
125 'The wizard to create better zip entries from geonames '
126 'has been successfully completed.')
127 return True
0128
=== added file 'base_location_geonames_import/wizard/geonames_import_view.xml'
--- base_location_geonames_import/wizard/geonames_import_view.xml 1970-01-01 00:00:00 +0000
+++ base_location_geonames_import/wizard/geonames_import_view.xml 2014-06-11 06:33:26 +0000
@@ -0,0 +1,44 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Copyright (C) 2014 Akretion (http://www.akretion.com/)
4 @author: Alexis de Lattre <alexis.delattre@akretion.com>
5 The licence is in the file __openerp__.py
6-->
7
8<openerp>
9<data>
10
11<record id="better_zip_geonames_import_form" model="ir.ui.view">
12 <field name="name">asterisk.server.company</field>
13 <field name="model">better.zip.geonames.import</field>
14 <field name="arch" type="xml">
15 <form string="Import Geonames" version="7.0">
16 <group name="main">
17 <field name="country_id"/>
18 <label string="For the country selected above, this wizard will DELETE ALL THE CURRENT BETTER ZIP ENTRIES, download the latest version of the list of cities from geonames.org and create new better zip entries."
19 colspan="2" name="import-help"/>
20 </group>
21 <footer>
22 <button name="run_import" type="object"
23 class="oe_highlight" string="Import"/>
24 <button special="cancel" string="Cancel" class="oe_link"/>
25 </footer>
26 </form>
27 </field>
28</record>
29
30<record id="better_zip_geonames_import_action" model="ir.actions.act_window">
31 <field name="name">Import Geonames</field>
32 <field name="res_model">better.zip.geonames.import</field>
33 <field name="view_type">form</field>
34 <field name="view_mode">form</field>
35 <field name="target">new</field>
36</record>
37
38<menuitem id="better_zip_geonames_import_menu"
39 action="better_zip_geonames_import_action"
40 parent="base.menu_localisation"
41 sequence="50"/>
42
43</data>
44</openerp>