From c1e2afebe8f3eea7f08dd39dfb1840f0bb867cef Mon Sep 17 00:00:00 2001
From: "tfr@openerp.com" <>
Date: Fri, 8 Jul 2011 14:06:28 +0200
Subject: [PATCH 01/44] [FIX] cannot open from of task when project caldav is
installed
bzr revid: tfr@openerp.com-20110708120628-i6eyl0kdpkgt2ara
---
addons/project_caldav/project_caldav.py | 2 +-
addons/project_caldav/project_caldav_view.xml | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/addons/project_caldav/project_caldav.py b/addons/project_caldav/project_caldav.py
index ada89d35e69..c0f780dfc57 100644
--- a/addons/project_caldav/project_caldav.py
+++ b/addons/project_caldav/project_caldav.py
@@ -42,11 +42,11 @@ class project_task(osv.osv):
help='If the task is created the state is \'Draft\'.\n If the task is started, the state becomes \'In Progress\'.\n If review is needed the task is in \'Pending\' state.\
\n If the task is over, the states is set to \'Done\'.'),
}
+
_defaults = {
'state': 'draft',
}
-
def open_task(self, cr, uid, ids, context=None):
"""
Open Task Form for Project Task.
diff --git a/addons/project_caldav/project_caldav_view.xml b/addons/project_caldav/project_caldav_view.xml
index d27a4474fc9..f361dc9580b 100644
--- a/addons/project_caldav/project_caldav_view.xml
+++ b/addons/project_caldav/project_caldav_view.xml
@@ -66,8 +66,7 @@
-
+
From 461e41910255a1366270cd8e54d263b267c299de Mon Sep 17 00:00:00 2001
From: "tfr@openerp.com" <>
Date: Fri, 8 Jul 2011 15:12:03 +0200
Subject: [PATCH 02/44] [FIX] event.todo don't erase project.task column
anymore
bzr revid: tfr@openerp.com-20110708131203-o9cduv00he161ahl
---
addons/project_caldav/project_caldav.py | 2 +-
addons/project_caldav/project_caldav_view.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/addons/project_caldav/project_caldav.py b/addons/project_caldav/project_caldav.py
index c0f780dfc57..f17ef3050d4 100644
--- a/addons/project_caldav/project_caldav.py
+++ b/addons/project_caldav/project_caldav.py
@@ -28,7 +28,7 @@ from project.project import task as base_project_task
class project_task(osv.osv):
_name = "project.task"
- _inherit = ["calendar.todo", "project.task"]
+ _inherit = ["project.task", "calendar.todo"]
_columns = {
# force inherit from project.project_task so that
# calendar.todo.active is masked oute
diff --git a/addons/project_caldav/project_caldav_view.xml b/addons/project_caldav/project_caldav_view.xml
index f361dc9580b..57e9e75a53b 100644
--- a/addons/project_caldav/project_caldav_view.xml
+++ b/addons/project_caldav/project_caldav_view.xml
@@ -66,7 +66,7 @@
-
+
From a2dcc919cea8e2bce788ab656c4d6674f2a67490 Mon Sep 17 00:00:00 2001
From: "tfr@openerp.com" <>
Date: Fri, 8 Jul 2011 15:35:02 +0200
Subject: [PATCH 03/44] [CLEAN] clean recurrent option view in task, but
deactivate reccurency for task in openerp since it's not well implemented
bzr revid: tfr@openerp.com-20110708133502-gqdovbyhm717xdgx
---
addons/project_caldav/project_caldav_view.xml | 64 +++++++++++--------
1 file changed, 38 insertions(+), 26 deletions(-)
diff --git a/addons/project_caldav/project_caldav_view.xml b/addons/project_caldav/project_caldav_view.xml
index 57e9e75a53b..0d566be4619 100644
--- a/addons/project_caldav/project_caldav_view.xml
+++ b/addons/project_caldav/project_caldav_view.xml
@@ -65,7 +65,8 @@
form
-
+
+
@@ -78,46 +79,57 @@
form
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
-
-
+
+
-
+
+
-
+
-
-
+
+
-
-
-
-
-
-
+
+
+
+
From 7c75f19da5e025fd7971d10c233c1c5a45037158 Mon Sep 17 00:00:00 2001
From: "tfr@openerp.com" <>
Date: Fri, 8 Jul 2011 17:35:07 +0200
Subject: [PATCH 04/44] [FIX] creation of todo
bzr revid: tfr@openerp.com-20110708153507-0old9j33jus9grmc
---
addons/base_calendar/base_calendar.py | 3 +--
addons/caldav/caldav_node.py | 2 +-
addons/project_caldav/project_caldav.py | 2 ++
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/addons/base_calendar/base_calendar.py b/addons/base_calendar/base_calendar.py
index 5f24b08884a..e50bb52abd9 100644
--- a/addons/base_calendar/base_calendar.py
+++ b/addons/base_calendar/base_calendar.py
@@ -1208,7 +1208,7 @@ rule or repeating pattern of time to exclude from the recurring rule."),
def remove_virtual_id(self, ids):
- if isinstance(ids, (str, int)):
+ if isinstance(ids, (str, int, long)):
return base_calendar_id2real_id(ids)
if isinstance(ids, (list, tuple)):
@@ -1239,7 +1239,6 @@ rule or repeating pattern of time to exclude from the recurring rule."),
if until_date:
continue
until_date = arg[2]
-
res = super(calendar_event, self).search(cr, uid, args_without_date, \
0, 0, order, context, count=False)
res = self.get_recurrent_ids(cr, uid, res, start_date, until_date, limit, context=context)
diff --git a/addons/caldav/caldav_node.py b/addons/caldav/caldav_node.py
index 5272d0fc1fd..71e9bdc2468 100644
--- a/addons/caldav/caldav_node.py
+++ b/addons/caldav/caldav_node.py
@@ -324,7 +324,6 @@ class node_calendar(nodes.node_class):
uid = self.context.uid
res = self.set_data(cr, data)
-
if res and len(res):
# We arbitrarily construct only the first node of the data
# that have been imported. ICS may have had more elements,
@@ -332,6 +331,7 @@ class node_calendar(nodes.node_class):
assert isinstance(res[0], (int, long))
fnodes = fil_obj.get_calendar_objects(cr, uid, [self.calendar_id], self,
domain=[('id','=',res[0])], context=ctx)
+
if self.context.get('DAV-client','') in ('iPhone', 'iCalendar',):
# For those buggy clients, register the alias
bca_obj = fil_obj.pool.get('basic.calendar.alias')
diff --git a/addons/project_caldav/project_caldav.py b/addons/project_caldav/project_caldav.py
index f17ef3050d4..782f167d69b 100644
--- a/addons/project_caldav/project_caldav.py
+++ b/addons/project_caldav/project_caldav.py
@@ -109,6 +109,8 @@ class project_task(osv.osv):
self.write(cr, uid, [exists], val)
ids.append(exists)
else:
+ #set user_id with id, needed later
+ val.update({'user_id' : uid})
task_id = self.create(cr, uid, val)
ids.append(task_id)
return ids
From aedeaadb4663a57e0ee9c45b7b372d5bae000946 Mon Sep 17 00:00:00 2001
From: "tfr@openerp.com" <>
Date: Mon, 11 Jul 2011 14:20:55 +0200
Subject: [PATCH 05/44] [FIX] caldav write_date problem + attendees
synchronization
bzr revid: tfr@openerp.com-20110711122055-63syh4xflmko9ajb
---
addons/caldav/calendar.py | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/addons/caldav/calendar.py b/addons/caldav/calendar.py
index a70a31bc017..94d28e4ad37 100644
--- a/addons/caldav/calendar.py
+++ b/addons/caldav/calendar.py
@@ -121,10 +121,10 @@ def str2mailto(emailstr, multi=False):
for mas in mailz:
m = mege.match(mas.strip())
if not m:
- # one of the rare non-matching strings is "sad" :(
- # retz.append({ 'name': mas.strip() })
- # continue
- raise ValueError("Invalid email address %r" % mas)
+ #one of the rare non-matching strings is "sad" :(
+ retz.append({ 'name': mas.strip() })
+ continue
+ # raise ValueError("Invalid email address %r" % mas)
rd = { 'name': m.group(1).strip(),
'email': m.group(5), }
if m.group(2):
@@ -189,6 +189,9 @@ def map_data(cr, uid, obj, context=None):
field = obj.ical_get(map_dict, 'field')
field_type = obj.ical_get(map_dict, 'type')
if field:
+ #ignore write date, this field is resered for the orm
+ if field == 'write_date':
+ continue
if field_type == 'selection':
if not map_val:
continue
@@ -299,7 +302,6 @@ class CalDAV(object):
att_data = []
exdates = []
_server_tzinfo = pytz.timezone(tools.get_server_timezone())
-
for cal_data in child.getChildren():
if cal_data.name.lower() == 'organizer':
dmail = { 'name': cal_data.params.get('CN', ['',])[0],
@@ -552,7 +554,7 @@ class CalDAV(object):
@param data_id: Get Data’s ID or False
@param context: A standard dictionary for contextual values
"""
-
+
ical_data = content
self.__attribute__ = get_attribute_mapping(cr, uid, self._calname, context)
parsedCal = vobject.readOne(ical_data)
From 0a583564912137386a36da42c5fefb651add8ee9 Mon Sep 17 00:00:00 2001
From: "tfr@openerp.com" <>
Date: Mon, 11 Jul 2011 17:51:29 +0200
Subject: [PATCH 06/44] [IMP] in progress translate rrule into openerp data
bzr revid: tfr@openerp.com-20110711155129-jjhuvaby3m5eryuu
---
addons/base_calendar/base_calendar.py | 80 ++++++++++++++++++++++++++-
1 file changed, 77 insertions(+), 3 deletions(-)
diff --git a/addons/base_calendar/base_calendar.py b/addons/base_calendar/base_calendar.py
index e50bb52abd9..dfa898c633f 100644
--- a/addons/base_calendar/base_calendar.py
+++ b/addons/base_calendar/base_calendar.py
@@ -991,14 +991,80 @@ class calendar_event(osv.osv):
"""
result = {}
+ if not isinstance(ids, list):
+ ids = [ids]
+
for datas in self.read(cr, uid, ids, ['id','byday','recurrency', 'month_list','end_date', 'rrule_type', 'select1', 'interval', 'count', 'end_type', 'mo', 'tu', 'we', 'th', 'fr', 'sa', 'su', 'exrule', 'day', 'week_list' ], context=context):
event = datas['id']
if datas.get('interval', 0) < 0:
raise osv.except_osv(_('Warning!'), _('Interval can not be Negative'))
if datas.get('count', 0) < 0:
raise osv.except_osv(_('Warning!'), _('Count can not be Negative'))
- result[event] = self.compute_rule_string(datas)
+ if datas['recurrency']:
+ result[event] = self.compute_rule_string(datas)
+ else:
+ result[event] = ""
return result
+
+ def _parse_rrule(self, rule, data):
+ day_list = ['mo', 'tu', 'we', 'th', 'fr', 'sa', 'su']
+ r = rrule.rrulestr(rule)
+ data['count'] = r._count
+ data['interval'] = r._interval
+ data['end_date'] = r._until and r._until.strftime("%Y-%m-%d %H:%M:%S")
+ #repeat weekly
+ if r._byweekday:
+ for i in xrange(0,7):
+ if i in r._byweekday:
+ data[day_list[i]] = True
+ data['rrule_type'] = 'weekly'
+ #repeat monthly bynweekday ((weekday, weeknumber), )
+ if r._bynweekday:
+ data['week_list'] = day_list[r._bynweekday[0][0]].upper()
+ data['byday'] = r._bynweekday[0][1]
+ data['rrule_type'] = 'monthly'
+
+ #end of recurrence
+ #in case of repeat for ever that we do not support right now
+ if not (data.get('count') or data.get('end_date')):
+ data['count'] = 100
+ if data.get('count'):
+ data['end_type'] = 'count'
+ else:
+ data['end_type'] = 'end_date'
+ return data
+
+ def _write_rrule(self, cr, uid, ids, field_name, field_value, arg, context):
+ print field_name, field_value
+ data = {
+ 'byday' : False,
+ 'recurrency' : False,
+ 'month_list' : False,
+ 'end_date' : False,
+ 'rrule_type' : False,
+ 'select1' : False,
+ 'interval' : 0,
+ 'count' : False,
+ 'end_type' : False,
+ 'mo' : False,
+ 'tu' : False,
+ 'we' : False,
+ 'th' : False,
+ 'fr' : False,
+ 'sa' : False,
+ 'su' : False,
+ 'exrule' : False,
+ 'day' : False,
+ 'week_list' : False
+ }
+
+ if field_value:
+ update_data = self._parse_rrule(field_value, dict(data))
+ print update_data
+ #parse_rrule
+ self.write(cr, uid, ids, data, context=context)
+
+ print "rrule", self._get_rulestring(cr, uid, ids, None, arg, context)
_columns = {
'id': fields.integer('ID'),
@@ -1022,7 +1088,7 @@ class calendar_event(osv.osv):
defines the list of date/time exceptions for a recurring calendar component."),
'exrule': fields.char('Exception Rule', size=352, help="Defines a \
rule or repeating pattern of time to exclude from the recurring rule."),
- 'rrule': fields.function(_get_rulestring, type='char', size=124, \
+ 'rrule': fields.function(_get_rulestring, fnct_inv=_write_rrule, type='char', size=124, \
store=True, string='Recurrent Rule'),
'rrule_type': fields.selection([('none', ''), ('daily', 'Daily'), \
('weekly', 'Weekly'), ('monthly', 'Monthly'), \
@@ -1173,7 +1239,7 @@ rule or repeating pattern of time to exclude from the recurring rule."),
@param self: the object pointer
@param datas: dictionary of freq and interval value.
"""
-
+ print "compute rule string"
def get_week_string(freq, datas):
weekdays = ['mo', 'tu', 'we', 'th', 'fr', 'sa', 'su']
if freq == 'weekly':
@@ -1277,6 +1343,8 @@ rule or repeating pattern of time to exclude from the recurring rule."),
except Exception:
return True
+
+
def write(self, cr, uid, ids, vals, context=None, check=True, update_check=True):
if context is None:
context = {}
@@ -1284,6 +1352,9 @@ rule or repeating pattern of time to exclude from the recurring rule."),
select = [ids]
else:
select = ids
+
+
+
new_ids = []
res = False
for event_id in select:
@@ -1335,6 +1406,9 @@ rule or repeating pattern of time to exclude from the recurring rule."),
context=context)
vals.update(updated_vals.get('value', {}))
if new_ids:
+ if 'rrule' in vals.keys():
+ print "write, rrule"
+ print "write ", vals
res = super(calendar_event, self).write(cr, uid, new_ids, vals, context=context)
if ('alarm_id' in vals or 'base_calendar_alarm_id' in vals)\
From 842b67f5b095a11c2185307102eba11e2e7ceeae Mon Sep 17 00:00:00 2001
From: "tfr@openerp.com" <>
Date: Tue, 12 Jul 2011 12:03:12 +0200
Subject: [PATCH 07/44] [IMP] support caldav recurrency
bzr revid: tfr@openerp.com-20110712100312-lj0uib1rnx90dbhc
---
addons/base_calendar/base_calendar.py | 155 +++++++++++++++-----------
1 file changed, 92 insertions(+), 63 deletions(-)
diff --git a/addons/base_calendar/base_calendar.py b/addons/base_calendar/base_calendar.py
index dfa898c633f..1e71ea65634 100644
--- a/addons/base_calendar/base_calendar.py
+++ b/addons/base_calendar/base_calendar.py
@@ -1006,66 +1006,9 @@ class calendar_event(osv.osv):
result[event] = ""
return result
- def _parse_rrule(self, rule, data):
- day_list = ['mo', 'tu', 'we', 'th', 'fr', 'sa', 'su']
- r = rrule.rrulestr(rule)
- data['count'] = r._count
- data['interval'] = r._interval
- data['end_date'] = r._until and r._until.strftime("%Y-%m-%d %H:%M:%S")
- #repeat weekly
- if r._byweekday:
- for i in xrange(0,7):
- if i in r._byweekday:
- data[day_list[i]] = True
- data['rrule_type'] = 'weekly'
- #repeat monthly bynweekday ((weekday, weeknumber), )
- if r._bynweekday:
- data['week_list'] = day_list[r._bynweekday[0][0]].upper()
- data['byday'] = r._bynweekday[0][1]
- data['rrule_type'] = 'monthly'
-
- #end of recurrence
- #in case of repeat for ever that we do not support right now
- if not (data.get('count') or data.get('end_date')):
- data['count'] = 100
- if data.get('count'):
- data['end_type'] = 'count'
- else:
- data['end_type'] = 'end_date'
- return data
+
+
- def _write_rrule(self, cr, uid, ids, field_name, field_value, arg, context):
- print field_name, field_value
- data = {
- 'byday' : False,
- 'recurrency' : False,
- 'month_list' : False,
- 'end_date' : False,
- 'rrule_type' : False,
- 'select1' : False,
- 'interval' : 0,
- 'count' : False,
- 'end_type' : False,
- 'mo' : False,
- 'tu' : False,
- 'we' : False,
- 'th' : False,
- 'fr' : False,
- 'sa' : False,
- 'su' : False,
- 'exrule' : False,
- 'day' : False,
- 'week_list' : False
- }
-
- if field_value:
- update_data = self._parse_rrule(field_value, dict(data))
- print update_data
- #parse_rrule
- self.write(cr, uid, ids, data, context=context)
-
- print "rrule", self._get_rulestring(cr, uid, ids, None, arg, context)
-
_columns = {
'id': fields.integer('ID'),
'sequence': fields.integer('Sequence'),
@@ -1088,7 +1031,7 @@ class calendar_event(osv.osv):
defines the list of date/time exceptions for a recurring calendar component."),
'exrule': fields.char('Exception Rule', size=352, help="Defines a \
rule or repeating pattern of time to exclude from the recurring rule."),
- 'rrule': fields.function(_get_rulestring, fnct_inv=_write_rrule, type='char', size=124, \
+ 'rrule': fields.function(_get_rulestring, type='char', size=124, \
store=True, string='Recurrent Rule'),
'rrule_type': fields.selection([('none', ''), ('daily', 'Daily'), \
('weekly', 'Weekly'), ('monthly', 'Monthly'), \
@@ -1239,7 +1182,6 @@ rule or repeating pattern of time to exclude from the recurring rule."),
@param self: the object pointer
@param datas: dictionary of freq and interval value.
"""
- print "compute rule string"
def get_week_string(freq, datas):
weekdays = ['mo', 'tu', 'we', 'th', 'fr', 'sa', 'su']
if freq == 'weekly':
@@ -1271,7 +1213,85 @@ rule or repeating pattern of time to exclude from the recurring rule."),
return ''
interval_srting = datas.get('interval') and (';INTERVAL=' + str(datas.get('interval'))) or ''
return 'FREQ=' + freq.upper() + get_week_string(freq, datas) + interval_srting + get_end_date(datas) + get_month_string(freq, datas)
+
+ def _get_empty_rrule_data(self):
+ return {
+ 'byday' : False,
+ 'recurrency' : False,
+ 'end_date' : False,
+ 'rrule_type' : False,
+ 'select1' : False,
+ 'interval' : 0,
+ 'count' : False,
+ 'end_type' : False,
+ 'mo' : False,
+ 'tu' : False,
+ 'we' : False,
+ 'th' : False,
+ 'fr' : False,
+ 'sa' : False,
+ 'su' : False,
+ 'exrule' : False,
+ 'day' : False,
+ 'week_list' : False
+ }
+ def _write_rrule(self, cr, uid, ids, field_value, rule_date=False, context=None):
+ data = self._get_empty_rrule_data()
+
+ if field_value:
+ data['recurrency'] = True
+ for event in self.browse(cr, uid, ids, context=context):
+ rdate = rule_date or event.date
+ update_data = self._parse_rrule(field_value, dict(data), rdate)
+ data.update(update_data)
+ #parse_rrule
+ self.write(cr, uid, event.id, data, context=context)
+
+
+ def _parse_rrule(self, rule, data, date_start):
+ day_list = ['mo', 'tu', 'we', 'th', 'fr', 'sa', 'su']
+ rrule_type = ['yearly', 'monthly', 'weekly', 'daily']
+ r = rrule.rrulestr(rule, dtstart=datetime.strptime(date_start, "%Y-%m-%d %H:%M:%S"))
+
+ if r._freq > 0 and r._freq < 4:
+ data['rrule_type'] = rrule_type[r._freq]
+
+ data['count'] = r._count
+ data['interval'] = r._interval
+ data['end_date'] = r._until and r._until.strftime("%Y-%m-%d %H:%M:%S")
+ #repeat weekly
+ if r._byweekday:
+ for i in xrange(0,7):
+ if i in r._byweekday:
+ data[day_list[i]] = True
+ data['rrule_type'] = 'weekly'
+ #repeat monthly bynweekday ((weekday, weeknumber), )
+ if r._bynweekday:
+ data['week_list'] = day_list[r._bynweekday[0][0]].upper()
+ data['byday'] = r._bynweekday[0][1]
+ data['select1'] = 'day'
+ data['rrule_type'] = 'monthly'
+
+ if r._bymonthday:
+ data['day'] = r._bymonthday[0]
+ data['select1'] = 'date'
+ data['rrule_type'] = 'monthly'
+
+ #yearly but for openerp it's monthly, take same information as monthly but interval is 12 times
+ if r._bymonth:
+ data['interval'] = data['interval'] * 12
+
+ #FIXEME handle forever case
+ #end of recurrence
+ #in case of repeat for ever that we do not support right now
+ if not (data.get('count') or data.get('end_date')):
+ data['count'] = 100
+ if data.get('count'):
+ data['end_type'] = 'count'
+ else:
+ data['end_type'] = 'end_date'
+ return data
def remove_virtual_id(self, ids):
if isinstance(ids, (str, int, long)):
@@ -1407,8 +1427,12 @@ rule or repeating pattern of time to exclude from the recurring rule."),
vals.update(updated_vals.get('value', {}))
if new_ids:
if 'rrule' in vals.keys():
- print "write, rrule"
- print "write ", vals
+ if 'date' in vals.keys():
+ date_to_write = vals['date']
+ else:
+ date_to_write = False
+ self._write_rrule(cr, uid, new_ids, vals['rrule'], date_to_write, context)
+
res = super(calendar_event, self).write(cr, uid, new_ids, vals, context=context)
if ('alarm_id' in vals or 'base_calendar_alarm_id' in vals)\
@@ -1535,6 +1559,11 @@ rule or repeating pattern of time to exclude from the recurring rule."),
if vals.get('vtimezone', '') and vals.get('vtimezone', '').startswith('/freeassociation.sourceforge.net/tzfile/'):
vals['vtimezone'] = vals['vtimezone'][40:]
+
+ if 'date' in vals and 'rrule' in vals and vals['rrule']:
+ update_datas = self._parse_rrule(vals['rrule'], self._get_empty_rrule_data(), vals['date'])
+ update_datas['recurrency'] = True
+ vals.update(update_datas)
updated_vals = self.onchange_dates(cr, uid, [],
vals.get('date', False),
From cac9fb4e0322ad041acc2cdb9e9a90322b9decba Mon Sep 17 00:00:00 2001
From: "tfr@openerp.com" <>
Date: Tue, 12 Jul 2011 16:02:13 +0200
Subject: [PATCH 08/44] [FIX] get hostname using tools.get_hostname
bzr revid: tfr@openerp.com-20110712140213-flf80sbimzhkmekx
---
addons/caldav/wizard/caldav_browse.py | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/addons/caldav/wizard/caldav_browse.py b/addons/caldav/wizard/caldav_browse.py
index f6ecc5dccd5..49b313b9886 100644
--- a/addons/caldav/wizard/caldav_browse.py
+++ b/addons/caldav/wizard/caldav_browse.py
@@ -24,6 +24,7 @@ from tools import config
import base64
import addons
from tools.translate import _
+import tools
class caldav_browse(osv.osv_memory):
@@ -239,12 +240,8 @@ class user_preference(osv.osv_memory):
return ids[0]
def _get_default_host(self, cr, uid, context):
- ids=self.search(cr,uid,[])
- host_name = ''
- if ids:
- ids = len(ids)> 1 and len(ids)-1 or ids[0] # Use len(ids)-1 for taking the value of last id
- host_name = self.browse(cr, uid,[ids],context=context)[0].host_name
- return host_name
+
+ return tools.get_hostname(self, cr, uid)
_defaults={
'service': 'webdav',
From 8a69cc5504369c565e8c11545b9164bcf4b905cc Mon Sep 17 00:00:00 2001
From: "DBR (OpenERP)"
Date: Fri, 16 Sep 2011 15:24:46 +0530
Subject: [PATCH 09/44] [FIX] After installing base_contact Contact in search
view of partner not work
lp bug: https://launchpad.net/bugs/849420 fixed
bzr revid: dbr@tinyerp.com-20110916095446-6cwydtneyhng01by
---
addons/base_contact/base_contact.py | 18 +++++++++++++++++-
addons/base_contact/base_contact_view.xml | 16 +++++++++++++++-
2 files changed, 32 insertions(+), 2 deletions(-)
diff --git a/addons/base_contact/base_contact.py b/addons/base_contact/base_contact.py
index cf0bc610be8..8be20109591 100644
--- a/addons/base_contact/base_contact.py
+++ b/addons/base_contact/base_contact.py
@@ -131,7 +131,7 @@ class res_partner_address(osv.osv):
if not len(ids):
return []
res = []
- if context is None:
+ if context is None:
context = {}
for r in self.read(cr, user, ids, ['zip', 'city', 'partner_id', 'street']):
if context.get('contact_display', 'contact')=='partner' and r['partner_id']:
@@ -143,6 +143,22 @@ class res_partner_address(osv.osv):
res.append((r['id'], addr.strip() or '/'))
return res
+ def name_search(self, cr, user, name, args=None, operator='ilike', context=None, limit=100):
+ if not args:
+ args=[]
+ if not context:
+ context={}
+ if name:
+ ids = []
+ job_ids = self.pool.get('res.partner.job').search(cr, user, [('contact_id', operator, name)] + args, limit=limit, context=context)
+ partner_ids = self.pool.get('res.partner.job').browse(cr, user, job_ids)
+ partner_data = [(partner.name.name) for partner in partner_ids]
+ for partner in partner_data:
+ ids += self.search(cr, user, [('partner_id',operator,partner)] + args, limit=limit, context=context)
+ else:
+ ids = self.search(cr, user, args, limit=limit, context=context)
+ return self.name_get(cr, user, ids, context)
+
_name = 'res.partner.address'
_inherit = 'res.partner.address'
_description ='Partner Address'
diff --git a/addons/base_contact/base_contact_view.xml b/addons/base_contact/base_contact_view.xml
index 8029084b7c3..a65f107fb25 100644
--- a/addons/base_contact/base_contact_view.xml
+++ b/addons/base_contact/base_contact_view.xml
@@ -252,7 +252,20 @@
-
+
+
+
+
+ res.partner.select
+ search
+ res.partner
+
+
+
+
+
+
+
@@ -422,3 +435,4 @@
+
From 0c13fea7cd069ea761824f9fba79e873c1dec895 Mon Sep 17 00:00:00 2001
From: "DBR (OpenERP)"
Date: Fri, 16 Sep 2011 18:02:07 +0530
Subject: [PATCH 10/44] [RMV]base_contact: Remove the extra added inherited
view
bzr revid: dbr@tinyerp.com-20110916123207-voyla0qs0bx1j3te
---
addons/base_contact/base_contact_view.xml | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/addons/base_contact/base_contact_view.xml b/addons/base_contact/base_contact_view.xml
index a65f107fb25..0ac009169b3 100644
--- a/addons/base_contact/base_contact_view.xml
+++ b/addons/base_contact/base_contact_view.xml
@@ -252,20 +252,6 @@
-
-
-
-
- res.partner.select
- search
- res.partner
-
-
-
-
-
-
-
From 007af7601f455ab5b21a6e977efbfe25920c8756 Mon Sep 17 00:00:00 2001
From: "DBR (OpenERP)"
Date: Fri, 16 Sep 2011 18:10:46 +0530
Subject: [PATCH 11/44] [IMP]base_contact:Improve the code
bzr revid: dbr@tinyerp.com-20110916124046-2p713bhbsi8g9zev
---
addons/base_contact/base_contact.py | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/addons/base_contact/base_contact.py b/addons/base_contact/base_contact.py
index 8be20109591..2f228bdf345 100644
--- a/addons/base_contact/base_contact.py
+++ b/addons/base_contact/base_contact.py
@@ -144,14 +144,13 @@ class res_partner_address(osv.osv):
return res
def name_search(self, cr, user, name, args=None, operator='ilike', context=None, limit=100):
+ ids = []
if not args:
args=[]
- if not context:
- context={}
+ jobs = self.pool.get('res.partner.job')
if name:
- ids = []
- job_ids = self.pool.get('res.partner.job').search(cr, user, [('contact_id', operator, name)] + args, limit=limit, context=context)
- partner_ids = self.pool.get('res.partner.job').browse(cr, user, job_ids)
+ job_ids = jobs.search(cr, user, [('contact_id', operator, name)] + args, limit=limit, context=context)
+ partner_ids = jobs.browse(cr, user, job_ids)
partner_data = [(partner.name.name) for partner in partner_ids]
for partner in partner_data:
ids += self.search(cr, user, [('partner_id',operator,partner)] + args, limit=limit, context=context)
From 2b997a1fce1f48105f67a6570953a40245edc50c Mon Sep 17 00:00:00 2001
From: "DBR (OpenERP)"
Date: Tue, 20 Sep 2011 11:39:49 +0530
Subject: [PATCH 12/44] [FIX] : Remove the conflict
bzr revid: dbr@tinyerp.com-20110920060949-j8wtqlq7huc9jvd1
---
addons/auction/auction_demo.xml | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/addons/auction/auction_demo.xml b/addons/auction/auction_demo.xml
index 7f34eb6697c..e93cc3ea04d 100644
--- a/addons/auction/auction_demo.xml
+++ b/addons/auction/auction_demo.xml
@@ -39,7 +39,7 @@
Auction Adjudications
A7x*
- receivable
+ other
@@ -48,7 +48,7 @@
Auction Adjudication Expenses
A6x*
- payable
+ other
@@ -56,7 +56,7 @@
Auction Buyer Costs
A8x*
- payable
+ other
@@ -64,7 +64,7 @@
Auction Seller Costs
A9x*
- receivable
+ other
@@ -251,7 +251,7 @@
- Frais de vente
+ Frais de vente0
0
auction
From a9eaeb39598726af1e09956f462ee09bad501e75 Mon Sep 17 00:00:00 2001
From: "DBR (OpenERP)"
Date: Tue, 20 Sep 2011 14:24:19 +0530
Subject: [PATCH 13/44] [IMP]base_contact : Improve the code
bzr revid: dbr@tinyerp.com-20110920085419-8vft3k6yu72eb54n
---
addons/base_contact/base_contact.py | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/addons/base_contact/base_contact.py b/addons/base_contact/base_contact.py
index 2f228bdf345..25cd38d60fb 100644
--- a/addons/base_contact/base_contact.py
+++ b/addons/base_contact/base_contact.py
@@ -144,18 +144,14 @@ class res_partner_address(osv.osv):
return res
def name_search(self, cr, user, name, args=None, operator='ilike', context=None, limit=100):
- ids = []
if not args:
args=[]
+ ids = self.search(cr, user, [('name',operator,name)] + args, limit=limit, context=context)
jobs = self.pool.get('res.partner.job')
if name:
job_ids = jobs.search(cr, user, [('contact_id', operator, name)] + args, limit=limit, context=context)
- partner_ids = jobs.browse(cr, user, job_ids)
- partner_data = [(partner.name.name) for partner in partner_ids]
- for partner in partner_data:
+ for partner in [(partner.name.name) for partner in (jobs.browse(cr, user, job_ids))]:
ids += self.search(cr, user, [('partner_id',operator,partner)] + args, limit=limit, context=context)
- else:
- ids = self.search(cr, user, args, limit=limit, context=context)
return self.name_get(cr, user, ids, context)
_name = 'res.partner.address'
From 8693b8108a5c76115654e0d719249417590da9fc Mon Sep 17 00:00:00 2001
From: "Atik Agewan (OpenERP)"
Date: Thu, 13 Oct 2011 16:10:34 +0530
Subject: [PATCH 14/44] [Fix] Account :[Account]In menu
Accounting/Configuration/Miscellaneous/Payment Terms Improve some usability
Issue
lp bug: https://launchpad.net/bugs/873234 fixed
bzr revid: aag@tinyerp.com-20111013104034-znmers3jo3h6e7j0
---
addons/account/account_view.xml | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/addons/account/account_view.xml b/addons/account/account_view.xml
index 2ae910a36b3..74157fb8f19 100644
--- a/addons/account/account_view.xml
+++ b/addons/account/account_view.xml
@@ -1714,19 +1714,20 @@
form
From d5426481fa919b8896ddbdf0e9eb64d5c95db53a Mon Sep 17 00:00:00 2001
From: "Atik Agewan (OpenERP)"
Date: Wed, 19 Oct 2011 15:18:46 +0530
Subject: [PATCH 15/44] [IMP]Account: Add Computation seprator
bzr revid: aag@tinyerp.com-20111019094846-1zmij1x1gmo8w45q
---
addons/account/account_view.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/addons/account/account_view.xml b/addons/account/account_view.xml
index 004ccaba186..394387cae4e 100644
--- a/addons/account/account_view.xml
+++ b/addons/account/account_view.xml
@@ -1772,6 +1772,7 @@
+
From 9f1d8942527e9545aa79b6fa433ca58ca91a7f31 Mon Sep 17 00:00:00 2001
From: "Atik Agewan (OpenERP)"
Date: Wed, 19 Oct 2011 16:53:27 +0530
Subject: [PATCH 16/44] [IMP]Account: Add seprator
bzr revid: aag@tinyerp.com-20111019112327-xbhaossu4i28efmw
---
addons/account/account_view.xml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/addons/account/account_view.xml b/addons/account/account_view.xml
index 394387cae4e..45836140648 100644
--- a/addons/account/account_view.xml
+++ b/addons/account/account_view.xml
@@ -1729,7 +1729,8 @@
-
+
+
From 3a106f0d881d92336d7baaef38e6e685d9574b82 Mon Sep 17 00:00:00 2001
From: "Atik Agewan (OpenERP)"
Date: Wed, 19 Oct 2011 17:24:22 +0530
Subject: [PATCH 17/44] [IMP]:Examples => Example
bzr revid: aag@tinyerp.com-20111019115422-o60bq1uhu6pdkr90
---
addons/account/account_view.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/addons/account/account_view.xml b/addons/account/account_view.xml
index 45836140648..8f899281aa5 100644
--- a/addons/account/account_view.xml
+++ b/addons/account/account_view.xml
@@ -1729,7 +1729,7 @@
-
+
From e1f44eaaac0cf27bb7a584cb2b1017201f16a818 Mon Sep 17 00:00:00 2001
From: "Rucha (Open ERP)"
Date: Wed, 19 Oct 2011 17:31:50 +0530
Subject: [PATCH 18/44] [IMP]: account: Removed indexing example of payement
term in payment line view as there is only one example
bzr revid: rpa@tinyerp.com-20111019120150-9rdg720tpdre7jzf
---
addons/account/account_view.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/addons/account/account_view.xml b/addons/account/account_view.xml
index 8f899281aa5..de4725f9ddb 100644
--- a/addons/account/account_view.xml
+++ b/addons/account/account_view.xml
@@ -1730,7 +1730,7 @@
-
+
From 280a57484e923aa10d9601f2d490468e9f2dfa7f Mon Sep 17 00:00:00 2001
From: "Rucha (Open ERP)"
Date: Wed, 19 Oct 2011 17:40:37 +0530
Subject: [PATCH 19/44] [IMP]: account: Usabililty Improvements in payment term
line view
bzr revid: rpa@tinyerp.com-20111019121037-uhvtkpzii0qomluc
---
addons/account/account_view.xml | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/addons/account/account_view.xml b/addons/account/account_view.xml
index de4725f9ddb..ad2d616c2e5 100644
--- a/addons/account/account_view.xml
+++ b/addons/account/account_view.xml
@@ -1733,18 +1733,18 @@
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
From abe5a3e1d05613176660cf4b596dd6e4be4c5216 Mon Sep 17 00:00:00 2001
From: "Rucha (Open ERP)"
Date: Wed, 19 Oct 2011 17:50:53 +0530
Subject: [PATCH 20/44] [FIX]: account: typo + improvement in payment term line
view
bzr revid: rpa@tinyerp.com-20111019122053-qr4uuz9z244s389u
---
addons/account/account_view.xml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/addons/account/account_view.xml b/addons/account/account_view.xml
index ad2d616c2e5..3912f665916 100644
--- a/addons/account/account_view.xml
+++ b/addons/account/account_view.xml
@@ -1730,10 +1730,10 @@
-
+
-
+
@@ -1741,7 +1741,7 @@
-
+
From fecb2ee680df6076ac72e6215e2670393cfc9f24 Mon Sep 17 00:00:00 2001
From: "Yogesh (OpenERP)"
Date: Wed, 19 Oct 2011 18:20:34 +0530
Subject: [PATCH 21/44] [FIX] call super method in m2oreadonly widget.
lp bug: https://launchpad.net/bugs/878033 fixed
bzr revid: ysa@tinyerp.com-20111019125034-2n7d9yrp53la4zdc
---
addons/web/static/src/js/view_form.js | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/addons/web/static/src/js/view_form.js b/addons/web/static/src/js/view_form.js
index a5a56c2d46e..4e4a950bd99 100644
--- a/addons/web/static/src/js/view_form.js
+++ b/addons/web/static/src/js/view_form.js
@@ -15,7 +15,7 @@ openerp.web.FormView = openerp.web.View.extend( /** @lends openerp.web.FormView#
/**
* @constructs openerp.web.FormView
* @extends openerp.web.View
- *
+ *
* @param {openerp.web.Session} session the current openerp session
* @param {openerp.web.DataSet} dataset the dataset this view will work with
* @param {String} view_id the identifier of the OpenERP view object
@@ -1007,7 +1007,7 @@ openerp.web.form.WidgetButton = openerp.web.form.Widget.extend({
},
on_confirmed: function() {
var self = this;
-
+
var context = this.node.attrs.context;
if (context && context.__ref) {
context = new openerp.web.CompoundContext(context);
@@ -2745,13 +2745,13 @@ openerp.web.form.FieldStatus = openerp.web.form.Field.extend({
start: function() {
this._super();
this.selected_value = null;
-
+
this.render_list();
},
set_value: function(value) {
this._super(value);
this.selected_value = value;
-
+
this.render_list();
},
render_list: function() {
@@ -2759,7 +2759,7 @@ openerp.web.form.FieldStatus = openerp.web.form.Field.extend({
var shown = _.map(((this.node.attrs || {}).statusbar_visible || "").split(","),
function(x) { return _.trim(x); });
shown = _.select(shown, function(x) { return x.length > 0; });
-
+
if (shown.length == 0) {
this.to_show = this.field.selection;
} else {
@@ -2767,10 +2767,10 @@ openerp.web.form.FieldStatus = openerp.web.form.Field.extend({
return _.indexOf(shown, x[0]) !== -1 || x[0] === self.selected_value;
});
}
-
+
var content = openerp.web.qweb.render("FieldStatus.content", {widget: this, _:_});
this.$element.html(content);
-
+
var colors = JSON.parse((this.node.attrs || {}).statusbar_colors || "{}");
var color = colors[this.selected_value];
if (color) {
@@ -2872,6 +2872,7 @@ openerp.web.form.FieldSelectionReadonly = openerp.web.form.FieldReadonly.extend(
openerp.web.form.FieldMany2OneReadonly = openerp.web.form.FieldCharReadonly.extend({
set_value: function (value) {
value = value || null;
+ this._super(value);
this.invalid = false;
var self = this;
this.tmp_value = value;
From 062449472f5c5f8746d36e1c231e67c748d42f73 Mon Sep 17 00:00:00 2001
From: Fabien Meghazi
Date: Wed, 19 Oct 2011 16:45:07 +0200
Subject: [PATCH 22/44] [FIX] In paginated list view, clicking on a row on page
2+ goes to wrong record in form view
bzr revid: fme@openerp.com-20111019144507-j5oec235bw79gw73
---
addons/web/static/src/js/view_list.js | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/addons/web/static/src/js/view_list.js b/addons/web/static/src/js/view_list.js
index 629dc12c780..690a3cc4379 100644
--- a/addons/web/static/src/js/view_list.js
+++ b/addons/web/static/src/js/view_list.js
@@ -780,8 +780,7 @@ openerp.web.ListView.List = openerp.web.Class.extend( /** @lends openerp.web.Lis
e.stopPropagation();
var row_id = self.row_id(e.currentTarget);
if (row_id !== undefined) {
- self.dataset.index = self.records.indexOf(
- self.records.get(row_id));
+ self.dataset.index = self.dataset.ids.indexOf(row_id);
self.row_clicked(e);
}
});
@@ -789,7 +788,7 @@ openerp.web.ListView.List = openerp.web.Class.extend( /** @lends openerp.web.Lis
row_clicked: function () {
$(this).trigger(
'row_link',
- [this.records.at(this.dataset.index).get('id'),
+ [this.dataset.ids[this.dataset.index],
this.dataset]);
},
render_cell: function (record, column) {
From a958ff049fd2e237a7c369a969d478b35696652c Mon Sep 17 00:00:00 2001
From: Fabien Meghazi
Date: Wed, 19 Oct 2011 18:06:12 +0200
Subject: [PATCH 23/44] [REM] Removed a console.log
bzr revid: fme@openerp.com-20111019160612-w0ih265m5no00khg
---
addons/web/static/src/js/view_list.js | 1 -
1 file changed, 1 deletion(-)
diff --git a/addons/web/static/src/js/view_list.js b/addons/web/static/src/js/view_list.js
index 27ce2c7b4d2..690a3cc4379 100644
--- a/addons/web/static/src/js/view_list.js
+++ b/addons/web/static/src/js/view_list.js
@@ -780,7 +780,6 @@ openerp.web.ListView.List = openerp.web.Class.extend( /** @lends openerp.web.Lis
e.stopPropagation();
var row_id = self.row_id(e.currentTarget);
if (row_id !== undefined) {
- console.log(self.dataset);
self.dataset.index = self.dataset.ids.indexOf(row_id);
self.row_clicked(e);
}
From 2ed32d7cf67ee8945153ece9637e583009f254b8 Mon Sep 17 00:00:00 2001
From: Fabien Meghazi
Date: Wed, 19 Oct 2011 18:07:09 +0200
Subject: [PATCH 24/44] [FIX] Datetime wodget does not correctly parse date
when passing value to jQuery ui date picker
lp bug: https://launchpad.net/bugs/878206 fixed
bzr revid: fme@openerp.com-20111019160709-dwdpcz8hpy34k6d4
---
addons/web/static/src/js/view_form.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/addons/web/static/src/js/view_form.js b/addons/web/static/src/js/view_form.js
index d66002ef2dc..0c95cc6bba8 100644
--- a/addons/web/static/src/js/view_form.js
+++ b/addons/web/static/src/js/view_form.js
@@ -1257,7 +1257,7 @@ openerp.web.DateTimeWidget = openerp.web.Widget.extend({
});
this.$element.find('img.oe_datepicker_trigger').click(function() {
if (!self.readonly) {
- self.picker('setDate', self.value || new Date());
+ self.picker('setDate', self.value ? openerp.web.auto_str_to_date(self.value) : new Date());
self.$element.find('.oe_datepicker').toggle();
}
});
From 9a31b0a55e720d119b3d11e98adcb70a86b55a88 Mon Sep 17 00:00:00 2001
From: Launchpad Translations on behalf of openerp <>
Date: Thu, 20 Oct 2011 04:48:45 +0000
Subject: [PATCH 25/44] Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111020044845-r1meytu6clgr7sqp
---
addons/web/po/es.po | 8 +-
addons/web/po/gl.po | 194 +++++----
addons/web/po/sl.po | 707 +++++++++++++++++++++++++++++++
addons/web_calendar/po/gl.po | 22 +
addons/web_calendar/po/sl.po | 22 +
addons/web_dashboard/po/gl.po | 46 ++
addons/web_dashboard/po/sl.po | 46 ++
addons/web_default_home/po/gl.po | 38 ++
addons/web_default_home/po/sl.po | 38 ++
addons/web_diagram/po/gl.po | 54 +++
addons/web_diagram/po/sl.po | 54 +++
addons/web_mobile/po/gl.po | 66 +++
addons/web_mobile/po/sl.po | 66 +++
13 files changed, 1272 insertions(+), 89 deletions(-)
create mode 100644 addons/web/po/sl.po
create mode 100644 addons/web_calendar/po/gl.po
create mode 100644 addons/web_calendar/po/sl.po
create mode 100644 addons/web_dashboard/po/gl.po
create mode 100644 addons/web_dashboard/po/sl.po
create mode 100644 addons/web_default_home/po/gl.po
create mode 100644 addons/web_default_home/po/sl.po
create mode 100644 addons/web_diagram/po/gl.po
create mode 100644 addons/web_diagram/po/sl.po
create mode 100644 addons/web_mobile/po/gl.po
create mode 100644 addons/web_mobile/po/sl.po
diff --git a/addons/web/po/es.po b/addons/web/po/es.po
index 5302560f867..508b4e62245 100644
--- a/addons/web/po/es.po
+++ b/addons/web/po/es.po
@@ -8,14 +8,14 @@ msgstr ""
"Project-Id-Version: openerp-web\n"
"Report-Msgid-Bugs-To: FULL NAME \n"
"POT-Creation-Date: 2011-10-07 10:38+0200\n"
-"PO-Revision-Date: 2011-10-19 01:06+0000\n"
+"PO-Revision-Date: 2011-10-19 07:27+0000\n"
"Last-Translator: Amós Oviedo \n"
"Language-Team: Spanish \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2011-10-19 06:05+0000\n"
-"X-Generator: Launchpad (build 14157)\n"
+"X-Launchpad-Export-Date: 2011-10-20 04:48+0000\n"
+"X-Generator: Launchpad (build 14165)\n"
#: addons/web/static/src/js/view_form.js:355
msgid ""
@@ -349,7 +349,7 @@ msgstr "Duplicar"
#: addons/web/static/src/xml/base.xml:0
msgid "Readonly/Editable"
-msgstr "Sólo lectura/Editable"
+msgstr "Sólo Lectura/Editable"
#: addons/web/static/src/xml/base.xml:0
msgid "<<"
diff --git a/addons/web/po/gl.po b/addons/web/po/gl.po
index a090482293e..b43664b9bee 100644
--- a/addons/web/po/gl.po
+++ b/addons/web/po/gl.po
@@ -8,14 +8,14 @@ msgstr ""
"Project-Id-Version: openerp-web\n"
"Report-Msgid-Bugs-To: FULL NAME \n"
"POT-Creation-Date: 2011-10-07 10:38+0200\n"
-"PO-Revision-Date: 2011-10-19 01:05+0000\n"
+"PO-Revision-Date: 2011-10-19 07:54+0000\n"
"Last-Translator: Amós Oviedo \n"
"Language-Team: Galician \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2011-10-19 06:05+0000\n"
-"X-Generator: Launchpad (build 14157)\n"
+"X-Launchpad-Export-Date: 2011-10-20 04:48+0000\n"
+"X-Generator: Launchpad (build 14165)\n"
#: addons/web/static/src/js/view_form.js:355
msgid ""
@@ -316,171 +316,171 @@ msgstr "Primeiro"
#: addons/web/static/src/xml/base.xml:0
msgid "<"
-msgstr ""
+msgstr "<"
#: addons/web/static/src/xml/base.xml:0
msgid ">"
-msgstr ""
+msgstr ">"
#: addons/web/static/src/xml/base.xml:0
msgid "Last"
-msgstr ""
+msgstr "Último"
#: addons/web/static/src/xml/base.xml:0
msgid "♻"
-msgstr ""
+msgstr "♻"
#: addons/web/static/src/xml/base.xml:0
msgid "Save & Edit"
-msgstr ""
+msgstr "Gardar e Editar"
#: addons/web/static/src/xml/base.xml:0
msgid "Create & Edit"
-msgstr ""
+msgstr "Crear e Editar"
#: addons/web/static/src/xml/base.xml:0
msgid "New"
-msgstr ""
+msgstr "Novo"
#: addons/web/static/src/xml/base.xml:0
msgid "Duplicate"
-msgstr ""
+msgstr "Duplicar"
#: addons/web/static/src/xml/base.xml:0
msgid "Readonly/Editable"
-msgstr ""
+msgstr "Só Lectura/Editable"
#: addons/web/static/src/xml/base.xml:0
msgid "<<"
-msgstr ""
+msgstr "<<"
#: addons/web/static/src/xml/base.xml:0
msgid "0"
-msgstr ""
+msgstr "0"
#: addons/web/static/src/xml/base.xml:0
msgid "/"
-msgstr ""
+msgstr "/"
#: addons/web/static/src/xml/base.xml:0
msgid ">>"
-msgstr ""
+msgstr ">>"
#: addons/web/static/src/xml/base.xml:0
msgid "Add"
-msgstr ""
+msgstr "Engadir"
#: addons/web/static/src/xml/base.xml:0
msgid "Unhandled widget"
-msgstr ""
+msgstr "Widget non controlado"
#: addons/web/static/src/xml/base.xml:0
msgid "?"
-msgstr ""
+msgstr "?"
#: addons/web/static/src/xml/base.xml:0
msgid "#"
-msgstr ""
+msgstr "#"
#: addons/web/static/src/xml/base.xml:0
msgid "Done"
-msgstr ""
+msgstr "Feito"
#: addons/web/static/src/xml/base.xml:0
msgid "Open..."
-msgstr ""
+msgstr "Abrir..."
#: addons/web/static/src/xml/base.xml:0
msgid "Create..."
-msgstr ""
+msgstr "Crear…"
#: addons/web/static/src/xml/base.xml:0
msgid "Search..."
-msgstr ""
+msgstr "Buscar..."
#: addons/web/static/src/xml/base.xml:0
msgid "..."
-msgstr ""
+msgstr "…"
#: addons/web/static/src/xml/base.xml:0
msgid "Uploading ..."
-msgstr ""
+msgstr "Subindo ..."
#: addons/web/static/src/xml/base.xml:0
msgid "Select"
-msgstr ""
+msgstr "Seleccionar"
#: addons/web/static/src/xml/base.xml:0
msgid "Save As"
-msgstr ""
+msgstr "Gardar como"
#: addons/web/static/src/xml/base.xml:0
msgid "Clear"
-msgstr ""
+msgstr "Limpar"
#: addons/web/static/src/xml/base.xml:0
msgid "Advanced Filter"
-msgstr ""
+msgstr "Filtro Avanzado"
#: addons/web/static/src/xml/base.xml:0
msgid "-- Filters --"
-msgstr ""
+msgstr "-- Filtros --"
#: addons/web/static/src/xml/base.xml:0
msgid "-- Actions --"
-msgstr ""
+msgstr "-- Accións --"
#: addons/web/static/src/xml/base.xml:0
msgid "Save Filter"
-msgstr ""
+msgstr "Gardar Filtro"
#: addons/web/static/src/xml/base.xml:0
msgid "Manage Filters"
-msgstr ""
+msgstr "Xestionar filtros"
#: addons/web/static/src/xml/base.xml:0
msgid "Filter Name:"
-msgstr ""
+msgstr "Nome do Filtro"
#: addons/web/static/src/xml/base.xml:0
msgid "(Any existing filter with the same name will be replaced)"
-msgstr ""
+msgstr "(Calquer filtro existente co mesmo nome será reemplazado)"
#: addons/web/static/src/xml/base.xml:0
msgid "Any of the following conditions must match"
-msgstr ""
+msgstr "Calquera das condicións seguintes deben coincidir"
#: addons/web/static/src/xml/base.xml:0
msgid "All the following conditions must match"
-msgstr ""
+msgstr "Todas as condicións seguintes deben coincidir"
#: addons/web/static/src/xml/base.xml:0
msgid "None of the following conditions must match"
-msgstr ""
+msgstr "Ningunha das seguintes condicións deben coincidir"
#: addons/web/static/src/xml/base.xml:0
msgid "Add condition"
-msgstr ""
+msgstr "Engadir condición"
#: addons/web/static/src/xml/base.xml:0
msgid "and"
-msgstr ""
+msgstr "e"
#: addons/web/static/src/xml/base.xml:0
msgid "Cancel"
-msgstr ""
+msgstr "Cancelar"
#: addons/web/static/src/xml/base.xml:0
msgid "Save & New"
-msgstr ""
+msgstr "Gardar e Novo"
#: addons/web/static/src/xml/base.xml:0
msgid "Save & Close"
-msgstr ""
+msgstr "Gardar e Pechar"
#: addons/web/static/src/xml/base.xml:0
msgid "Export"
-msgstr ""
+msgstr "Exportar"
#: addons/web/static/src/xml/base.xml:0
msgid ""
@@ -489,172 +489,180 @@ msgid ""
" You can export all data or only the fields that can be "
"reimported after modification."
msgstr ""
+"Este asistente exportaralle todos os datos que coincidan cos criterios de "
+"procura actual a un arquivo CSV.\n"
+" Pode exportar todos os datos ou só os campos que poden "
+"importarse de novo despois da modificación."
#: addons/web/static/src/xml/base.xml:0
msgid "Export Type:"
-msgstr ""
+msgstr "Tipo de Exportación:"
#: addons/web/static/src/xml/base.xml:0
msgid "Import Compatible Export"
-msgstr ""
+msgstr "Exportación compatible con importación"
#: addons/web/static/src/xml/base.xml:0
msgid "Export all Data"
-msgstr ""
+msgstr "Exportar todos os datos"
#: addons/web/static/src/xml/base.xml:0
msgid "Export Formats"
-msgstr ""
+msgstr "Formatos de Exportación"
#: addons/web/static/src/xml/base.xml:0
msgid "Available fields"
-msgstr ""
+msgstr "Campos dispoñibles"
#: addons/web/static/src/xml/base.xml:0
msgid "Fields to export"
-msgstr ""
+msgstr "Campos a exportar"
#: addons/web/static/src/xml/base.xml:0
msgid "Save fields list"
-msgstr ""
+msgstr "Gardar lista de campos"
#: addons/web/static/src/xml/base.xml:0
msgid "Remove"
-msgstr ""
+msgstr "Eliminar"
#: addons/web/static/src/xml/base.xml:0
msgid "Remove All"
-msgstr ""
+msgstr "Eliminar Todo"
#: addons/web/static/src/xml/base.xml:0
msgid "Name"
-msgstr ""
+msgstr "Nome"
#: addons/web/static/src/xml/base.xml:0
msgid " "
-msgstr ""
+msgstr " "
#: addons/web/static/src/xml/base.xml:0
msgid "Save as:"
-msgstr ""
+msgstr "Gardar como:"
#: addons/web/static/src/xml/base.xml:0
msgid "Ok"
-msgstr ""
+msgstr "Ok"
#: addons/web/static/src/xml/base.xml:0
msgid "Saved exports:"
-msgstr ""
+msgstr "Exportacións gardadas:"
#: addons/web/static/src/xml/base.xml:0
msgid "Old Password:"
-msgstr ""
+msgstr "Contrasinal anterior:"
#: addons/web/static/src/xml/base.xml:0
msgid "New Password:"
-msgstr ""
+msgstr "Contrasinal nova:"
#: addons/web/static/src/xml/base.xml:0
msgid "Confirm Password:"
-msgstr ""
+msgstr "Confirmar contrasinal:"
#: addons/web/static/src/xml/base.xml:0
msgid "Import"
-msgstr ""
+msgstr "Importar"
#: addons/web/static/src/xml/base.xml:0
msgid "1. Import a .CSV file"
-msgstr ""
+msgstr "1. Importar un arquivo .CSV"
#: addons/web/static/src/xml/base.xml:0
msgid ""
"Select a .CSV file to import. If you need a sample of file to import,\n"
" you should use the export tool with the \"Import Compatible\" option."
msgstr ""
+"Seleccione un arquivo .CSV para importar. Se necesita unha mostra de arquivo "
+"para importar,\n"
+" debería usar a ferramenta de exportación coa opción de \"Importación "
+"Compatible\"."
#: addons/web/static/src/xml/base.xml:0
msgid "CSV File:"
-msgstr ""
+msgstr "Arquivo CSV:"
#: addons/web/static/src/xml/base.xml:0
msgid "2. Check your file format"
-msgstr ""
+msgstr "2. Comprobe o formato de arquivo"
#: addons/web/static/src/xml/base.xml:0
msgid "Import Options"
-msgstr ""
+msgstr "Importar opcións"
#: addons/web/static/src/xml/base.xml:0
msgid "Does your file have titles?"
-msgstr ""
+msgstr "¿Ten o seu arquivo títulos?"
#: addons/web/static/src/xml/base.xml:0
msgid "Separator:"
-msgstr ""
+msgstr "Separador:"
#: addons/web/static/src/xml/base.xml:0
msgid "Delimiter:"
-msgstr ""
+msgstr "Delimitador:"
#: addons/web/static/src/xml/base.xml:0
msgid "Encoding:"
-msgstr ""
+msgstr "Codificación:"
#: addons/web/static/src/xml/base.xml:0
msgid "UTF-8"
-msgstr ""
+msgstr "UTF-8"
#: addons/web/static/src/xml/base.xml:0
msgid "Latin 1"
-msgstr ""
+msgstr "Latin 1"
#: addons/web/static/src/xml/base.xml:0
msgid "Lines to skip"
-msgstr ""
+msgstr "Liñas a omitir"
#: addons/web/static/src/xml/base.xml:0
msgid "The import failed due to:"
-msgstr ""
+msgstr "A importación fallou debido a:"
#: addons/web/static/src/xml/base.xml:0
msgid "Here is a preview of the file we could not import:"
-msgstr ""
+msgstr "Esta é a vista previa do arquivo que non se pode importar:"
#: addons/web/static/src/xml/base.xml:0
msgid "OpenERP Web"
-msgstr ""
+msgstr "OpenERP Web"
#: addons/web/static/src/xml/base.xml:0
msgid "Version"
-msgstr ""
+msgstr "Versión"
#: addons/web/static/src/xml/base.xml:0
msgid "Copyright © 2011-TODAY OpenERP SA. All Rights Reserved."
-msgstr ""
+msgstr "Copyright © 2011-HOXE OpenERP SA. Todos os Dereitos Reservados."
#: addons/web/static/src/xml/base.xml:0
msgid "OpenERP is a trademark of the"
-msgstr ""
+msgstr "OpenERP é unha marca rexistrada da"
#: addons/web/static/src/xml/base.xml:0
msgid "OpenERP SA Company"
-msgstr ""
+msgstr "Compañía OpenERP SA"
#: addons/web/static/src/xml/base.xml:0
msgid "Licenced under the terms of"
-msgstr ""
+msgstr "Con licencia baixo os termos de"
#: addons/web/static/src/xml/base.xml:0
msgid "GNU Affero General Public License"
-msgstr ""
+msgstr "GNU Affero General Public License"
#: addons/web/static/src/xml/base.xml:0
msgid "About OpenERP"
-msgstr ""
+msgstr "Acerca de OpenERP"
#: addons/web/static/src/xml/base.xml:0
msgid "OpenERP"
-msgstr ""
+msgstr "OpenERP"
#: addons/web/static/src/xml/base.xml:0
msgid ""
@@ -665,6 +673,12 @@ msgid ""
"supply chain,\n"
" project management, production, services, CRM, etc..."
msgstr ""
+"É un sistema software empresarial-escalar libre deseñado para mellorar\n"
+" a productividade y beneficios a través da integración de datos. "
+"Conecta, mellora e\n"
+" xestiona os procesos de negocio en áreas como ventas, finanzas, "
+"cadena de suministro,\n"
+" xestión de proxectos, producción, servizos, CRM, etc..."
#: addons/web/static/src/xml/base.xml:0
msgid ""
@@ -677,9 +691,19 @@ msgid ""
" production system and migration to a new version to be "
"straightforward."
msgstr ""
+"O sistema é unha plataforma-independente, e pode ser instalada en Windows, "
+"Mac OS X,\n"
+" e varias distribucións Linux e outra basadas en Unix. A súa "
+"arquitectura permite\n"
+" crear novas funcionalidades rápidamente, as modificacións a "
+"facer nun\n"
+" sistema en producción e migración a unha nova versión son "
+"sinxelas."
#: addons/web/static/src/xml/base.xml:0
msgid ""
"Depending on your needs, OpenERP is available through a web or application "
"client."
msgstr ""
+"Segundo as súas necesidades, OpenERP está dispoñible a través dun cliente "
+"web ou unha aplicación de escritorio."
diff --git a/addons/web/po/sl.po b/addons/web/po/sl.po
new file mode 100644
index 00000000000..bc63e7ff313
--- /dev/null
+++ b/addons/web/po/sl.po
@@ -0,0 +1,707 @@
+# Slovenian translation for openerp-web
+# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
+# This file is distributed under the same license as the openerp-web package.
+# FIRST AUTHOR , 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: openerp-web\n"
+"Report-Msgid-Bugs-To: FULL NAME \n"
+"POT-Creation-Date: 2011-10-07 10:38+0200\n"
+"PO-Revision-Date: 2011-10-19 07:07+0000\n"
+"Last-Translator: Anze (Neotek) \n"
+"Language-Team: Slovenian \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2011-10-20 04:48+0000\n"
+"X-Generator: Launchpad (build 14165)\n"
+
+#: addons/web/static/src/js/view_form.js:355
+msgid ""
+"Warning, the record has been modified, your changes will be discarded."
+msgstr ""
+"Opozorilo, zapis je bil spremenjen, zato bodo vaše spremembe zavržene."
+
+#: addons/web/static/src/js/view_form.js:1659
+msgid " Search More..."
+msgstr " Iskanje več..."
+
+#: addons/web/static/src/js/view_form.js:1672
+#, python-format
+msgid " Create \"%s\""
+msgstr " Ustvari \"%s\""
+
+#: addons/web/static/src/js/view_form.js:1678
+msgid " Create and Edit..."
+msgstr " Ustvari in uredi..."
+
+#: addons/web/static/src/js/views.js:568
+msgid "You must choose at least one record."
+msgstr "Izbrati morate vsaj en zapis."
+
+#: addons/web/static/src/js/views.js:569
+msgid "Warning"
+msgstr "Opozorilo"
+
+#: addons/web/static/src/js/views.js:609
+msgid "Translations"
+msgstr "Prevodi"
+
+#: addons/web/static/src/js/views.js:614 addons/web/static/src/xml/base.xml:0
+msgid "Save"
+msgstr "Shrani"
+
+#: addons/web/static/src/js/views.js:615
+msgid "Close"
+msgstr "Zapri"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "x"
+msgstr "x"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "#{title}"
+msgstr "#{title}"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "#{text}"
+msgstr "#{text}"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Powered by"
+msgstr "Poganja ga"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "openerp.com"
+msgstr "openerp.com"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "."
+msgstr "."
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Loading..."
+msgstr "Nalaganje …"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Create"
+msgstr "Ustvari"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Drop"
+msgstr "Izbriši"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Backup"
+msgstr "Varnostna kopija"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Restore"
+msgstr "Obnovi"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Password"
+msgstr "Geslo"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Back to Login"
+msgstr "Nazaj na prijavo"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "CREATE DATABASE"
+msgstr "USTVARI PODATKOVNO BAZO"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Master password:"
+msgstr "Glavno geslo:"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "New database name:"
+msgstr "Ime nove podatkovne baze"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Load Demonstration data:"
+msgstr "Naloži demonstracijske podatke:"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Default language:"
+msgstr "Privzeti jezik:"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Admin password:"
+msgstr "Admin geslo:"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Confirm password:"
+msgstr "Potrdite geslo"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "DROP DATABASE"
+msgstr "IZBRIŠI PODATKOVNO BAZO"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Database:"
+msgstr "Podatkovna baza"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Master Password:"
+msgstr "Glavno geslo:"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "BACKUP DATABASE"
+msgstr "VARNOSTNA KOPIJA PODATKOVNE BAZE"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "RESTORE DATABASE"
+msgstr "OBNOVITEV PODATKOVNE BAZE"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "File:"
+msgstr "Datoteka:"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "CHANGE MASTER PASSWORD"
+msgstr "SPREMENI GLAVNO GELSO"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "New master password:"
+msgstr "Novo glavno geslo:"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Confirm new master password:"
+msgstr "Potrdi novo glavno geslo:"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "User:"
+msgstr "Uporabnik:"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Password:"
+msgstr "Geslo:"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Database"
+msgstr "Podatkovna baza"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Login"
+msgstr "Prijava"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Bad username or password"
+msgstr "Napačno uporabniško ime ali geslo"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid ""
+"We think that daily job activities can be more intuitive, efficient, "
+"automated, .. and even fun."
+msgstr ""
+"Menimo, da so lahko dnevne dejavnosti dela bolj intuitivna, učinkovita, "
+"avtomatska, .. in celo zabavna."
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "OpenERP's vision to be:"
+msgstr "Vizija OpenERP je:"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Full featured"
+msgstr "Oblikovno popoln"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid ""
+"Today's enterprise challenges are multiple. We provide one module for each "
+"need."
+msgstr ""
+"Današnja podjetja imajo več izzivov. Nudimo en modul za vsako potrebo."
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Open Source"
+msgstr "Odprta koda"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid ""
+"To Build a great product, we rely on the knowledge of thousands of "
+"contributors."
+msgstr ""
+"Za zgraditev odličnega izdeleka, se zanašamo na znanje tisočih sodelavcev."
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "User Friendly"
+msgstr "Prijazen do uporabnika"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid ""
+"In order to be productive, people need clean and easy to use interface."
+msgstr ""
+"Da bi bili produktivni, ljudje potrebujejo čist in enostaven za uporabniški "
+"vmesnik."
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "("
+msgstr "("
+
+#: addons/web/static/src/xml/base.xml:0
+msgid ")"
+msgstr ")"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "LOGOUT"
+msgstr "ODJAVA"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "«"
+msgstr "«"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "»"
+msgstr "»"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "oe_secondary_menu_item"
+msgstr "oe_secondary_menu_item"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "oe_secondary_submenu_item"
+msgstr "oe_secondary_submenu_item"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Hide this tip"
+msgstr "Skrij ta namig"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Disable all tips"
+msgstr "Onemogoči vse namige"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "View#"
+msgstr "Ogled#"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Fields"
+msgstr "Polja"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "View labels"
+msgstr "Ogled oznak"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Sidebar Relates"
+msgstr "Sorodne stranske vrstice"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Field"
+msgstr "Polje"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid ":"
+msgstr ":"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Translate view"
+msgstr "Preveden pogled"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Translate sidebar"
+msgstr "Prevedi stransko vrstico"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Delete"
+msgstr "Izbriši"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "First"
+msgstr "Začetek"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "<"
+msgstr "<"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid ">"
+msgstr ">"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Last"
+msgstr "Konec"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "♻"
+msgstr "♻"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Save & Edit"
+msgstr "Shrani & Uredi"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Create & Edit"
+msgstr "Ustvari & Uredi"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "New"
+msgstr "Novo"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Duplicate"
+msgstr "Podvoji"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Readonly/Editable"
+msgstr "Samo za branje/možno urejanje"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "<<"
+msgstr "<<"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "0"
+msgstr "0"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "/"
+msgstr "/"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid ">>"
+msgstr ">>"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Add"
+msgstr "Dodaj"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Unhandled widget"
+msgstr "Neobravnavani gradnik"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "?"
+msgstr "?"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "#"
+msgstr "#"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Done"
+msgstr "Končano"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Open..."
+msgstr "Odpri ..."
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Create..."
+msgstr "Ustvari ..."
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Search..."
+msgstr "Iskanje ..."
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "..."
+msgstr "..."
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Uploading ..."
+msgstr "Nalaganje..."
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Select"
+msgstr "Izberi"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Save As"
+msgstr "Shrani kot"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Clear"
+msgstr "Počisti"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Advanced Filter"
+msgstr "Napredni filter"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "-- Filters --"
+msgstr "-- Filtr i--"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "-- Actions --"
+msgstr "-- Dejanja --"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Save Filter"
+msgstr "Shrani filter"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Manage Filters"
+msgstr "Upravljanje filtrov"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Filter Name:"
+msgstr "Ime filtra:"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "(Any existing filter with the same name will be replaced)"
+msgstr "(Vsak obstoječ filter z istim imenom bo zamenjan)"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Any of the following conditions must match"
+msgstr "Vsak od teh pogojev se mora ujemati"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "All the following conditions must match"
+msgstr "Vsi naslednji pogoji se morajo ujemati"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "None of the following conditions must match"
+msgstr "Nobena od naslednjih pogojev se morajo ujemati"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Add condition"
+msgstr "Dodaj pogoj"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "and"
+msgstr "in"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Cancel"
+msgstr "Prekliči"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Save & New"
+msgstr "Shrani & Novo"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Save & Close"
+msgstr "Shrani & Zapri"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Export"
+msgstr "Izvozi"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid ""
+"This wizard will export all data that matches the current search criteria to "
+"a CSV file.\n"
+" You can export all data or only the fields that can be "
+"reimported after modification."
+msgstr ""
+"Ta čarovnik bo izvozil vse podatke, ki se ujemajo s trenutnim kriterijem "
+"iskanja, v datoteko CSV.\n"
+" Izvozite lahko vse podatke ali samo polja, ki jih je mogoče "
+"ponovno uvoziti po spremembi."
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Export Type:"
+msgstr "Tip izvoza:"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Import Compatible Export"
+msgstr "Uvozi kompatibilen izvoz"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Export all Data"
+msgstr "Izvozi vse podatke"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Export Formats"
+msgstr "Oblike izvoza"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Available fields"
+msgstr "Razpoložljiva polja"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Fields to export"
+msgstr "Polja za izvoz"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Save fields list"
+msgstr "Shrani seznam polj"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Remove"
+msgstr "Odstrani"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Remove All"
+msgstr "Odstrani vse"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Name"
+msgstr "Ime"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid " "
+msgstr " "
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Save as:"
+msgstr "Shrani kot:"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Ok"
+msgstr "Vredu"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Saved exports:"
+msgstr "Shranjeni izvozi:"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Old Password:"
+msgstr "Staro geslo:"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "New Password:"
+msgstr "Novo geslo:"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Confirm Password:"
+msgstr "Potrditev gesla:"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Import"
+msgstr "Uvozi"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "1. Import a .CSV file"
+msgstr "1. Uvozi .CSV datoteko"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid ""
+"Select a .CSV file to import. If you need a sample of file to import,\n"
+" you should use the export tool with the \"Import Compatible\" option."
+msgstr ""
+"Izberi datoteko .CSV za uvoz. Če potrebujete vzorec daoteke za uvoz,\n"
+" uporabite orodje izvoza z možnostjo \"Uvozi kompatibilno\"."
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "CSV File:"
+msgstr "CSV datoteka:"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "2. Check your file format"
+msgstr "2. Preveri format datoteke"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Import Options"
+msgstr "Možnosti uvoza"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Does your file have titles?"
+msgstr "Ali ima vaša datoteka naslove?"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Separator:"
+msgstr "Ločitelj:"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Delimiter:"
+msgstr "Razmejitelj:"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Encoding:"
+msgstr "Nabor znakov:"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "UTF-8"
+msgstr "UTF-8"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Latin 1"
+msgstr "Latin 1"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Lines to skip"
+msgstr "Vrstice za preskočit"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "The import failed due to:"
+msgstr "Uvoz ni uspel zaradi:"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Here is a preview of the file we could not import:"
+msgstr "Tukaj je predogled datoteke, ki je nismo mogli uvozit"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "OpenERP Web"
+msgstr "OpenERP Web"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Version"
+msgstr "Različica"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Copyright © 2011-TODAY OpenERP SA. All Rights Reserved."
+msgstr "Copyright © 2011-DANES OpenERP SA. Vse pravice pridržane."
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "OpenERP is a trademark of the"
+msgstr "OpenERP je blagovna znamka"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "OpenERP SA Company"
+msgstr "podjetja OpenERP SA"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "Licenced under the terms of"
+msgstr "Licencirana pod pogoji"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "GNU Affero General Public License"
+msgstr "GNU Affero General Public License"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "About OpenERP"
+msgstr "O OpenERP"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid "OpenERP"
+msgstr "OpenERP"
+
+#: addons/web/static/src/xml/base.xml:0
+msgid ""
+"is a free enterprise-scale software system that is designed to boost\n"
+" productivity and profit through data integration. It connects, "
+"improves and\n"
+" manages business processes in areas such as sales, finance, "
+"supply chain,\n"
+" project management, production, services, CRM, etc..."
+msgstr ""
+"je brezplačna podjetniškega obsega sistemska programska oprema, ki je "
+"namenjena za povečanje\n"
+" produktivnosti in dobička skozi podatkovno integracijo. "
+"Povezuje, izboljša in\n"
+" upravlja poslovne procese v okoljih kot so prodaja, finance, "
+"veriga dobavljanja,\n"
+" upravljanje projektov, proizvodnje, storitev, CRM, itd..."
+
+#: addons/web/static/src/xml/base.xml:0
+msgid ""
+"The system is platform-independent, and can be installed on Windows, Mac OS "
+"X,\n"
+" and various Linux and other Unix-based distributions. Its "
+"architecture enables\n"
+" new functionality to be rapidly created, modifications to be "
+"made to a\n"
+" production system and migration to a new version to be "
+"straightforward."
+msgstr ""
+"Sistem je neodvisnen od platforme in ga je mogoče namestiti na Windows, Mac "
+"OS X,\n"
+" in na različne Linux in ostale Unix-bazirane distribucije. "
+"Njegova arhitektura omogoča\n"
+" nove funkcionalnosti, ki so lahko hitro ustvarjene, "
+"modifikacija, ki se naredi v\n"
+" produkcijskem sistemu in migracijo na novo verzijo, ki se "
+"enostavno izvede."
+
+#: addons/web/static/src/xml/base.xml:0
+msgid ""
+"Depending on your needs, OpenERP is available through a web or application "
+"client."
+msgstr ""
+"Glede na vaše potrebe, je OpenERP na voljo prek spleta ali programskega "
+"klienta."
diff --git a/addons/web_calendar/po/gl.po b/addons/web_calendar/po/gl.po
new file mode 100644
index 00000000000..73ecf153937
--- /dev/null
+++ b/addons/web_calendar/po/gl.po
@@ -0,0 +1,22 @@
+# Galician translation for openerp-web
+# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
+# This file is distributed under the same license as the openerp-web package.
+# FIRST AUTHOR , 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: openerp-web\n"
+"Report-Msgid-Bugs-To: FULL NAME \n"
+"POT-Creation-Date: 2011-10-07 10:38+0200\n"
+"PO-Revision-Date: 2011-10-19 10:25+0000\n"
+"Last-Translator: Amós Oviedo \n"
+"Language-Team: Galician \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2011-10-20 04:48+0000\n"
+"X-Generator: Launchpad (build 14165)\n"
+
+#: addons/web_calendar/static/src/xml/web_calendar.xml:0
+msgid " "
+msgstr " "
diff --git a/addons/web_calendar/po/sl.po b/addons/web_calendar/po/sl.po
new file mode 100644
index 00000000000..40f8f43a756
--- /dev/null
+++ b/addons/web_calendar/po/sl.po
@@ -0,0 +1,22 @@
+# Slovenian translation for openerp-web
+# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
+# This file is distributed under the same license as the openerp-web package.
+# FIRST AUTHOR , 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: openerp-web\n"
+"Report-Msgid-Bugs-To: FULL NAME \n"
+"POT-Creation-Date: 2011-10-07 10:38+0200\n"
+"PO-Revision-Date: 2011-10-19 06:26+0000\n"
+"Last-Translator: Anze (Neotek) \n"
+"Language-Team: Slovenian \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2011-10-20 04:48+0000\n"
+"X-Generator: Launchpad (build 14165)\n"
+
+#: addons/web_calendar/static/src/xml/web_calendar.xml:0
+msgid " "
+msgstr " "
diff --git a/addons/web_dashboard/po/gl.po b/addons/web_dashboard/po/gl.po
new file mode 100644
index 00000000000..b7a081aff6f
--- /dev/null
+++ b/addons/web_dashboard/po/gl.po
@@ -0,0 +1,46 @@
+# Galician translation for openerp-web
+# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
+# This file is distributed under the same license as the openerp-web package.
+# FIRST AUTHOR , 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: openerp-web\n"
+"Report-Msgid-Bugs-To: FULL NAME \n"
+"POT-Creation-Date: 2011-10-07 10:39+0200\n"
+"PO-Revision-Date: 2011-10-19 10:29+0000\n"
+"Last-Translator: Amós Oviedo \n"
+"Language-Team: Galician \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2011-10-20 04:48+0000\n"
+"X-Generator: Launchpad (build 14165)\n"
+
+#: addons/web_dashboard/static/src/xml/web_dashboard.xml:0
+msgid "Reset"
+msgstr "Reiniciar"
+
+#: addons/web_dashboard/static/src/xml/web_dashboard.xml:0
+msgid "Undo"
+msgstr "Desfacer"
+
+#: addons/web_dashboard/static/src/xml/web_dashboard.xml:0
+msgid "Add Widget"
+msgstr "Engadir un widget"
+
+#: addons/web_dashboard/static/src/xml/web_dashboard.xml:0
+msgid "Change layout"
+msgstr "Cambiar disposición"
+
+#: addons/web_dashboard/static/src/xml/web_dashboard.xml:0
+msgid "Choose dashboard layout"
+msgstr "Cambiar disposición do taboleiro"
+
+#: addons/web_dashboard/static/src/xml/web_dashboard.xml:0
+msgid "progress:"
+msgstr "progreso:"
+
+#: addons/web_dashboard/static/src/xml/web_dashboard.xml:0
+msgid "%"
+msgstr "%"
diff --git a/addons/web_dashboard/po/sl.po b/addons/web_dashboard/po/sl.po
new file mode 100644
index 00000000000..9eee401c427
--- /dev/null
+++ b/addons/web_dashboard/po/sl.po
@@ -0,0 +1,46 @@
+# Slovenian translation for openerp-web
+# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
+# This file is distributed under the same license as the openerp-web package.
+# FIRST AUTHOR , 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: openerp-web\n"
+"Report-Msgid-Bugs-To: FULL NAME \n"
+"POT-Creation-Date: 2011-10-07 10:39+0200\n"
+"PO-Revision-Date: 2011-10-19 06:25+0000\n"
+"Last-Translator: Anze (Neotek) \n"
+"Language-Team: Slovenian \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2011-10-20 04:48+0000\n"
+"X-Generator: Launchpad (build 14165)\n"
+
+#: addons/web_dashboard/static/src/xml/web_dashboard.xml:0
+msgid "Reset"
+msgstr "Ponastavi"
+
+#: addons/web_dashboard/static/src/xml/web_dashboard.xml:0
+msgid "Undo"
+msgstr "Razveljavi"
+
+#: addons/web_dashboard/static/src/xml/web_dashboard.xml:0
+msgid "Add Widget"
+msgstr "Dodaj gradnik"
+
+#: addons/web_dashboard/static/src/xml/web_dashboard.xml:0
+msgid "Change layout"
+msgstr "Spreminjanje postavitve"
+
+#: addons/web_dashboard/static/src/xml/web_dashboard.xml:0
+msgid "Choose dashboard layout"
+msgstr "Izberite postavitev nadzorne plošče"
+
+#: addons/web_dashboard/static/src/xml/web_dashboard.xml:0
+msgid "progress:"
+msgstr "napredek:"
+
+#: addons/web_dashboard/static/src/xml/web_dashboard.xml:0
+msgid "%"
+msgstr "%"
diff --git a/addons/web_default_home/po/gl.po b/addons/web_default_home/po/gl.po
new file mode 100644
index 00000000000..4069197dec9
--- /dev/null
+++ b/addons/web_default_home/po/gl.po
@@ -0,0 +1,38 @@
+# Galician translation for openerp-web
+# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
+# This file is distributed under the same license as the openerp-web package.
+# FIRST AUTHOR , 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: openerp-web\n"
+"Report-Msgid-Bugs-To: FULL NAME \n"
+"POT-Creation-Date: 2011-10-07 10:39+0200\n"
+"PO-Revision-Date: 2011-10-19 10:31+0000\n"
+"Last-Translator: Amós Oviedo \n"
+"Language-Team: Galician \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2011-10-20 04:48+0000\n"
+"X-Generator: Launchpad (build 14165)\n"
+
+#: addons/web_default_home/static/src/xml/web_default_home.xml:0
+msgid "Welcome to your new OpenERP instance."
+msgstr "Binvido á súa nova instancia de OpenERP."
+
+#: addons/web_default_home/static/src/xml/web_default_home.xml:0
+msgid "Remember to bookmark this page."
+msgstr "Recorde engadir a marcadores esta páxgina"
+
+#: addons/web_default_home/static/src/xml/web_default_home.xml:0
+msgid "Remember your login:"
+msgstr "Recordar o seu inicio de sesión:"
+
+#: addons/web_default_home/static/src/xml/web_default_home.xml:0
+msgid "Choose the first OpenERP Application you want to install.."
+msgstr "Elixa a primeira Aplicación de OpenERP que quere instalar."
+
+#: addons/web_default_home/static/src/xml/web_default_home.xml:0
+msgid "Install"
+msgstr "Instalar"
diff --git a/addons/web_default_home/po/sl.po b/addons/web_default_home/po/sl.po
new file mode 100644
index 00000000000..d9f10a9e92f
--- /dev/null
+++ b/addons/web_default_home/po/sl.po
@@ -0,0 +1,38 @@
+# Slovenian translation for openerp-web
+# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
+# This file is distributed under the same license as the openerp-web package.
+# FIRST AUTHOR , 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: openerp-web\n"
+"Report-Msgid-Bugs-To: FULL NAME \n"
+"POT-Creation-Date: 2011-10-07 10:39+0200\n"
+"PO-Revision-Date: 2011-10-19 06:24+0000\n"
+"Last-Translator: Anze (Neotek) \n"
+"Language-Team: Slovenian \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2011-10-20 04:48+0000\n"
+"X-Generator: Launchpad (build 14165)\n"
+
+#: addons/web_default_home/static/src/xml/web_default_home.xml:0
+msgid "Welcome to your new OpenERP instance."
+msgstr "Dobrodošli v vaš nov primer OpenERP."
+
+#: addons/web_default_home/static/src/xml/web_default_home.xml:0
+msgid "Remember to bookmark this page."
+msgstr "Ne pozabite narediti zaznamka te strani."
+
+#: addons/web_default_home/static/src/xml/web_default_home.xml:0
+msgid "Remember your login:"
+msgstr "Zapomni si prijavo:"
+
+#: addons/web_default_home/static/src/xml/web_default_home.xml:0
+msgid "Choose the first OpenERP Application you want to install.."
+msgstr "Izberite prvi aplikacijo OpenERP, ki jo želite namestiti .."
+
+#: addons/web_default_home/static/src/xml/web_default_home.xml:0
+msgid "Install"
+msgstr "Namesti"
diff --git a/addons/web_diagram/po/gl.po b/addons/web_diagram/po/gl.po
new file mode 100644
index 00000000000..0aca25055d3
--- /dev/null
+++ b/addons/web_diagram/po/gl.po
@@ -0,0 +1,54 @@
+# Galician translation for openerp-web
+# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
+# This file is distributed under the same license as the openerp-web package.
+# FIRST AUTHOR , 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: openerp-web\n"
+"Report-Msgid-Bugs-To: FULL NAME \n"
+"POT-Creation-Date: 2011-10-07 10:39+0200\n"
+"PO-Revision-Date: 2011-10-19 10:33+0000\n"
+"Last-Translator: Amós Oviedo \n"
+"Language-Team: Galician \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2011-10-20 04:48+0000\n"
+"X-Generator: Launchpad (build 14165)\n"
+
+#: addons/web_diagram/static/src/xml/base_diagram.xml:0
+msgid "New Node"
+msgstr "Novo nodo"
+
+#: addons/web_diagram/static/src/xml/base_diagram.xml:0
+msgid "New Edge"
+msgstr "Novo marxe"
+
+#: addons/web_diagram/static/src/xml/base_diagram.xml:0
+msgid "Show Grid:"
+msgstr "Mostrar Grid:"
+
+#: addons/web_diagram/static/src/xml/base_diagram.xml:0
+msgid "First"
+msgstr "Primeiro"
+
+#: addons/web_diagram/static/src/xml/base_diagram.xml:0
+msgid "<<"
+msgstr "<<"
+
+#: addons/web_diagram/static/src/xml/base_diagram.xml:0
+msgid "0"
+msgstr "0"
+
+#: addons/web_diagram/static/src/xml/base_diagram.xml:0
+msgid "/"
+msgstr "/"
+
+#: addons/web_diagram/static/src/xml/base_diagram.xml:0
+msgid ">>"
+msgstr ">>"
+
+#: addons/web_diagram/static/src/xml/base_diagram.xml:0
+msgid "Last"
+msgstr "Último"
diff --git a/addons/web_diagram/po/sl.po b/addons/web_diagram/po/sl.po
new file mode 100644
index 00000000000..9cce3a3564e
--- /dev/null
+++ b/addons/web_diagram/po/sl.po
@@ -0,0 +1,54 @@
+# Slovenian translation for openerp-web
+# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
+# This file is distributed under the same license as the openerp-web package.
+# FIRST AUTHOR , 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: openerp-web\n"
+"Report-Msgid-Bugs-To: FULL NAME \n"
+"POT-Creation-Date: 2011-10-07 10:39+0200\n"
+"PO-Revision-Date: 2011-10-19 06:22+0000\n"
+"Last-Translator: Anze (Neotek) \n"
+"Language-Team: Slovenian \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2011-10-20 04:48+0000\n"
+"X-Generator: Launchpad (build 14165)\n"
+
+#: addons/web_diagram/static/src/xml/base_diagram.xml:0
+msgid "New Node"
+msgstr "Novo vozlišče"
+
+#: addons/web_diagram/static/src/xml/base_diagram.xml:0
+msgid "New Edge"
+msgstr "Nov rob"
+
+#: addons/web_diagram/static/src/xml/base_diagram.xml:0
+msgid "Show Grid:"
+msgstr "Pokaži mrežo:"
+
+#: addons/web_diagram/static/src/xml/base_diagram.xml:0
+msgid "First"
+msgstr "Začetek"
+
+#: addons/web_diagram/static/src/xml/base_diagram.xml:0
+msgid "<<"
+msgstr "<<"
+
+#: addons/web_diagram/static/src/xml/base_diagram.xml:0
+msgid "0"
+msgstr "0"
+
+#: addons/web_diagram/static/src/xml/base_diagram.xml:0
+msgid "/"
+msgstr "/"
+
+#: addons/web_diagram/static/src/xml/base_diagram.xml:0
+msgid ">>"
+msgstr ">>"
+
+#: addons/web_diagram/static/src/xml/base_diagram.xml:0
+msgid "Last"
+msgstr "Konec"
diff --git a/addons/web_mobile/po/gl.po b/addons/web_mobile/po/gl.po
new file mode 100644
index 00000000000..4049dfb8d1f
--- /dev/null
+++ b/addons/web_mobile/po/gl.po
@@ -0,0 +1,66 @@
+# Galician translation for openerp-web
+# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
+# This file is distributed under the same license as the openerp-web package.
+# FIRST AUTHOR , 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: openerp-web\n"
+"Report-Msgid-Bugs-To: FULL NAME \n"
+"POT-Creation-Date: 2011-10-07 10:39+0200\n"
+"PO-Revision-Date: 2011-10-19 10:36+0000\n"
+"Last-Translator: Amós Oviedo \n"
+"Language-Team: Galician \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2011-10-20 04:48+0000\n"
+"X-Generator: Launchpad (build 14165)\n"
+
+#: addons/web_mobile/static/src/xml/web_mobile.xml:0
+msgid "OpenERP"
+msgstr "OpenERP"
+
+#: addons/web_mobile/static/src/xml/web_mobile.xml:0
+msgid "Database:"
+msgstr "Base de datos:"
+
+#: addons/web_mobile/static/src/xml/web_mobile.xml:0
+msgid "Login:"
+msgstr "Inicio de sesión:"
+
+#: addons/web_mobile/static/src/xml/web_mobile.xml:0
+msgid "Password:"
+msgstr "Contrasinal:"
+
+#: addons/web_mobile/static/src/xml/web_mobile.xml:0
+msgid "Login"
+msgstr "Inicio de sesión"
+
+#: addons/web_mobile/static/src/xml/web_mobile.xml:0
+msgid "Bad username or password"
+msgstr "Nome de usuario ou contrasinal incorrectos"
+
+#: addons/web_mobile/static/src/xml/web_mobile.xml:0
+msgid "Favourite"
+msgstr "Favorito"
+
+#: addons/web_mobile/static/src/xml/web_mobile.xml:0
+msgid "Preference"
+msgstr "Preferenza"
+
+#: addons/web_mobile/static/src/xml/web_mobile.xml:0
+msgid "Applications"
+msgstr "Aplicacións"
+
+#: addons/web_mobile/static/src/xml/web_mobile.xml:0
+msgid "Options"
+msgstr "Opcións"
+
+#: addons/web_mobile/static/src/xml/web_mobile.xml:0
+msgid "Logout"
+msgstr "Pechar sesión"
+
+#: addons/web_mobile/static/src/xml/web_mobile.xml:0
+msgid ":"
+msgstr ":"
diff --git a/addons/web_mobile/po/sl.po b/addons/web_mobile/po/sl.po
new file mode 100644
index 00000000000..041141d4824
--- /dev/null
+++ b/addons/web_mobile/po/sl.po
@@ -0,0 +1,66 @@
+# Slovenian translation for openerp-web
+# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
+# This file is distributed under the same license as the openerp-web package.
+# FIRST AUTHOR , 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: openerp-web\n"
+"Report-Msgid-Bugs-To: FULL NAME \n"
+"POT-Creation-Date: 2011-10-07 10:39+0200\n"
+"PO-Revision-Date: 2011-10-19 06:19+0000\n"
+"Last-Translator: Anze (Neotek) \n"
+"Language-Team: Slovenian \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2011-10-20 04:48+0000\n"
+"X-Generator: Launchpad (build 14165)\n"
+
+#: addons/web_mobile/static/src/xml/web_mobile.xml:0
+msgid "OpenERP"
+msgstr "OpenERP"
+
+#: addons/web_mobile/static/src/xml/web_mobile.xml:0
+msgid "Database:"
+msgstr "Podatkovna baza"
+
+#: addons/web_mobile/static/src/xml/web_mobile.xml:0
+msgid "Login:"
+msgstr "Uporabnik:"
+
+#: addons/web_mobile/static/src/xml/web_mobile.xml:0
+msgid "Password:"
+msgstr "Geslo:"
+
+#: addons/web_mobile/static/src/xml/web_mobile.xml:0
+msgid "Login"
+msgstr "Prijava"
+
+#: addons/web_mobile/static/src/xml/web_mobile.xml:0
+msgid "Bad username or password"
+msgstr "Napačno uporabniško ime ali geslo"
+
+#: addons/web_mobile/static/src/xml/web_mobile.xml:0
+msgid "Favourite"
+msgstr "Priljubljen"
+
+#: addons/web_mobile/static/src/xml/web_mobile.xml:0
+msgid "Preference"
+msgstr "Lastnost"
+
+#: addons/web_mobile/static/src/xml/web_mobile.xml:0
+msgid "Applications"
+msgstr "Programi"
+
+#: addons/web_mobile/static/src/xml/web_mobile.xml:0
+msgid "Options"
+msgstr "Možnosti"
+
+#: addons/web_mobile/static/src/xml/web_mobile.xml:0
+msgid "Logout"
+msgstr "Odjava"
+
+#: addons/web_mobile/static/src/xml/web_mobile.xml:0
+msgid ":"
+msgstr ":"
From 70d9e3b7eddff2e3596d099926153a3848ba5379 Mon Sep 17 00:00:00 2001
From: "Yogesh (OpenERP)"
Date: Thu, 20 Oct 2011 10:50:16 +0530
Subject: [PATCH 26/44] [FIX] Set value in this.value instead of this.tmp_value
in many2onereadonly widget.
bzr revid: ysa@tinyerp.com-20111020052016-8exqlj462rahvyfe
---
addons/web/static/src/js/view_form.js | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/addons/web/static/src/js/view_form.js b/addons/web/static/src/js/view_form.js
index 321070f3080..8380a2c6a4a 100644
--- a/addons/web/static/src/js/view_form.js
+++ b/addons/web/static/src/js/view_form.js
@@ -2872,10 +2872,9 @@ openerp.web.form.FieldSelectionReadonly = openerp.web.form.FieldReadonly.extend(
openerp.web.form.FieldMany2OneReadonly = openerp.web.form.FieldCharReadonly.extend({
set_value: function (value) {
value = value || null;
- this._super(value);
this.invalid = false;
var self = this;
- this.tmp_value = value;
+ this.value = value;
self.update_dom();
self.on_value_changed();
var real_set_value = function(rval) {
From ee7f8b1d70dec5e3c67d8075108bb659acf8cbb5 Mon Sep 17 00:00:00 2001
From: "Bharat (OpenERP)"
Date: Thu, 20 Oct 2011 12:55:35 +0530
Subject: [PATCH 27/44] [FIX] point_of_sale : changed the table name of field
user_id in point_of_sale/wizard/pos_payment_report_user.py
lp bug: https://launchpad.net/bugs/872675 fixed
bzr revid: bde@tinyerp.com-20111020072535-u7f983qnej28x5d3
---
addons/point_of_sale/wizard/pos_payment_report_date_view.xml | 4 ++--
addons/point_of_sale/wizard/pos_payment_report_user.py | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/addons/point_of_sale/wizard/pos_payment_report_date_view.xml b/addons/point_of_sale/wizard/pos_payment_report_date_view.xml
index 7c74ae1d9be..053e7c9a723 100644
--- a/addons/point_of_sale/wizard/pos_payment_report_date_view.xml
+++ b/addons/point_of_sale/wizard/pos_payment_report_date_view.xml
@@ -21,7 +21,7 @@
-
+
@@ -35,4 +35,4 @@
new
-
+
diff --git a/addons/point_of_sale/wizard/pos_payment_report_user.py b/addons/point_of_sale/wizard/pos_payment_report_user.py
index 02db921618b..e947b8d06a9 100644
--- a/addons/point_of_sale/wizard/pos_payment_report_user.py
+++ b/addons/point_of_sale/wizard/pos_payment_report_user.py
@@ -46,7 +46,7 @@ class pos_payment_report_user(osv.osv_memory):
}
_columns = {
- 'user_id': fields.many2many('res.users', 'res_user_sale', 'user_id', 'sale_id', 'Salesman')
+ 'user_id': fields.many2many('res.users', 'res_user_sale_user', 'user_id', 'sale_id', 'Salesman')
}
pos_payment_report_user()
From 03e9077e7ae8f4d83aaceea7f9ac0381edad61ad Mon Sep 17 00:00:00 2001
From: Olivier Dony
Date: Thu, 20 Oct 2011 10:33:03 +0200
Subject: [PATCH 28/44] [REVERT] incorrect implementation of crm_profiling
wizard
This is a revert of rev.5422 rco@openerp.com-20111019144722-r3c1a62jp3cd5cpq
bzr revid: odo@openerp.com-20111020083303-u61dn5h0li49aybe
---
addons/crm_profiling/__openerp__.py | 2 +-
addons/crm_profiling/crm_profiling.py | 21 ++--
addons/crm_profiling/crm_profiling_view.xml | 9 +-
addons/crm_profiling/crm_profiling_wizard.xml | 5 +
.../wizard/open_questionnaire.py | 100 +++++++-----------
.../wizard/open_questionnaire_view.xml | 44 --------
6 files changed, 64 insertions(+), 117 deletions(-)
create mode 100644 addons/crm_profiling/crm_profiling_wizard.xml
delete mode 100644 addons/crm_profiling/wizard/open_questionnaire_view.xml
diff --git a/addons/crm_profiling/__openerp__.py b/addons/crm_profiling/__openerp__.py
index 382fbcb1b28..656f8360f0b 100644
--- a/addons/crm_profiling/__openerp__.py
+++ b/addons/crm_profiling/__openerp__.py
@@ -39,7 +39,7 @@ It also has been merged with the earlier CRM & SRM segmentation tool because the
'website': 'http://www.openerp.com',
'depends': ['base', 'crm'],
'init_xml': [],
- 'update_xml': ['security/ir.model.access.csv', 'wizard/open_questionnaire_view.xml', 'crm_profiling_view.xml'],
+ 'update_xml': ['security/ir.model.access.csv', 'crm_profiling_view.xml'],
'demo_xml': ['crm_profiling_demo.xml'],
'test': ['test/test_crm_profiling.yml'],
'installable': True,
diff --git a/addons/crm_profiling/crm_profiling.py b/addons/crm_profiling/crm_profiling.py
index 17cc04bc1d9..59137966da0 100644
--- a/addons/crm_profiling/crm_profiling.py
+++ b/addons/crm_profiling/crm_profiling.py
@@ -159,19 +159,19 @@ class questionnaire(osv.osv):
_name="crm_profiling.questionnaire"
_description= "Questionnaire"
- def build_form(self, cr, uid, questionnaire_id, context=None):
+ def build_form(self, cr, uid, data, context=None):
"""
@param self: The object pointer
@param cr: the current row, from the database cursor,
@param uid: the current user’s ID for security checks,
@param data: Get Data
@param context: A standard dictionary for contextual values """
-
+
query = """
select name, id
from crm_profiling_question
where id in ( select question from profile_questionnaire_quest_rel where questionnaire = %s)"""
- res = cr.execute(query, (questionnaire_id,))
+ res = cr.execute(query, (data['form']['questionnaire_name'],))
result = cr.fetchall()
quest_fields={}
quest_form='''
@@ -180,6 +180,7 @@ class questionnaire(osv.osv):
quest_form = quest_form + '' % (oid,)
quest_fields['quest_form%d' % (oid,)] = {'string': name, 'type': 'many2one', \
'relation': 'crm_profiling.answer', 'domain': [('question_id','=',oid)] }
+ quest_form = quest_form + ''''''
return quest_form, quest_fields
_columns = {
@@ -218,16 +219,16 @@ class partner(osv.osv):
@param context: A standard dictionary for contextual values """
temp = []
- for x in context.get('fields'):
- if x.startswith("quest_form") and data[x] != 0 :
- if data[x] and data[x][0]:
- temp.append(data[x][0])
- partner_id = context.get('active_id')
+ for x in data['form']:
+ if x.startswith("quest_form") and data['form'][x] != 0 :
+ temp.append(data['form'][x])
+
query = "select answer from partner_question_rel where partner=%s"
- cr.execute(query, (partner_id,))
+ cr.execute(query, (data['id'],))
for x in cr.fetchall():
temp.append(x[0])
- self.write(cr, uid, [partner_id], {'answers_ids':[[6, 0, temp]]}, context=context)
+
+ self.write(cr, uid, [data['id']], {'answers_ids':[[6, 0, temp]]}, context=context)
return {}
diff --git a/addons/crm_profiling/crm_profiling_view.xml b/addons/crm_profiling/crm_profiling_view.xml
index a54d3d4b0a9..258de2e4e2d 100644
--- a/addons/crm_profiling/crm_profiling_view.xml
+++ b/addons/crm_profiling/crm_profiling_view.xml
@@ -2,6 +2,13 @@
+
+
Questionnaires
crm_profiling.questionnaire
@@ -133,7 +140,7 @@
diff --git a/addons/crm_profiling/crm_profiling_wizard.xml b/addons/crm_profiling/crm_profiling_wizard.xml
new file mode 100644
index 00000000000..39d436a6bd9
--- /dev/null
+++ b/addons/crm_profiling/crm_profiling_wizard.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
diff --git a/addons/crm_profiling/wizard/open_questionnaire.py b/addons/crm_profiling/wizard/open_questionnaire.py
index 2dc357cbc46..91b82a02d1a 100644
--- a/addons/crm_profiling/wizard/open_questionnaire.py
+++ b/addons/crm_profiling/wizard/open_questionnaire.py
@@ -18,72 +18,50 @@
# along with this program. If not, see .
#
##############################################################################
+import pooler
+import wizard
+from tools import UpdateableStr, UpdateableDict
-from osv import osv, fields
-from tools.translate import _
+_QUEST_FORM = UpdateableStr()
+_QUEST_FIELDS=UpdateableDict()
-class open_questionnaire(osv.osv_memory):
- _name = 'open.questionnaire'
- _columns = {
- 'questionnaire_id': fields.many2one('crm_profiling.questionnaire', 'Questionnaire name', required=True),
+class open_questionnaire(wizard.interface):
+
+ def _questionnaire_compute(self, cr, uid, data, context):
+ pooler.get_pool(cr.dbname).get(data['model'])._questionnaire_compute(cr, uid, data, context)
+ return {}
+
+
+ def build_form(self, cr, uid, data, context):
+ quest_form, quest_fields = pooler.get_pool(cr.dbname).get('crm_profiling.questionnaire').build_form(cr, uid, data, context)
+ _QUEST_FORM. __init__(quest_form)
+ _QUEST_FIELDS.__init__(quest_fields)
+ return{}
+
+ _questionnaire_choice_arch = '''
+ '''
+
+ _questionnaire_choice_fields = {
+ 'questionnaire_name': {'string': 'Questionnaire name', 'type': 'many2one', 'relation': 'crm_profiling.questionnaire', 'required': True },
}
- def fields_view_get(self, cr, uid, view_id=None, view_type='form', context=None, toolbar=False, submenu=False):
- res = super(open_questionnaire, self).fields_view_get(cr, uid, view_id=view_id, view_type=view_type, context=context, toolbar=toolbar,submenu=False)
- if context.has_key('form') and context.has_key('fields'):
- field = {}
- form = context.get('form')
- form += """
-
-
-
-
-
-
-
-
- """
- res['fields'] = context.get('fields')
- for key, value in res['fields'].items():
- field[key] = fields.many2one('crm_profiling.answer', value['string'])
- self._columns.update(field)
- res['arch'] = form
- return res
-
-
- def questionnaire_compute(self, cr, uid, ids, context=None):
- """ Adds selected answers in partner form """
- model = context.get('active_model')
- if model == 'res.partner':
- data = self.read(cr, uid, ids, context.get('fields').keys(), context=context)[0]
- self.pool.get(model)._questionnaire_compute(cr, uid, data, context=context)
- return {'type': 'ir.actions.act_window_close'}
-
-
- def build_form(self, cr, uid, ids, context=None):
- """ Dynamically generates form according to selected questionnaire """
- models_data = self.pool.get('ir.model.data')
- questionnaire_id = self.browse(cr, uid, ids, context=context)[0].questionnaire_id.id
- quest_form, quest_fields = self.pool.get('crm_profiling.questionnaire').build_form(cr, uid, questionnaire_id, context=context)
- context.update({
- 'form': quest_form,
- 'fields': quest_fields
- })
-
- result = models_data._get_id(cr, uid, 'crm_profiling', 'view_open_questionnaire_form')
- res_id = models_data.browse(cr, uid, result, context=context).res_id
-
- return {
- 'name': _('Questionnaire'),
- 'view_type': 'form',
- 'view_mode': 'form',
- 'res_model': 'open.questionnaire',
- 'type': 'ir.actions.act_window',
- 'views': [(res_id,'form')],
- 'target': 'new',
- 'context': context
+ states = {
+ 'init': {
+ 'actions': [],
+ 'result': {'type': 'form', 'arch': _questionnaire_choice_arch, 'fields': _questionnaire_choice_fields, 'state':[('end', 'Cancel','gtk-cancel'), ('open', 'Open Questionnaire','terp-camera_test')]}
+ },
+ 'open': {
+ 'actions': [build_form],
+ 'result': {'type': 'form', 'arch':_QUEST_FORM, 'fields': _QUEST_FIELDS, 'state':[('end', 'Cancel','gtk-cancel'), ('compute', 'Save Data','terp-stock_format-scientific')]}
+ },
+ 'compute': {
+ 'actions': [],
+ 'result': {'type': 'action', 'action': _questionnaire_compute, 'state':'end'}
}
+ }
-open_questionnaire()
+open_questionnaire('open_questionnaire')
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
diff --git a/addons/crm_profiling/wizard/open_questionnaire_view.xml b/addons/crm_profiling/wizard/open_questionnaire_view.xml
deleted file mode 100644
index 8c17bd3b8c4..00000000000
--- a/addons/crm_profiling/wizard/open_questionnaire_view.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-
-
- Open Questionnaires
- open.questionnaire
- form
-
-
-
-
-
-
- Open Questionnaire
- open.questionnaire
- form
- form
- new
-
-
-
-
-
-
-
-
From 8e34b97b090b7b3dc80875c2932af8f04bc5487b Mon Sep 17 00:00:00 2001
From: Fabien Meghazi
Date: Thu, 20 Oct 2011 11:15:27 +0200
Subject: [PATCH 29/44] [ADD] Add format_text_node callback in qweb instance.
Will be used for translations
bzr revid: fme@openerp.com-20111020091527-wxnw5kfpucvlncif
---
addons/web/static/lib/qweb/qweb2.js | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/addons/web/static/lib/qweb/qweb2.js b/addons/web/static/lib/qweb/qweb2.js
index 621ea39c74f..5785ddaaa30 100644
--- a/addons/web/static/lib/qweb/qweb2.js
+++ b/addons/web/static/lib/qweb/qweb2.js
@@ -207,6 +207,7 @@ QWeb2.Engine = (function() {
this.reserved_words = QWeb2.RESERVED_WORDS.slice(0);
this.actions_precedence = QWeb2.ACTIONS_PRECEDENCE.slice(0);
this.word_replacement = QWeb2.tools.extend({}, QWeb2.WORD_REPLACEMENT);
+ this.format_text_node = null;
for (var i = 0; i < arguments.length; i++) {
this.add_template(arguments[i]);
}
@@ -486,12 +487,16 @@ QWeb2.Element = (function() {
},
_compile : function() {
switch (this.node.nodeType) {
- case 3:
- case 4:
- this.top_string(this.node.data);
+ case 3:
+ case 4:
+ var text = this.node.data;
+ if (this.engine.format_text_node) {
+ text = this.engine.format_text_node.call(this, text);
+ }
+ this.top_string(text);
break;
- case 1:
- this.compile_element();
+ case 1:
+ this.compile_element();
}
var r = this._top.join('');
if (this.process_children) {
From 278955b20741283746914d9633075a831db890f1 Mon Sep 17 00:00:00 2001
From: Fabien Meghazi
Date: Thu, 20 Oct 2011 11:16:19 +0200
Subject: [PATCH 30/44] [ADD] Web client now support template translations
bzr revid: fme@openerp.com-20111020091619-1i2nhopdgszsy48q
---
addons/web/static/src/js/core.js | 17 +++++++++++++++--
npybabel.py | 2 +-
2 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/addons/web/static/src/js/core.js b/addons/web/static/src/js/core.js
index 8dfbd68e6de..21a4ca21931 100644
--- a/addons/web/static/src/js/core.js
+++ b/addons/web/static/src/js/core.js
@@ -10,8 +10,6 @@ if (!console.debug) {
}
openerp.web.core = function(openerp) {
-openerp.web.qweb = new QWeb2.Engine();
-openerp.web.qweb.debug = (window.location.search.indexOf('?debug') !== -1);
/**
* John Resig Class with factory improvement
*/
@@ -1040,6 +1038,21 @@ openerp.web.TranslationDataBase = openerp.web.Class.extend(/** @lends openerp.we
});
openerp.web._t = new openerp.web.TranslationDataBase().build_translation_function();
+openerp.web.qweb = new QWeb2.Engine();
+openerp.web.qweb.debug = (window.location.search.indexOf('?debug') !== -1);
+openerp.web.qweb.format_text_node = function(s) {
+ // Note that 'this' is the Qweb Node of the text
+ var translation = this.node.parentElement.attributes['t-translation'];
+ if (translation && translation.value === 'off') {
+ return s;
+ }
+ var ts = _.trim(s);
+ if (ts.length === 0) {
+ return s;
+ }
+ var tr = openerp.web._t(ts);
+ return tr === ts ? s : tr;
+}
};
diff --git a/npybabel.py b/npybabel.py
index 0a3c75025c9..1b2e80a7a67 100755
--- a/npybabel.py
+++ b/npybabel.py
@@ -54,7 +54,7 @@ def extract_qweb(fileobj, keywords, comment_tags, options):
for el in current_element:
if "t-js" not in el.attrib and \
not ("t-jquery" in el.attrib and "t-operation" not in el.attrib) and \
- not ("t-trad" in el.attrib and el.attrib["t-trad"].strip() == "off"):
+ not ("t-translation" in el.attrib and el.attrib["t-translation"].strip() == "off"):
handle_text(el.text)
iter_elements(el)
handle_text(el.tail)
From 42b8b5a1391a225648bf669c9d0f09426ea4a8c0 Mon Sep 17 00:00:00 2001
From: "Bharat (OpenERP)"
Date: Thu, 20 Oct 2011 15:21:37 +0530
Subject: [PATCH 31/44] [FIX] point_of_sale : changed the table name and given
appropriate menu name for report
bzr revid: bde@tinyerp.com-20111020095137-onr5un3j6o9pmkvj
---
addons/point_of_sale/wizard/pos_payment_report_date.py | 2 +-
addons/point_of_sale/wizard/pos_payment_report_date_view.xml | 2 +-
addons/point_of_sale/wizard/pos_payment_report_user.py | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/addons/point_of_sale/wizard/pos_payment_report_date.py b/addons/point_of_sale/wizard/pos_payment_report_date.py
index e498eef6697..f97391c7f7d 100644
--- a/addons/point_of_sale/wizard/pos_payment_report_date.py
+++ b/addons/point_of_sale/wizard/pos_payment_report_date.py
@@ -55,7 +55,7 @@ class pos_payment_report_date(osv.osv_memory):
_columns = {
'date_start': fields.date('Start Date', required=True),
'date_end': fields.date('End Date', required=True),
- 'user_id': fields.many2many('res.users', 'res_user_sale', 'user_id', 'sale_id', 'Salesman')
+ 'user_id': fields.many2many('res.users', 'res_user_sale_date', 'user_id', 'sale_id', 'Salesman')
}
_defaults = {
'date_start': lambda *a: time.strftime('%Y-%m-%d'),
diff --git a/addons/point_of_sale/wizard/pos_payment_report_date_view.xml b/addons/point_of_sale/wizard/pos_payment_report_date_view.xml
index 053e7c9a723..b684fd35839 100644
--- a/addons/point_of_sale/wizard/pos_payment_report_date_view.xml
+++ b/addons/point_of_sale/wizard/pos_payment_report_date_view.xml
@@ -27,7 +27,7 @@
- Sales by Products
+ Sales by Users
ir.actions.act_window
pos.payment.report.date
form
diff --git a/addons/point_of_sale/wizard/pos_payment_report_user.py b/addons/point_of_sale/wizard/pos_payment_report_user.py
index e947b8d06a9..02db921618b 100644
--- a/addons/point_of_sale/wizard/pos_payment_report_user.py
+++ b/addons/point_of_sale/wizard/pos_payment_report_user.py
@@ -46,7 +46,7 @@ class pos_payment_report_user(osv.osv_memory):
}
_columns = {
- 'user_id': fields.many2many('res.users', 'res_user_sale_user', 'user_id', 'sale_id', 'Salesman')
+ 'user_id': fields.many2many('res.users', 'res_user_sale', 'user_id', 'sale_id', 'Salesman')
}
pos_payment_report_user()
From 6a7c1b1002477917261df34e287b60cc42695f62 Mon Sep 17 00:00:00 2001
From: "Quentin (OpenERP)"
Date: Thu, 20 Oct 2011 12:21:26 +0200
Subject: [PATCH 32/44] [FIX] stock, partial picking: reverted fix of bug
833770 (made in revision 5413) to implement it in another way. The reason is
that if you want to process a picking that is partially available, you have
several solutions: you can force the availability of unready lines but it
means that if you partially process those lines, the quantity not processed
will stay with the status 'available', or you can just allow people to see
also the unready lines in the partial picking wizard.... but, in order to
have a smooth processing for most of the cases, the unassigned lines will be
with a quantity of 0, so that if you don't change anything it will process
only available lines, and if you want to partially process an unavailable
line, then you still have the opportunity to do so. This approach is much
more flexible.
bzr revid: qdp-launchpad@openerp.com-20111020102126-rizauy5k2gmrmdbj
---
addons/stock/wizard/stock_partial_picking.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/addons/stock/wizard/stock_partial_picking.py b/addons/stock/wizard/stock_partial_picking.py
index dd810ae7182..d617ea2b5da 100644
--- a/addons/stock/wizard/stock_partial_picking.py
+++ b/addons/stock/wizard/stock_partial_picking.py
@@ -62,7 +62,7 @@ class stock_partial_picking(osv.osv_memory):
res.update(picking_id=picking_id)
if 'move_ids' in fields:
picking = self.pool.get('stock.picking').browse(cr, uid, picking_id, context=context)
- moves = [self._partial_move_for(cr, uid, m) for m in picking.move_lines if m.state == 'assigned']
+ moves = [self._partial_move_for(cr, uid, m) for m in picking.move_lines if m.state not in ('done','cancel')]
res.update(move_ids=moves)
if 'date' in fields:
res.update(date=time.strftime(DEFAULT_SERVER_DATETIME_FORMAT))
@@ -88,7 +88,7 @@ class stock_partial_picking(osv.osv_memory):
def _partial_move_for(self, cr, uid, move):
partial_move = {
'product_id' : move.product_id.id,
- 'quantity' : move.product_qty,
+ 'quantity' : move.state == 'assigned' and move.product_qty or 0,
'product_uom' : move.product_uom.id,
'prodlot_id' : move.prodlot_id.id,
'move_id' : move.id,
From ca453718e8498f29ecefca587c8dadfd72beb11a Mon Sep 17 00:00:00 2001
From: Fabien Meghazi
Date: Thu, 20 Oct 2011 12:39:26 +0200
Subject: [PATCH 33/44] [FIX] Fix calendar notification. Only notify events
with no date_start in debug mode.
bzr revid: fme@openerp.com-20111020103926-oyfx6d903a85b3jc
---
addons/web_calendar/static/src/js/calendar.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/addons/web_calendar/static/src/js/calendar.js b/addons/web_calendar/static/src/js/calendar.js
index e98a3620eb0..a5fd8bcac9c 100644
--- a/addons/web_calendar/static/src/js/calendar.js
+++ b/addons/web_calendar/static/src/js/calendar.js
@@ -156,7 +156,9 @@ openerp.web_calendar.CalendarView = openerp.web.View.extend({
for (var e = 0; e < events.length; e++) {
var evt = events[e];
if (!evt[this.date_start]) {
- this.notification.warn("Start date is not defined for event :", evt['id']);
+ if (this.session.debug) {
+ this.do_warn("Start date is not defined for event :", evt['id']);
+ }
break;
}
From b4cb0ae4772e2fab08678ce5255295a3ece1f4ac Mon Sep 17 00:00:00 2001
From: Fabien Meghazi
Date: Thu, 20 Oct 2011 12:42:18 +0200
Subject: [PATCH 34/44] [IMP] QWeb2: do not swallow stack trace with try,catch
in debug mode
bzr revid: fme@openerp.com-20111020104218-q0qe91v99hz8a4yq
---
addons/web/static/lib/qweb/qweb2.js | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/addons/web/static/lib/qweb/qweb2.js b/addons/web/static/lib/qweb/qweb2.js
index 5785ddaaa30..34457ade4fd 100644
--- a/addons/web/static/lib/qweb/qweb2.js
+++ b/addons/web/static/lib/qweb/qweb2.js
@@ -318,12 +318,14 @@ QWeb2.Engine = (function() {
" dict = dict || {};\n" +
" dict['__template__'] = '" + template + "';\n" +
" var r = [];\n" +
- " /* START TEMPLATE */ try {\n" +
+ " /* START TEMPLATE */" +
+ (this.debug ? "" : " try {\n") +
(e.compile()) + "\n" +
- " /* END OF TEMPLATE */ } catch(error) {\n" +
+ " /* END OF TEMPLATE */" +
+ (this.debug ? "" : " } catch(error) {\n" +
" if (console && console.exception) console.exception(error);\n" +
- " context.engine.tools.exception('Runtime Error: ' + error, context);\n" +
- " }\n" +
+ " context.engine.tools.exception('Runtime Error: ' + error, context);\n") +
+ (this.debug ? "" : " }\n") +
" return r.join('');";
},
render : function(template, dict) {
From ae8d719ba8ac120314ec810408ad3257fe1a31dc Mon Sep 17 00:00:00 2001
From: Xavier Morel
Date: Thu, 20 Oct 2011 15:20:20 +0200
Subject: [PATCH 35/44] [FIX] missing state field in account.invoice.line
inlined in form view account.invoice.supplier.form
bzr revid: xmo@openerp.com-20111020132020-kwifihi24r4bb77u
---
.../account_invoice_layout_view.xml | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/addons/account_invoice_layout/account_invoice_layout_view.xml b/addons/account_invoice_layout/account_invoice_layout_view.xml
index 6bdabae9326..062349f7716 100644
--- a/addons/account_invoice_layout/account_invoice_layout_view.xml
+++ b/addons/account_invoice_layout/account_invoice_layout_view.xml
@@ -55,6 +55,18 @@
+
+ account.invoice.supplier.form.layout
+ account.invoice
+
+ form
+
+
+
+
+
+
+
notify.message.search
From f858b6b9f531dbc1b8cd812dc3e7173f37922e08 Mon Sep 17 00:00:00 2001
From: Fabien Meghazi
Date: Thu, 20 Oct 2011 15:41:05 +0200
Subject: [PATCH 36/44] [IMP] Kanban: do not fetch all fields when reloading
record
bzr revid: fme@openerp.com-20111020134105-qlpib73bmqotu3jd
---
addons/web_kanban/static/src/js/kanban.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/addons/web_kanban/static/src/js/kanban.js b/addons/web_kanban/static/src/js/kanban.js
index dcd168536d8..9f31f368c7f 100644
--- a/addons/web_kanban/static/src/js/kanban.js
+++ b/addons/web_kanban/static/src/js/kanban.js
@@ -242,7 +242,7 @@ openerp.web_kanban.KanbanView = openerp.web.View.extend({
*/
on_reload_record: function (record_id){
var self = this;
- this.dataset.read_ids([record_id], [], function (records) {
+ this.dataset.read_ids([record_id], _.keys(self.fields_view.fields), function (records) {
if (records.length > 0) {
for (var i=0, ii=self.all_display_data.length; i < ii; i++) {
for(j=0, jj=self.all_display_data[i].records.length; j < jj; j++) {
From b424be8f23b7dd0945b6a0e93d77d0ebc38defa2 Mon Sep 17 00:00:00 2001
From: Fabien Meghazi
Date: Thu, 20 Oct 2011 16:32:54 +0200
Subject: [PATCH 37/44] [IMP] Kanban: we always have a form view
bzr revid: fme@openerp.com-20111020143254-38fk0dfbq00j7kwf
---
addons/web_kanban/static/src/js/kanban.js | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/addons/web_kanban/static/src/js/kanban.js b/addons/web_kanban/static/src/js/kanban.js
index 9f31f368c7f..f32d9be0890 100644
--- a/addons/web_kanban/static/src/js/kanban.js
+++ b/addons/web_kanban/static/src/js/kanban.js
@@ -18,10 +18,8 @@ openerp.web_kanban.KanbanView = openerp.web.View.extend({
this.qweb = new QWeb2.Engine();
this.aggregates = {};
this.NO_OF_COLUMNS = 3;
- if (this.options.action_views_ids.form) {
- this.form_dialog = new openerp.web.FormDialog(this, {}, this.options.action_views_ids.form, dataset).start();
- this.form_dialog.on_form_dialog_saved.add_last(this.on_record_saved);
- }
+ this.form_dialog = new openerp.web.FormDialog(this, {}, this.options.action_views_ids.form, dataset).start();
+ this.form_dialog.on_form_dialog_saved.add_last(this.on_record_saved);
},
start: function() {
this._super();
@@ -203,12 +201,8 @@ openerp.web_kanban.KanbanView = openerp.web.View.extend({
this.do_switch_view('form');
},
do_edit_record: function(record_id) {
- if (this.form_dialog) {
- this.form_dialog.load_id(record_id);
- this.form_dialog.open();
- } else {
- this.notification.warn("Kanban", "No form view defined for this object");
- }
+ this.form_dialog.load_id(record_id);
+ this.form_dialog.open();
},
on_record_saved: function(r) {
var id = this.form_dialog.form.datarecord.id;
From e1e7cadedecb59fb3855ce3b1ee9c85526e3b51e Mon Sep 17 00:00:00 2001
From: Xavier Morel
Date: Thu, 20 Oct 2011 17:05:40 +0200
Subject: [PATCH 38/44] [FIX] cookies handling in openerp Session, js-side
bzr revid: xmo@openerp.com-20111020150540-ms0sdzd5qi6pz38o
---
addons/web/static/src/js/core.js | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/addons/web/static/src/js/core.js b/addons/web/static/src/js/core.js
index 21a4ca21931..4ed33341ea6 100644
--- a/addons/web/static/src/js/core.js
+++ b/addons/web/static/src/js/core.js
@@ -361,6 +361,9 @@ openerp.web.Session = openerp.web.CallbackEnabled.extend( /** @lends openerp.web
this.context = {};
this.shortcuts = [];
this.active_id = null;
+ // TODO: session should have an optional name indicating that they'll
+ // be saved to (and revived from) cookies
+ this.name = 'session';
},
start: function() {
this.session_restore();
@@ -525,7 +528,8 @@ openerp.web.Session = openerp.web.CallbackEnabled.extend( /** @lends openerp.web
* @param name the cookie's name
*/
get_cookie: function (name) {
- var nameEQ = this.element_id + '|' + name + '=';
+ if (!this.name) { return null; }
+ var nameEQ = this.name + '|' + name + '=';
var cookies = document.cookie.split(';');
for(var i=0; i
Date: Thu, 20 Oct 2011 17:30:33 +0200
Subject: [PATCH 39/44] [IMP] Kanban: do not load all records in read_slice
bzr revid: fme@openerp.com-20111020153033-2t4fgds8squ0oic8
---
addons/web_kanban/static/src/js/kanban.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/addons/web_kanban/static/src/js/kanban.js b/addons/web_kanban/static/src/js/kanban.js
index f32d9be0890..9785907a072 100644
--- a/addons/web_kanban/static/src/js/kanban.js
+++ b/addons/web_kanban/static/src/js/kanban.js
@@ -442,7 +442,7 @@ openerp.web_kanban.KanbanView = openerp.web.View.extend({
},
function (dataset) {
self.groups = [];
- self.dataset.read_slice([], {}, function(records) {
+ self.dataset.read_slice(_.keys(self.fields_view.fields), {}, function(records) {
if (records.length) {
self.all_display_data = [{'records': records, 'value':false, 'header' : false, 'ids': self.dataset.ids}];
} else {
From 05dcbcf7ab12a16d6827da355784a4e0d060293c Mon Sep 17 00:00:00 2001
From: Fabien Meghazi
Date: Thu, 20 Oct 2011 17:54:13 +0200
Subject: [PATCH 40/44] [FIX] Kanban: do not overwrite view manager's dataset
ids and index
lp bug: https://launchpad.net/bugs/878043 fixed
bzr revid: fme@openerp.com-20111020155413-x88jok70vhqmpy4j
---
addons/web_kanban/static/src/js/kanban.js | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/addons/web_kanban/static/src/js/kanban.js b/addons/web_kanban/static/src/js/kanban.js
index 9785907a072..73e945f2d09 100644
--- a/addons/web_kanban/static/src/js/kanban.js
+++ b/addons/web_kanban/static/src/js/kanban.js
@@ -471,8 +471,9 @@ openerp.web_kanban.KanbanView = openerp.web.View.extend({
_.each(self.aggregates, function(value, key) {
group_aggregates[value] = group.aggregates[key];
});
- self.dataset.read_slice([], {'domain': group.domain, 'conext': group.context}, function(records) {
- self.all_display_data.push({"value" : group_value, "records": records, 'header':group_name, 'ids': self.dataset.ids, 'aggregates': group_aggregates});
+ var dataset = new openerp.web.DataSetSearch(self, self.dataset.model, group.context, group.domain);
+ dataset.read_slice(_.keys(self.fields_view.fields), {'domain': group.domain, 'conext': group.context}, function(records) {
+ self.all_display_data.push({"value" : group_value, "records": records, 'header':group_name, 'ids': dataset.ids, 'aggregates': group_aggregates});
if (datagroups.length == self.all_display_data.length) {
self.$element.find(".oe_kanban_view").remove();
self.on_show_data();
From 688cd2730c4ec0835ec968c85bbcf7326f34b2c3 Mon Sep 17 00:00:00 2001
From: Fabien Meghazi
Date: Thu, 20 Oct 2011 18:20:22 +0200
Subject: [PATCH 41/44] [ADD] Added DataSet#select_id()
bzr revid: fme@openerp.com-20111020162022-l9wifgvi6qvjb5a2
---
addons/web/static/src/js/data.js | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/addons/web/static/src/js/data.js b/addons/web/static/src/js/data.js
index ea0824fb1df..475dbe5421c 100644
--- a/addons/web/static/src/js/data.js
+++ b/addons/web/static/src/js/data.js
@@ -263,6 +263,15 @@ openerp.web.DataSet = openerp.web.Widget.extend( /** @lends openerp.web.DataSet
}
return this;
},
+ select_id: function(id) {
+ var idx = _.indexOf(this.ids, id);
+ if (idx === -1) {
+ return false;
+ } else {
+ this.index = idx;
+ return true;
+ }
+ },
/**
* Read records.
*
From 69d36a02ca701aabdd71c05b8d6578de0afef3ef Mon Sep 17 00:00:00 2001
From: Fabien Meghazi
Date: Thu, 20 Oct 2011 18:22:55 +0200
Subject: [PATCH 42/44] [FIX] Fix bug for Internet Explorer 3.0
In fact IE<9
bzr revid: fme@openerp.com-20111020162255-5duca37zd18by343
---
addons/web/static/src/js/view_list.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/addons/web/static/src/js/view_list.js b/addons/web/static/src/js/view_list.js
index 690a3cc4379..d09ec1d3035 100644
--- a/addons/web/static/src/js/view_list.js
+++ b/addons/web/static/src/js/view_list.js
@@ -780,7 +780,9 @@ openerp.web.ListView.List = openerp.web.Class.extend( /** @lends openerp.web.Lis
e.stopPropagation();
var row_id = self.row_id(e.currentTarget);
if (row_id !== undefined) {
- self.dataset.index = self.dataset.ids.indexOf(row_id);
+ if (!self.dataset.select_id(row_id)) {
+ throw "Could not find id in dataset"
+ }
self.row_clicked(e);
}
});
From faafa77c46916069b624a1272499c546f64fbf22 Mon Sep 17 00:00:00 2001
From: Fabien Meghazi
Date: Thu, 20 Oct 2011 18:30:08 +0200
Subject: [PATCH 43/44] [REM] Removed FormDialog#load_id(). Use
FormDialog#select_id() instead
bzr revid: fme@openerp.com-20111020163008-8qy874po2lgedxay
---
addons/web/static/src/js/view_form.js | 12 +++++++-----
addons/web_kanban/static/src/js/kanban.js | 6 ++++--
2 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/addons/web/static/src/js/view_form.js b/addons/web/static/src/js/view_form.js
index 8380a2c6a4a..f8168d21466 100644
--- a/addons/web/static/src/js/view_form.js
+++ b/addons/web/static/src/js/view_form.js
@@ -551,11 +551,13 @@ openerp.web.FormDialog = openerp.web.Dialog.extend({
this.form.on_saved.add_last(this.on_form_dialog_saved);
return this;
},
- load_id: function(id) {
- var self = this;
- return this.dataset.read_ids([id], _.keys(this.form.fields_view.fields), function(records) {
- self.form.on_record_loaded(records[0]);
- });
+ select_id: function(id) {
+ if (this.form.dataset.select_id(id)) {
+ return this.form.do_show();
+ } else {
+ this.do_warn("Could not find id in dataset");
+ return $.Deferred().reject();
+ }
},
on_form_dialog_saved: function(r) {
this.close();
diff --git a/addons/web_kanban/static/src/js/kanban.js b/addons/web_kanban/static/src/js/kanban.js
index 73e945f2d09..81614110958 100644
--- a/addons/web_kanban/static/src/js/kanban.js
+++ b/addons/web_kanban/static/src/js/kanban.js
@@ -201,8 +201,10 @@ openerp.web_kanban.KanbanView = openerp.web.View.extend({
this.do_switch_view('form');
},
do_edit_record: function(record_id) {
- this.form_dialog.load_id(record_id);
- this.form_dialog.open();
+ var self = this;
+ this.form_dialog.select_id(record_id).then(function() {
+ self.form_dialog.open();
+ });
},
on_record_saved: function(r) {
var id = this.form_dialog.form.datarecord.id;
From 9ada92fa884805e5ac147e7d82cbb24b028e82ab Mon Sep 17 00:00:00 2001
From: Launchpad Translations on behalf of openerp <>
Date: Fri, 21 Oct 2011 04:55:44 +0000
Subject: [PATCH 44/44] Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111021045544-km36gr75wu8vth7l
---
addons/document_ftp/i18n/sl.po | 137 +++++++++++++++++++++++++++++++++
1 file changed, 137 insertions(+)
create mode 100644 addons/document_ftp/i18n/sl.po
diff --git a/addons/document_ftp/i18n/sl.po b/addons/document_ftp/i18n/sl.po
new file mode 100644
index 00000000000..88cbc9acec0
--- /dev/null
+++ b/addons/document_ftp/i18n/sl.po
@@ -0,0 +1,137 @@
+# Slovenian translation for openobject-addons
+# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
+# This file is distributed under the same license as the openobject-addons package.
+# FIRST AUTHOR , 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: openobject-addons\n"
+"Report-Msgid-Bugs-To: FULL NAME \n"
+"POT-Creation-Date: 2011-01-11 11:15+0000\n"
+"PO-Revision-Date: 2011-10-19 07:34+0000\n"
+"Last-Translator: FULL NAME \n"
+"Language-Team: Slovenian \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2011-10-21 04:55+0000\n"
+"X-Generator: Launchpad (build 14165)\n"
+
+#. module: document_ftp
+#: model:ir.model,name:document_ftp.model_document_ftp_configuration
+msgid "Auto Directory Configuration"
+msgstr "Avto konfiguracija map"
+
+#. module: document_ftp
+#: view:document.ftp.configuration:0
+msgid ""
+"Indicate the network address on which your OpenERP server should be "
+"reachable for end-users. This depends on your network topology and "
+"configuration, and will only affect the links displayed to the users. The "
+"format is HOST:PORT and the default host (localhost) is only suitable for "
+"access from the server machine itself.."
+msgstr ""
+
+#. module: document_ftp
+#: field:document.ftp.configuration,progress:0
+msgid "Configuration Progress"
+msgstr ""
+
+#. module: document_ftp
+#: model:ir.actions.url,name:document_ftp.action_document_browse
+msgid "Browse Files"
+msgstr "Brskanje Datoteke"
+
+#. module: document_ftp
+#: field:document.ftp.configuration,config_logo:0
+msgid "Image"
+msgstr "Slika"
+
+#. module: document_ftp
+#: field:document.ftp.configuration,host:0
+msgid "Address"
+msgstr "Naslov"
+
+#. module: document_ftp
+#: field:document.ftp.browse,url:0
+msgid "FTP Server"
+msgstr "Strežnik FTP"
+
+#. module: document_ftp
+#: model:ir.actions.act_window,name:document_ftp.action_config_auto_directory
+msgid "FTP Server Configuration"
+msgstr "Konfiguracija FTP strežnika"
+
+#. module: document_ftp
+#: model:ir.module.module,description:document_ftp.module_meta_information
+msgid ""
+"This is a support FTP Interface with document management system.\n"
+" With this module you would not only be able to access documents through "
+"OpenERP\n"
+" but you would also be able to connect with them through the file system "
+"using the\n"
+" FTP client.\n"
+msgstr ""
+
+#. module: document_ftp
+#: view:document.ftp.browse:0
+msgid "_Browse"
+msgstr "_Prebrskaj"
+
+#. module: document_ftp
+#: help:document.ftp.configuration,host:0
+msgid ""
+"Server address or IP and port to which users should connect to for DMS access"
+msgstr ""
+"Naslov strežnika ali IP in vrata, na katerega se bodo uporabniki povezali za "
+"DMS dostop"
+
+#. module: document_ftp
+#: model:ir.ui.menu,name:document_ftp.menu_document_browse
+msgid "Shared Repository (FTP)"
+msgstr ""
+
+#. module: document_ftp
+#: view:document.ftp.browse:0
+msgid "_Cancel"
+msgstr "_Prekliči"
+
+#. module: document_ftp
+#: view:document.ftp.configuration:0
+msgid "Configure FTP Server"
+msgstr "Konfiguriraj FTP strežnik"
+
+#. module: document_ftp
+#: model:ir.module.module,shortdesc:document_ftp.module_meta_information
+msgid "Integrated FTP Server with Document Management System"
+msgstr ""
+
+#. module: document_ftp
+#: view:document.ftp.configuration:0
+msgid "title"
+msgstr "naslov"
+
+#. module: document_ftp
+#: model:ir.model,name:document_ftp.model_document_ftp_browse
+msgid "Document FTP Browse"
+msgstr ""
+
+#. module: document_ftp
+#: view:document.ftp.configuration:0
+msgid "Knowledge Application Configuration"
+msgstr ""
+
+#. module: document_ftp
+#: model:ir.actions.act_window,name:document_ftp.action_ftp_browse
+msgid "Document Browse"
+msgstr ""
+
+#. module: document_ftp
+#: view:document.ftp.browse:0
+msgid "Browse Document"
+msgstr ""
+
+#. module: document_ftp
+#: view:document.ftp.configuration:0
+msgid "res_config_contents"
+msgstr "res_config_contents"