[Merge] trunk
bzr revid: fp@tinyerp.com-20120705122259-zu2hm32a2wh1g6y0
This commit is contained in:
commit
4ab4e1a739
|
@ -15,7 +15,7 @@
|
|||
"static/lib/datejs/parser.js",
|
||||
"static/lib/datejs/sugarpak.js",
|
||||
"static/lib/datejs/extras.js",
|
||||
"static/lib/jquery/jquery-1.7.2b1.js",
|
||||
"static/lib/jquery/jquery-1.7.2.js",
|
||||
"static/lib/jquery.MD5/jquery.md5.js",
|
||||
"static/lib/jquery.form/jquery.form.js",
|
||||
"static/lib/jquery.validate/jquery.validate.js",
|
||||
|
@ -56,6 +56,7 @@
|
|||
"static/lib/jquery.ui.timepicker/css/jquery-ui-timepicker-addon.css",
|
||||
"static/lib/jquery.ui.notify/css/ui.notify.css",
|
||||
"static/lib/jquery.tipsy/tipsy.css",
|
||||
"static/lib/jquery.textext/jquery.textext.css",
|
||||
"static/src/css/base.css",
|
||||
"static/src/css/data_export.css",
|
||||
"static/src/css/data_import.css",
|
||||
|
|
|
@ -588,26 +588,22 @@ class LocalConnector(openerplib.Connector):
|
|||
import openerp
|
||||
import traceback
|
||||
import xmlrpclib
|
||||
code_string = "warning -- %s\n\n%s"
|
||||
try:
|
||||
result = openerp.netsvc.dispatch_rpc(service_name, method, args)
|
||||
except Exception,e:
|
||||
return openerp.netsvc.dispatch_rpc(service_name, method, args)
|
||||
except openerp.osv.osv.except_osv, e:
|
||||
# TODO change the except to raise LibException instead of their emulated xmlrpc fault
|
||||
if isinstance(e, openerp.osv.osv.except_osv):
|
||||
fault = xmlrpclib.Fault('warning -- ' + e.name + '\n\n' + str(e.value), '')
|
||||
elif isinstance(e, openerp.exceptions.Warning):
|
||||
fault = xmlrpclib.Fault('warning -- Warning\n\n' + str(e), '')
|
||||
elif isinstance(e, openerp.exceptions.AccessError):
|
||||
fault = xmlrpclib.Fault('warning -- AccessError\n\n' + str(e), '')
|
||||
elif isinstance(e, openerp.exceptions.AccessDenied):
|
||||
fault = xmlrpclib.Fault('AccessDenied', str(e))
|
||||
elif isinstance(e, openerp.exceptions.DeferredException):
|
||||
info = e.traceback
|
||||
formatted_info = "".join(traceback.format_exception(*info))
|
||||
fault = xmlrpclib.Fault(openerp.tools.ustr(e.message), formatted_info)
|
||||
else:
|
||||
info = sys.exc_info()
|
||||
formatted_info = "".join(traceback.format_exception(*info))
|
||||
fault = xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)
|
||||
raise fault
|
||||
return result
|
||||
raise xmlrpclib.Fault(code_string % (e.name, e.value), '')
|
||||
except openerp.exceptions.Warning, e:
|
||||
raise xmlrpclib.Fault(code_string % ("Warning", e), '')
|
||||
except openerp.exceptions.AccessError, e:
|
||||
raise xmlrpclib.Fault(code_string % ("AccessError", e), '')
|
||||
except openerp.exceptions.AccessDenied, e:
|
||||
raise xmlrpclib.Fault('AccessDenied', str(e))
|
||||
except openerp.exceptions.DeferredException, e:
|
||||
formatted_info = "".join(traceback.format_exception(*e.traceback))
|
||||
raise xmlrpclib.Fault(openerp.tools.ustr(e.message), formatted_info)
|
||||
except Exception, e:
|
||||
formatted_info = "".join(traceback.format_exception(*(sys.exc_info())))
|
||||
raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)
|
||||
|
||||
|
|
|
@ -437,18 +437,21 @@ class Database(openerpweb.Controller):
|
|||
|
||||
@openerpweb.httprequest
|
||||
def backup(self, req, backup_db, backup_pwd, token):
|
||||
db_dump = base64.b64decode(
|
||||
req.session.proxy("db").dump(backup_pwd, backup_db))
|
||||
filename = "%(db)s_%(timestamp)s.dump" % {
|
||||
'db': backup_db,
|
||||
'timestamp': datetime.datetime.utcnow().strftime(
|
||||
"%Y-%m-%d_%H-%M-%SZ")
|
||||
}
|
||||
return req.make_response(db_dump,
|
||||
[('Content-Type', 'application/octet-stream; charset=binary'),
|
||||
('Content-Disposition', 'attachment; filename="' + filename + '"')],
|
||||
{'fileToken': int(token)}
|
||||
)
|
||||
try:
|
||||
db_dump = base64.b64decode(
|
||||
req.session.proxy("db").dump(backup_pwd, backup_db))
|
||||
filename = "%(db)s_%(timestamp)s.dump" % {
|
||||
'db': backup_db,
|
||||
'timestamp': datetime.datetime.utcnow().strftime(
|
||||
"%Y-%m-%d_%H-%M-%SZ")
|
||||
}
|
||||
return req.make_response(db_dump,
|
||||
[('Content-Type', 'application/octet-stream; charset=binary'),
|
||||
('Content-Disposition', 'attachment; filename="' + filename + '"')],
|
||||
{'fileToken': int(token)}
|
||||
)
|
||||
except xmlrpclib.Fault, e:
|
||||
return simplejson.dumps([[],[{'error': e.faultCode, 'title': 'backup Database'}]])
|
||||
|
||||
@openerpweb.httprequest
|
||||
def restore(self, req, db_file, restore_pwd, new_db):
|
||||
|
@ -735,10 +738,10 @@ def clean_action(req, action, do_not_eval=False):
|
|||
|
||||
if not do_not_eval:
|
||||
# values come from the server, we can just eval them
|
||||
if isinstance(action.get('context'), basestring):
|
||||
if action.get('context') and isinstance(action.get('context'), basestring):
|
||||
action['context'] = eval( action['context'], eval_ctx ) or {}
|
||||
|
||||
if isinstance(action.get('domain'), basestring):
|
||||
if action.get('domain') and isinstance(action.get('domain'), basestring):
|
||||
action['domain'] = eval( action['domain'], eval_ctx ) or []
|
||||
else:
|
||||
if 'context' in action:
|
||||
|
@ -771,7 +774,7 @@ def generate_views(action):
|
|||
|
||||
:param dict action: action descriptor dictionary to generate a views key for
|
||||
"""
|
||||
view_id = action.get('view_id', False)
|
||||
view_id = action.get('view_id') or False
|
||||
if isinstance(view_id, (list, tuple)):
|
||||
view_id = view_id[0]
|
||||
|
||||
|
@ -1286,12 +1289,14 @@ class SearchView(View):
|
|||
del filter['context']
|
||||
del filter['domain']
|
||||
return filters
|
||||
|
||||
|
||||
|
||||
@openerpweb.jsonrequest
|
||||
def add_to_dashboard(self, req, menu_id, action_id, context_to_save, domain, view_mode, name=''):
|
||||
ctx = common.nonliterals.CompoundContext(context_to_save)
|
||||
ctx.session = req.session
|
||||
ctx = ctx.evaluate()
|
||||
to_eval = common.nonliterals.CompoundContext(context_to_save)
|
||||
to_eval.session = req.session
|
||||
ctx = dict((k, v) for k, v in to_eval.evaluate().iteritems()
|
||||
if not k.startswith('search_default_'))
|
||||
ctx['dashboard_merge_domains_contexts'] = False # TODO: replace this 6.1 workaround by attribute on <action/>
|
||||
domain = common.nonliterals.CompoundDomain(domain)
|
||||
domain.session = req.session
|
||||
|
@ -1367,6 +1372,17 @@ class Binary(openerpweb.Controller):
|
|||
def placeholder(self, req):
|
||||
addons_path = openerpweb.addons_manifest['web']['addons_path']
|
||||
return open(os.path.join(addons_path, 'web', 'static', 'src', 'img', 'placeholder.png'), 'rb').read()
|
||||
def content_disposition(self, filename, req):
|
||||
filename = filename.encode('utf8')
|
||||
escaped = urllib2.quote(filename)
|
||||
browser = req.httprequest.user_agent.browser
|
||||
version = int((req.httprequest.user_agent.version or '0').split('.')[0])
|
||||
if browser == 'msie' and version < 9:
|
||||
return "attachment; filename=%s" % escaped
|
||||
elif browser == 'safari':
|
||||
return "attachment; filename=%s" % filename
|
||||
else:
|
||||
return "attachment; filename*=UTF-8''%s" % escaped
|
||||
|
||||
@openerpweb.httprequest
|
||||
def saveas(self, req, model, field, id=None, filename_field=None, **kw):
|
||||
|
@ -1402,7 +1418,7 @@ class Binary(openerpweb.Controller):
|
|||
filename = res.get(filename_field, '') or filename
|
||||
return req.make_response(filecontent,
|
||||
[('Content-Type', 'application/octet-stream'),
|
||||
('Content-Disposition', 'attachment; filename="%s"' % filename)])
|
||||
('Content-Disposition', self.content_disposition(filename, req))])
|
||||
|
||||
@openerpweb.httprequest
|
||||
def saveas_ajax(self, req, data, token):
|
||||
|
@ -1432,7 +1448,7 @@ class Binary(openerpweb.Controller):
|
|||
filename = res.get(filename_field, '') or filename
|
||||
return req.make_response(filecontent,
|
||||
headers=[('Content-Type', 'application/octet-stream'),
|
||||
('Content-Disposition', 'attachment; filename="%s"' % filename)],
|
||||
('Content-Disposition', self.content_disposition(filename, req))],
|
||||
cookies={'fileToken': int(token)})
|
||||
|
||||
@openerpweb.httprequest
|
||||
|
@ -1481,19 +1497,26 @@ class Action(openerpweb.Controller):
|
|||
"ir.actions.act_url": "ir.actions.url",
|
||||
}
|
||||
|
||||
# For most actions, the type attribute and the model name are the same, but
|
||||
# there are exceptions. This dict is used to remap action type attributes
|
||||
# to the "real" model name when they differ.
|
||||
action_mapping = {
|
||||
"ir.actions.act_url": "ir.actions.url",
|
||||
}
|
||||
|
||||
@openerpweb.jsonrequest
|
||||
def load(self, req, action_id, do_not_eval=False):
|
||||
Actions = req.session.model('ir.actions.actions')
|
||||
value = False
|
||||
context = req.session.eval_context(req.context)
|
||||
action_type = Actions.read([action_id], ['type'], context)
|
||||
if action_type:
|
||||
base_action = Actions.read([action_id], ['type'], context)
|
||||
if base_action:
|
||||
ctx = {}
|
||||
if action_type[0]['type'] == 'ir.actions.report.xml':
|
||||
action_type = base_action[0]['type']
|
||||
if action_type == 'ir.actions.report.xml':
|
||||
ctx.update({'bin_size': True})
|
||||
ctx.update(context)
|
||||
action_model = action_type[0]['type']
|
||||
action_model = Action.action_mapping.get(action_model, action_model)
|
||||
action_model = self.action_mapping.get(action_type, action_type)
|
||||
action = req.session.model(action_model).read([action_id], False, ctx)
|
||||
if action:
|
||||
value = clean_action(req, action[0], do_not_eval)
|
||||
|
@ -1501,8 +1524,12 @@ class Action(openerpweb.Controller):
|
|||
|
||||
@openerpweb.jsonrequest
|
||||
def run(self, req, action_id):
|
||||
return clean_action(req, req.session.model('ir.actions.server').run(
|
||||
[action_id], req.session.eval_context(req.context)))
|
||||
return_action = req.session.model('ir.actions.server').run(
|
||||
[action_id], req.session.eval_context(req.context))
|
||||
if return_action:
|
||||
return clean_action(req, return_action)
|
||||
else:
|
||||
return False
|
||||
|
||||
class Export(View):
|
||||
_cp_path = "/web/export"
|
||||
|
@ -1886,10 +1913,14 @@ class Import(View):
|
|||
return '<script>window.top.%s(%s);</script>' % (
|
||||
jsonp, simplejson.dumps({'error': {'message': error}}))
|
||||
|
||||
# skip ignored records
|
||||
data_record = itertools.islice(
|
||||
csv.reader(csvfile, quotechar=str(csvdel), delimiter=str(csvsep)),
|
||||
skip, None)
|
||||
# skip ignored records (@skip parameter)
|
||||
# then skip empty lines (not valid csv)
|
||||
# nb: should these operations be reverted?
|
||||
rows_to_import = itertools.ifilter(
|
||||
None,
|
||||
itertools.islice(
|
||||
csv.reader(csvfile, quotechar=str(csvdel), delimiter=str(csvsep)),
|
||||
skip, None))
|
||||
|
||||
# if only one index, itemgetter will return an atom rather than a tuple
|
||||
if len(indices) == 1: mapper = lambda row: [row[indices[0]]]
|
||||
|
@ -1901,7 +1932,7 @@ class Import(View):
|
|||
# decode each data row
|
||||
data = [
|
||||
[record.decode(csvcode) for record in row]
|
||||
for row in itertools.imap(mapper, data_record)
|
||||
for row in itertools.imap(mapper, rows_to_import)
|
||||
# don't insert completely empty rows (can happen due to fields
|
||||
# filtering in case of e.g. o2m content rows)
|
||||
if any(row)
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,152 @@
|
|||
|
||||
.text-core {
|
||||
position: relative;
|
||||
}
|
||||
.text-core .text-wrap {
|
||||
background: #fff;
|
||||
position: absolute;
|
||||
}
|
||||
.text-core .text-wrap textarea, .text-core .text-wrap input {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
outline: none;
|
||||
resize: none;
|
||||
position: absolute;
|
||||
background: none;
|
||||
overflow: hidden;
|
||||
margin: 0;
|
||||
padding: 3px 5px 4px 5px;
|
||||
white-space: nowrap;
|
||||
font: 11px "lucida grande", tahoma, verdana, arial, sans-serif;
|
||||
line-height: 13px;
|
||||
height: auto;
|
||||
}
|
||||
.text-core .text-wrap .text-arrow {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAOAQMAAADHWqTrAAAAA3NCSVQICAjb4U/gAAAABlBMVEX///8yXJnt8Ns4AAAACXBIWXMAAAsSAAALEgHS3X78AAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1MzmNZGAwAAABpJREFUCJljYEAF/xsY6hkY7BgYZBgYOFBkADkdAmFDagYFAAAAAElFTkSuQmCC") 50% 50% no-repeat;
|
||||
cursor: pointer;
|
||||
z-index: 2;
|
||||
}
|
||||
.text-core .text-wrap .text-dropdown {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
z-index: 3;
|
||||
background: #fff;
|
||||
border: 1px solid #9daccc;
|
||||
width: 100%;
|
||||
max-height: 100px;
|
||||
padding: 1px;
|
||||
font: 11px "lucida grande", tahoma, verdana, arial, sans-serif;
|
||||
display: none;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
}
|
||||
.text-core .text-wrap .text-dropdown.text-position-below {
|
||||
margin-top: 1px;
|
||||
}
|
||||
.text-core .text-wrap .text-dropdown.text-position-above {
|
||||
margin-bottom: 1px;
|
||||
}
|
||||
.text-core .text-wrap .text-dropdown .text-list .text-suggestion {
|
||||
padding: 3px 5px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.text-core .text-wrap .text-dropdown .text-list .text-suggestion em {
|
||||
font-style: normal;
|
||||
text-decoration: underline;
|
||||
}
|
||||
.text-core .text-wrap .text-dropdown .text-list .text-suggestion.text-selected {
|
||||
color: #fff;
|
||||
background: #6d84b4;
|
||||
}
|
||||
.text-core .text-wrap .text-focus {
|
||||
-webkit-box-shadow: 0px 0px 6px #6d84b4;
|
||||
-moz-box-shadow: 0px 0px 6px #6d84b4;
|
||||
box-shadow: 0px 0px 6px #6d84b4;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: none;
|
||||
}
|
||||
.text-core .text-wrap .text-focus.text-show-focus {
|
||||
display: block;
|
||||
}
|
||||
.text-core .text-wrap .text-prompt {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 1px 0 0 2px;
|
||||
font: 11px "lucida grande", tahoma, verdana, arial, sans-serif;
|
||||
color: #c0c0c0;
|
||||
overflow: hidden;
|
||||
white-space: pre;
|
||||
}
|
||||
.text-core .text-wrap .text-prompt.text-hide-prompt {
|
||||
display: none;
|
||||
}
|
||||
.text-core .text-wrap .text-tags {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding: 3px 35px 3px 3px;
|
||||
cursor: text;
|
||||
}
|
||||
.text-core .text-wrap .text-tags.text-tags-on-top {
|
||||
z-index: 2;
|
||||
}
|
||||
.text-core .text-wrap .text-tags .text-tag {
|
||||
float: left;
|
||||
}
|
||||
.text-core .text-wrap .text-tags .text-tag .text-button {
|
||||
-webkit-border-radius: 2px;
|
||||
-moz-border-radius: 2px;
|
||||
border-radius: 2px;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
float: left;
|
||||
border: 1px solid #9daccc;
|
||||
background: #e2e6f0;
|
||||
color: #000;
|
||||
padding: 0px 17px 0px 3px;
|
||||
margin: 0 2px 2px 0;
|
||||
cursor: pointer;
|
||||
height: 16px;
|
||||
font: 11px "lucida grande", tahoma, verdana, arial, sans-serif;
|
||||
}
|
||||
.text-core .text-wrap .text-tags .text-tag .text-button a.text-remove {
|
||||
position: absolute;
|
||||
right: 3px;
|
||||
top: 2px;
|
||||
display: block;
|
||||
width: 11px;
|
||||
height: 11px;
|
||||
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAhCAYAAAAPm1F2AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAAB50RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNS4xqx9I6wAAAQ5JREFUOI2dlD0WwiAQhCc8L6HHgAPoASwtSYvX8BrQxtIyveYA8RppLO1jE+LwE8lzms2yH8MCj1QoaBzH+VuUYNYMS213UlvDRamtUbXb5ZyPHuDoxwGgip3ipfvGuGzPz+vZ/coDONdzFuYCO6ramQQG0DJIE1oPBBvM6e9LqaS2FwD7FWwnVoIAsOc2Xn1jDlyd8pfPBRVOBHA8cc/3yCmQqt0jcY4LuTyAF3pOYS6wI48LAm4MUrx5JthgSQJAt5LtNgAUgEMBBIC3AL2xgo58dEPfhE9wygef89FtCeC49UwltR1pQrK2qr9vNr7uRTCBF3pOYS6wI4/zdQ8MUpxPI9hgSQL0Xyio/QBt54DzsHQx6gAAAABJRU5ErkJggg==") 0 0 no-repeat;
|
||||
}
|
||||
.text-core .text-wrap .text-tags .text-tag .text-button a.text-remove:hover {
|
||||
background-position: 0 -11px;
|
||||
}
|
||||
.text-core .text-wrap .text-tags .text-tag .text-button a.text-remove:active {
|
||||
background-position: 0 -22px;
|
||||
}
|
|
@ -2465,7 +2465,7 @@
|
|||
target = $(e.target)
|
||||
;
|
||||
|
||||
if(target.is(CSS_DOT_SUGGESTION) || target.is(CSS_DOT_LABEL))
|
||||
if($(CSS_DOT_SUGGESTION).has(target[0]) || $(CSS_DOT_LABEL).has(target[0]))
|
||||
self.trigger('enterKeyPress');
|
||||
|
||||
if (self.core().hasPlugin('tags'))
|
||||
|
@ -4774,157 +4774,3 @@
|
|||
return node;
|
||||
};
|
||||
})(jQuery);
|
||||
;
|
||||
(function(a){var b=document,c="getElementsByTagName",d=b[c]("head")[0]||b[c]("body")[0],e=b.createElement("style");e.innerHTML=a,d.appendChild(e)})('\n.text-core {\
|
||||
position: relative;\
|
||||
}\
|
||||
.text-core .text-wrap {\
|
||||
background: #fff;\
|
||||
position: absolute;\
|
||||
}\
|
||||
.text-core .text-wrap textarea, .text-core .text-wrap input {\
|
||||
-webkit-box-sizing: border-box;\
|
||||
-moz-box-sizing: border-box;\
|
||||
box-sizing: border-box;\
|
||||
-webkit-border-radius: 3px;\
|
||||
-moz-border-radius: 3px;\
|
||||
border-radius: 3px;\
|
||||
outline: none;\
|
||||
resize: none;\
|
||||
position: absolute;\
|
||||
z-index: 1;\
|
||||
background: none;\
|
||||
overflow: hidden;\
|
||||
margin: 0;\
|
||||
padding: 3px 5px 4px 5px;\
|
||||
white-space: nowrap;\
|
||||
font: 11px "lucida grande", tahoma, verdana, arial, sans-serif;\
|
||||
line-height: 13px;\
|
||||
height: auto;\
|
||||
}\
|
||||
\n.text-core .text-wrap .text-arrow {\
|
||||
-webkit-box-sizing: border-box;\
|
||||
-moz-box-sizing: border-box;\
|
||||
box-sizing: border-box;\
|
||||
position: absolute;\
|
||||
top: 0;\
|
||||
right: 0;\
|
||||
width: 22px;\
|
||||
height: 22px;\
|
||||
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAOAQMAAADHWqTrAAAAA3NCSVQICAjb4U/gAAAABlBMVEX///8yXJnt8Ns4AAAACXBIWXMAAAsSAAALEgHS3X78AAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1MzmNZGAwAAABpJREFUCJljYEAF/xsY6hkY7BgYZBgYOFBkADkdAmFDagYFAAAAAElFTkSuQmCC") 50% 50% no-repeat;\
|
||||
cursor: pointer;\
|
||||
z-index: 2;\
|
||||
}\
|
||||
\n.text-core .text-wrap .text-dropdown {\
|
||||
-webkit-box-sizing: border-box;\
|
||||
-moz-box-sizing: border-box;\
|
||||
box-sizing: border-box;\
|
||||
padding: 0;\
|
||||
position: absolute;\
|
||||
z-index: 3;\
|
||||
background: #fff;\
|
||||
border: 1px solid #9daccc;\
|
||||
width: 100%;\
|
||||
max-height: 100px;\
|
||||
padding: 1px;\
|
||||
font: 11px "lucida grande", tahoma, verdana, arial, sans-serif;\
|
||||
display: none;\
|
||||
overflow-x: hidden;\
|
||||
overflow-y: auto;\
|
||||
}\
|
||||
.text-core .text-wrap .text-dropdown.text-position-below {\
|
||||
margin-top: 1px;\
|
||||
}\
|
||||
.text-core .text-wrap .text-dropdown.text-position-above {\
|
||||
margin-bottom: 1px;\
|
||||
}\
|
||||
.text-core .text-wrap .text-dropdown .text-list .text-suggestion {\
|
||||
padding: 3px 5px;\
|
||||
cursor: pointer;\
|
||||
}\
|
||||
.text-core .text-wrap .text-dropdown .text-list .text-suggestion em {\
|
||||
font-style: normal;\
|
||||
text-decoration: underline;\
|
||||
}\
|
||||
.text-core .text-wrap .text-dropdown .text-list .text-suggestion.text-selected {\
|
||||
color: #fff;\
|
||||
background: #6d84b4;\
|
||||
}\
|
||||
\n.text-core .text-wrap .text-focus {\
|
||||
-webkit-box-shadow: 0px 0px 6px #6d84b4;\
|
||||
-moz-box-shadow: 0px 0px 6px #6d84b4;\
|
||||
box-shadow: 0px 0px 6px #6d84b4;\
|
||||
position: absolute;\
|
||||
width: 100%;\
|
||||
height: 100%;\
|
||||
display: none;\
|
||||
}\
|
||||
.text-core .text-wrap .text-focus.text-show-focus {\
|
||||
display: block;\
|
||||
}\
|
||||
\n.text-core .text-wrap .text-prompt {\
|
||||
-webkit-box-sizing: border-box;\
|
||||
-moz-box-sizing: border-box;\
|
||||
box-sizing: border-box;\
|
||||
position: absolute;\
|
||||
width: 100%;\
|
||||
height: 100%;\
|
||||
margin: 1px 0 0 2px;\
|
||||
font: 11px "lucida grande", tahoma, verdana, arial, sans-serif;\
|
||||
color: #c0c0c0;\
|
||||
overflow: hidden;\
|
||||
white-space: pre;\
|
||||
}\
|
||||
.text-core .text-wrap .text-prompt.text-hide-prompt {\
|
||||
display: none;\
|
||||
}\
|
||||
\n.text-core .text-wrap .text-tags {\
|
||||
-webkit-box-sizing: border-box;\
|
||||
-moz-box-sizing: border-box;\
|
||||
box-sizing: border-box;\
|
||||
position: absolute;\
|
||||
width: 100%;\
|
||||
height: 100%;\
|
||||
padding: 3px 35px 3px 3px;\
|
||||
cursor: text;\
|
||||
}\
|
||||
.text-core .text-wrap .text-tags.text-tags-on-top {\
|
||||
z-index: 2;\
|
||||
}\
|
||||
.text-core .text-wrap .text-tags .text-tag {\
|
||||
float: left;\
|
||||
}\
|
||||
.text-core .text-wrap .text-tags .text-tag .text-button {\
|
||||
-webkit-border-radius: 2px;\
|
||||
-moz-border-radius: 2px;\
|
||||
border-radius: 2px;\
|
||||
-webkit-box-sizing: border-box;\
|
||||
-moz-box-sizing: border-box;\
|
||||
box-sizing: border-box;\
|
||||
position: relative;\
|
||||
float: left;\
|
||||
border: 1px solid #9daccc;\
|
||||
background: #e2e6f0;\
|
||||
color: #000;\
|
||||
padding: 0px 17px 0px 3px;\
|
||||
margin: 0 2px 2px 0;\
|
||||
cursor: pointer;\
|
||||
height: 16px;\
|
||||
font: 11px "lucida grande", tahoma, verdana, arial, sans-serif;\
|
||||
}\
|
||||
.text-core .text-wrap .text-tags .text-tag .text-button a.text-remove {\
|
||||
position: absolute;\
|
||||
right: 3px;\
|
||||
top: 2px;\
|
||||
display: block;\
|
||||
width: 11px;\
|
||||
height: 11px;\
|
||||
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAhCAYAAAAPm1F2AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAAB50RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNS4xqx9I6wAAAQ5JREFUOI2dlD0WwiAQhCc8L6HHgAPoASwtSYvX8BrQxtIyveYA8RppLO1jE+LwE8lzms2yH8MCj1QoaBzH+VuUYNYMS213UlvDRamtUbXb5ZyPHuDoxwGgip3ipfvGuGzPz+vZ/coDONdzFuYCO6ramQQG0DJIE1oPBBvM6e9LqaS2FwD7FWwnVoIAsOc2Xn1jDlyd8pfPBRVOBHA8cc/3yCmQqt0jcY4LuTyAF3pOYS6wI48LAm4MUrx5JthgSQJAt5LtNgAUgEMBBIC3AL2xgo58dEPfhE9wygef89FtCeC49UwltR1pQrK2qr9vNr7uRTCBF3pOYS6wI4/zdQ8MUpxPI9hgSQL0Xyio/QBt54DzsHQx6gAAAABJRU5ErkJggg==") 0 0 no-repeat;\
|
||||
}\
|
||||
.text-core .text-wrap .text-tags .text-tag .text-button a.text-remove:hover {\
|
||||
background-position: 0 -11px;\
|
||||
}\
|
||||
.text-core .text-wrap .text-tags .text-tag .text-button a.text-remove:active {\
|
||||
background-position: 0 -22px;\
|
||||
}\
|
||||
');
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/**
|
||||
* Timeago is a jQuery plugin that makes it easy to support automatically
|
||||
* updating fuzzy timestamps (e.g. "4 minutes ago" or "about 1 day ago").
|
||||
*
|
||||
* Please note that the library has been slightly modified for i18n's sake.
|
||||
*
|
||||
* @name timeago
|
||||
* @version 0.11.3
|
||||
|
@ -49,7 +51,8 @@
|
|||
years: "%d years",
|
||||
wordSeparator: " ",
|
||||
numbers: []
|
||||
}
|
||||
},
|
||||
translator: null
|
||||
},
|
||||
inWords: function(distanceMillis) {
|
||||
var $l = this.settings.strings;
|
||||
|
@ -68,26 +71,36 @@
|
|||
var days = hours / 24;
|
||||
var years = days / 365;
|
||||
|
||||
function substitute(stringOrFunction, number) {
|
||||
function convert(stringOrFunction, number) {
|
||||
var string = $.isFunction(stringOrFunction) ? stringOrFunction(number, distanceMillis) : stringOrFunction;
|
||||
var value = ($l.numbers && $l.numbers[number]) || number;
|
||||
return string.replace(/%d/i, value);
|
||||
|
||||
// return the proper string and the numeric value that goes in it
|
||||
return {'string': string, 'value': ($l.numbers && $l.numbers[number]) || number};
|
||||
}
|
||||
|
||||
var words = seconds < 45 && substitute($l.seconds, Math.round(seconds)) ||
|
||||
seconds < 90 && substitute($l.minute, 1) ||
|
||||
minutes < 45 && substitute($l.minutes, Math.round(minutes)) ||
|
||||
minutes < 90 && substitute($l.hour, 1) ||
|
||||
hours < 24 && substitute($l.hours, Math.round(hours)) ||
|
||||
hours < 42 && substitute($l.day, 1) ||
|
||||
days < 30 && substitute($l.days, Math.round(days)) ||
|
||||
days < 45 && substitute($l.month, 1) ||
|
||||
days < 365 && substitute($l.months, Math.round(days / 30)) ||
|
||||
years < 1.5 && substitute($l.year, 1) ||
|
||||
substitute($l.years, Math.round(years));
|
||||
var stringAndNumber = seconds < 45 && convert($l.seconds, Math.round(seconds)) ||
|
||||
seconds < 90 && convert($l.minute, 1) ||
|
||||
minutes < 45 && convert($l.minutes, Math.round(minutes)) ||
|
||||
minutes < 90 && convert($l.hour, 1) ||
|
||||
hours < 24 && convert($l.hours, Math.round(hours)) ||
|
||||
hours < 42 && convert($l.day, 1) ||
|
||||
days < 30 && convert($l.days, Math.round(days)) ||
|
||||
days < 45 && convert($l.month, 1) ||
|
||||
days < 365 && convert($l.months, Math.round(days / 30)) ||
|
||||
years < 1.5 && convert($l.year, 1) ||
|
||||
convert($l.years, Math.round(years));
|
||||
|
||||
var string = stringAndNumber.string;
|
||||
var value = stringAndNumber.value;
|
||||
var separator = $l.wordSeparator === undefined ? " " : $l.wordSeparator;
|
||||
return $.trim([prefix, words, suffix].join(separator));
|
||||
|
||||
// compose and translate the final string
|
||||
var fullString = $.trim([prefix, string, suffix].join(separator));
|
||||
var translatedString = $t.settings.translator ?
|
||||
$t.settings.translator(fullString) :
|
||||
fullString;
|
||||
|
||||
return translatedString.replace(/%d/i, value);
|
||||
},
|
||||
parse: function(iso8601) {
|
||||
var s = $.trim(iso8601);
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* jQuery JavaScript Library v1.7.2b1
|
||||
* jQuery JavaScript Library v1.7.2
|
||||
* http://jquery.com/
|
||||
*
|
||||
* Copyright 2011, John Resig
|
||||
|
@ -11,7 +11,7 @@
|
|||
* Copyright 2011, The Dojo Foundation
|
||||
* Released under the MIT, BSD, and GPL Licenses.
|
||||
*
|
||||
* Date: Tue Jan 31 20:11:27 2012 -0500
|
||||
* Date: Wed Mar 21 12:46:34 2012 -0700
|
||||
*/
|
||||
(function( window, undefined ) {
|
||||
|
||||
|
@ -210,7 +210,7 @@ jQuery.fn = jQuery.prototype = {
|
|||
selector: "",
|
||||
|
||||
// The current version of jQuery being used
|
||||
jquery: "1.7.2b1",
|
||||
jquery: "1.7.2",
|
||||
|
||||
// The default length of a jQuery object is 0
|
||||
length: 0,
|
||||
|
@ -578,6 +578,9 @@ jQuery.extend({
|
|||
|
||||
// Cross-browser xml parsing
|
||||
parseXML: function( data ) {
|
||||
if ( typeof data !== "string" || !data ) {
|
||||
return null;
|
||||
}
|
||||
var xml, tmp;
|
||||
try {
|
||||
if ( window.DOMParser ) { // Standard
|
||||
|
@ -1362,7 +1365,6 @@ jQuery.support = (function() {
|
|||
select,
|
||||
opt,
|
||||
input,
|
||||
marginDiv,
|
||||
fragment,
|
||||
tds,
|
||||
events,
|
||||
|
@ -1449,6 +1451,9 @@ jQuery.support = (function() {
|
|||
pixelMargin: true
|
||||
};
|
||||
|
||||
// jQuery.boxModel DEPRECATED in 1.3, use jQuery.support.boxModel instead
|
||||
jQuery.boxModel = support.boxModel = (document.compatMode === "CSS1Compat");
|
||||
|
||||
// Make sure checked status is properly cloned
|
||||
input.checked = true;
|
||||
support.noCloneChecked = input.cloneNode( true ).checked;
|
||||
|
@ -1483,6 +1488,10 @@ jQuery.support = (function() {
|
|||
support.radioValue = input.value === "t";
|
||||
|
||||
input.setAttribute("checked", "checked");
|
||||
|
||||
// #11217 - WebKit loses check when the name is after the checked attribute
|
||||
input.setAttribute( "name", "t" );
|
||||
|
||||
div.appendChild( input );
|
||||
fragment = document.createDocumentFragment();
|
||||
fragment.appendChild( div.lastChild );
|
||||
|
@ -1497,23 +1506,6 @@ jQuery.support = (function() {
|
|||
fragment.removeChild( input );
|
||||
fragment.appendChild( div );
|
||||
|
||||
div.innerHTML = "";
|
||||
|
||||
// Check if div with explicit width and no margin-right incorrectly
|
||||
// gets computed margin-right based on width of container. For more
|
||||
// info see bug #3333
|
||||
// Fails in WebKit before Feb 2011 nightlies
|
||||
// WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right
|
||||
if ( window.getComputedStyle ) {
|
||||
marginDiv = document.createElement( "div" );
|
||||
marginDiv.style.width = "0";
|
||||
marginDiv.style.marginRight = "0";
|
||||
div.style.width = "2px";
|
||||
div.appendChild( marginDiv );
|
||||
support.reliableMarginRight =
|
||||
( parseInt( ( window.getComputedStyle( marginDiv, null ) || { marginRight: 0 } ).marginRight, 10 ) || 0 ) === 0;
|
||||
}
|
||||
|
||||
// Technique from Juriy Zaytsev
|
||||
// http://perfectionkills.com/detecting-event-support-without-browser-sniffing/
|
||||
// We only care about the case where non-standard event systems
|
||||
|
@ -1539,12 +1531,13 @@ jQuery.support = (function() {
|
|||
fragment.removeChild( div );
|
||||
|
||||
// Null elements to avoid leaks in IE
|
||||
fragment = select = opt = marginDiv = div = input = null;
|
||||
fragment = select = opt = div = input = null;
|
||||
|
||||
// Run tests that need a body at doc ready
|
||||
jQuery(function() {
|
||||
var container, outer, inner, table, td, offsetSupport,
|
||||
conMarginTop, ptlm, vb, style, html,
|
||||
marginDiv, conMarginTop, style, html, positionTopLeftWidthHeight,
|
||||
paddingMarginBorderVisibility, paddingMarginBorder,
|
||||
body = document.getElementsByTagName("body")[0];
|
||||
|
||||
if ( !body ) {
|
||||
|
@ -1553,15 +1546,16 @@ jQuery.support = (function() {
|
|||
}
|
||||
|
||||
conMarginTop = 1;
|
||||
ptlm = "position:absolute;top:0;left:0;width:1px;height:1px;margin:0;";
|
||||
vb = "visibility:hidden;border:0;";
|
||||
style = "style='" + ptlm + "border:5px solid #000;padding:0;'";
|
||||
html = "<div " + style + "><div></div></div>" +
|
||||
"<table " + style + " cellpadding='0' cellspacing='0'>" +
|
||||
paddingMarginBorder = "padding:0;margin:0;border:";
|
||||
positionTopLeftWidthHeight = "position:absolute;top:0;left:0;width:1px;height:1px;";
|
||||
paddingMarginBorderVisibility = paddingMarginBorder + "0;visibility:hidden;";
|
||||
style = "style='" + positionTopLeftWidthHeight + paddingMarginBorder + "5px solid #000;";
|
||||
html = "<div " + style + "display:block;'><div style='" + paddingMarginBorder + "0;display:block;overflow:hidden;'></div></div>" +
|
||||
"<table " + style + "' cellpadding='0' cellspacing='0'>" +
|
||||
"<tr><td></td></tr></table>";
|
||||
|
||||
container = document.createElement("div");
|
||||
container.style.cssText = vb + "width:0;height:0;position:static;top:0;margin-top:" + conMarginTop + "px";
|
||||
container.style.cssText = paddingMarginBorderVisibility + "width:0;height:0;position:static;top:0;margin-top:" + conMarginTop + "px";
|
||||
body.insertBefore( container, body.firstChild );
|
||||
|
||||
// Construct the test element
|
||||
|
@ -1575,8 +1569,7 @@ jQuery.support = (function() {
|
|||
// display:none (it is still safe to use offsets if a parent element is
|
||||
// hidden; don safety goggles and see bug #4512 for more information).
|
||||
// (only IE 8 fails this test)
|
||||
div.innerHTML = "<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";
|
||||
|
||||
div.innerHTML = "<table><tr><td style='" + paddingMarginBorder + "0;display:none'></td><td>t</td></tr></table>";
|
||||
tds = div.getElementsByTagName( "td" );
|
||||
isSupported = ( tds[ 0 ].offsetHeight === 0 );
|
||||
|
||||
|
@ -1587,28 +1580,44 @@ jQuery.support = (function() {
|
|||
// (IE <= 8 fail this test)
|
||||
support.reliableHiddenOffsets = isSupported && ( tds[ 0 ].offsetHeight === 0 );
|
||||
|
||||
// Figure out if the W3C box model works as expected
|
||||
div.innerHTML = "";
|
||||
div.style.width = div.style.paddingLeft = "1px";
|
||||
jQuery.boxModel = support.boxModel = div.offsetWidth === 2;
|
||||
// Check if div with explicit width and no margin-right incorrectly
|
||||
// gets computed margin-right based on width of container. For more
|
||||
// info see bug #3333
|
||||
// Fails in WebKit before Feb 2011 nightlies
|
||||
// WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right
|
||||
if ( window.getComputedStyle ) {
|
||||
div.innerHTML = "";
|
||||
marginDiv = document.createElement( "div" );
|
||||
marginDiv.style.width = "0";
|
||||
marginDiv.style.marginRight = "0";
|
||||
div.style.width = "2px";
|
||||
div.appendChild( marginDiv );
|
||||
support.reliableMarginRight =
|
||||
( parseInt( ( window.getComputedStyle( marginDiv, null ) || { marginRight: 0 } ).marginRight, 10 ) || 0 ) === 0;
|
||||
}
|
||||
|
||||
if ( typeof div.style.zoom !== "undefined" ) {
|
||||
// Check if natively block-level elements act like inline-block
|
||||
// elements when setting their display to 'inline' and giving
|
||||
// them layout
|
||||
// (IE < 8 does this)
|
||||
div.innerHTML = "";
|
||||
div.style.width = div.style.padding = "1px";
|
||||
div.style.border = 0;
|
||||
div.style.overflow = "hidden";
|
||||
div.style.display = "inline";
|
||||
div.style.zoom = 1;
|
||||
support.inlineBlockNeedsLayout = ( div.offsetWidth === 2 );
|
||||
support.inlineBlockNeedsLayout = ( div.offsetWidth === 3 );
|
||||
|
||||
// Check if elements with layout shrink-wrap their children
|
||||
// (IE 6 does this)
|
||||
div.style.display = "";
|
||||
div.innerHTML = "<div style='width:4px;'></div>";
|
||||
support.shrinkWrapBlocks = ( div.offsetWidth !== 2 );
|
||||
div.style.display = "block";
|
||||
div.style.overflow = "visible";
|
||||
div.innerHTML = "<div style='width:5px;'></div>";
|
||||
support.shrinkWrapBlocks = ( div.offsetWidth !== 3 );
|
||||
}
|
||||
|
||||
div.style.cssText = ptlm + vb;
|
||||
div.style.cssText = positionTopLeftWidthHeight + paddingMarginBorderVisibility;
|
||||
div.innerHTML = html;
|
||||
|
||||
outer = div.firstChild;
|
||||
|
@ -1643,7 +1652,7 @@ jQuery.support = (function() {
|
|||
}
|
||||
|
||||
body.removeChild( container );
|
||||
div = container = null;
|
||||
marginDiv = div = container = null;
|
||||
|
||||
jQuery.extend( support, offsetSupport );
|
||||
});
|
||||
|
@ -1987,7 +1996,7 @@ function dataAttr( elem, key, data ) {
|
|||
data = data === "true" ? true :
|
||||
data === "false" ? false :
|
||||
data === "null" ? null :
|
||||
jQuery.isNumeric( data ) ? parseFloat( data ) :
|
||||
jQuery.isNumeric( data ) ? +data :
|
||||
rbrace.test( data ) ? jQuery.parseJSON( data ) :
|
||||
data;
|
||||
} catch( e ) {}
|
||||
|
@ -2196,7 +2205,7 @@ jQuery.fn.extend({
|
|||
}
|
||||
}
|
||||
resolve();
|
||||
return defer.promise();
|
||||
return defer.promise( object );
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -2365,7 +2374,7 @@ jQuery.fn.extend({
|
|||
|
||||
if ( !arguments.length ) {
|
||||
if ( elem ) {
|
||||
hooks = jQuery.valHooks[ elem.nodeName.toLowerCase() ] || jQuery.valHooks[ elem.type ];
|
||||
hooks = jQuery.valHooks[ elem.type ] || jQuery.valHooks[ elem.nodeName.toLowerCase() ];
|
||||
|
||||
if ( hooks && "get" in hooks && (ret = hooks.get( elem, "value" )) !== undefined ) {
|
||||
return ret;
|
||||
|
@ -2409,7 +2418,7 @@ jQuery.fn.extend({
|
|||
});
|
||||
}
|
||||
|
||||
hooks = jQuery.valHooks[ this.nodeName.toLowerCase() ] || jQuery.valHooks[ this.type ];
|
||||
hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ];
|
||||
|
||||
// If set returns undefined, fall back to normal setting
|
||||
if ( !hooks || !("set" in hooks) || hooks.set( this, val, "value" ) === undefined ) {
|
||||
|
@ -2555,7 +2564,7 @@ jQuery.extend({
|
|||
},
|
||||
|
||||
removeAttr: function( elem, value ) {
|
||||
var propName, attrNames, name, l,
|
||||
var propName, attrNames, name, l, isBool,
|
||||
i = 0;
|
||||
|
||||
if ( value && elem.nodeType === 1 ) {
|
||||
|
@ -2567,13 +2576,17 @@ jQuery.extend({
|
|||
|
||||
if ( name ) {
|
||||
propName = jQuery.propFix[ name ] || name;
|
||||
isBool = rboolean.test( name );
|
||||
|
||||
// See #9699 for explanation of this approach (setting first, then removal)
|
||||
jQuery.attr( elem, name, "" );
|
||||
// Do not do this for boolean attributes (see #10870)
|
||||
if ( !isBool ) {
|
||||
jQuery.attr( elem, name, "" );
|
||||
}
|
||||
elem.removeAttribute( getSetAttribute ? name : propName );
|
||||
|
||||
// Set corresponding property to false for boolean attributes
|
||||
if ( rboolean.test( name ) && propName in elem ) {
|
||||
if ( isBool && propName in elem ) {
|
||||
elem[ propName ] = false;
|
||||
}
|
||||
}
|
||||
|
@ -2727,7 +2740,8 @@ if ( !getSetAttribute ) {
|
|||
|
||||
fixSpecified = {
|
||||
name: true,
|
||||
id: true
|
||||
id: true,
|
||||
coords: true
|
||||
};
|
||||
|
||||
// Use this for any attribute in IE6/7
|
||||
|
@ -3246,6 +3260,7 @@ jQuery.event = {
|
|||
delegateCount = handlers.delegateCount,
|
||||
args = [].slice.call( arguments, 0 ),
|
||||
run_all = !event.exclusive && !event.namespace,
|
||||
special = jQuery.event.special[ event.type ] || {},
|
||||
handlerQueue = [],
|
||||
i, j, cur, jqcur, ret, selMatch, matched, matches, handleObj, sel, related;
|
||||
|
||||
|
@ -3253,6 +3268,11 @@ jQuery.event = {
|
|||
args[0] = event;
|
||||
event.delegateTarget = this;
|
||||
|
||||
// Call the preDispatch hook for the mapped type, and let it bail if desired
|
||||
if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Determine handlers that should run if there are delegated events
|
||||
// Avoid non-left-click bubbling in Firefox (#3861)
|
||||
if ( delegateCount && !(event.button && event.type === "click") ) {
|
||||
|
@ -3262,7 +3282,7 @@ jQuery.event = {
|
|||
jqcur.context = this.ownerDocument || this;
|
||||
|
||||
for ( cur = event.target; cur != this; cur = cur.parentNode || this ) {
|
||||
|
||||
|
||||
// Don't process events on disabled elements (#6911, #8165)
|
||||
if ( cur.disabled !== true ) {
|
||||
selMatch = {};
|
||||
|
@ -3322,6 +3342,11 @@ jQuery.event = {
|
|||
}
|
||||
}
|
||||
|
||||
// Call the postDispatch hook for the mapped type
|
||||
if ( special.postDispatch ) {
|
||||
special.postDispatch.call( this, event );
|
||||
}
|
||||
|
||||
return event.result;
|
||||
},
|
||||
|
||||
|
@ -3613,16 +3638,23 @@ if ( !jQuery.support.submitBubbles ) {
|
|||
form = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ? elem.form : undefined;
|
||||
if ( form && !form._submit_attached ) {
|
||||
jQuery.event.add( form, "submit._submit", function( event ) {
|
||||
// If form was submitted by the user, bubble the event up the tree
|
||||
if ( this.parentNode && !event.isTrigger ) {
|
||||
jQuery.event.simulate( "submit", this.parentNode, event, true );
|
||||
}
|
||||
event._submit_bubble = true;
|
||||
});
|
||||
form._submit_attached = true;
|
||||
}
|
||||
});
|
||||
// return undefined since we don't need an event listener
|
||||
},
|
||||
|
||||
postDispatch: function( event ) {
|
||||
// If form was submitted by the user, bubble the event up the tree
|
||||
if ( event._submit_bubble ) {
|
||||
delete event._submit_bubble;
|
||||
if ( this.parentNode && !event.isTrigger ) {
|
||||
jQuery.event.simulate( "submit", this.parentNode, event, true );
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
teardown: function() {
|
||||
// Only need this for delegated form submit events
|
||||
|
@ -5565,7 +5597,7 @@ jQuery.each({
|
|||
return jQuery.dir( elem, "previousSibling", until );
|
||||
},
|
||||
siblings: function( elem ) {
|
||||
return jQuery.sibling( elem.parentNode.firstChild, elem );
|
||||
return jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem );
|
||||
},
|
||||
children: function( elem ) {
|
||||
return jQuery.sibling( elem.firstChild );
|
||||
|
@ -5709,7 +5741,7 @@ var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figca
|
|||
rhtml = /<|&#?\w+;/,
|
||||
rnoInnerhtml = /<(?:script|style)/i,
|
||||
rnocache = /<(?:script|object|embed|option|style)/i,
|
||||
rnoshimcache = new RegExp("<(?:" + nodeNames + ")", "i"),
|
||||
rnoshimcache = new RegExp("<(?:" + nodeNames + ")[\\s/>]", "i"),
|
||||
// checked="checked" or checked
|
||||
rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i,
|
||||
rscriptType = /\/(java|ecma)script/i,
|
||||
|
@ -6036,6 +6068,8 @@ jQuery.fn.extend({
|
|||
jQuery.each( scripts, function( i, elem ) {
|
||||
if ( elem.src ) {
|
||||
jQuery.ajax({
|
||||
type: "GET",
|
||||
global: false,
|
||||
url: elem.src,
|
||||
async: false,
|
||||
dataType: "script"
|
||||
|
@ -6141,12 +6175,16 @@ function cloneFixAttributes( src, dest ) {
|
|||
// cloning other types of input fields
|
||||
} else if ( nodeName === "input" || nodeName === "textarea" ) {
|
||||
dest.defaultValue = src.defaultValue;
|
||||
|
||||
// IE blanks contents when cloning scripts
|
||||
} else if ( nodeName === "script" && dest.text !== src.text ) {
|
||||
dest.text = src.text;
|
||||
}
|
||||
|
||||
// Event data gets referenced instead of copied if the expando
|
||||
// gets copied too
|
||||
dest.removeAttribute( jQuery.expando );
|
||||
|
||||
|
||||
// Clear flags for bubbling special change/submit events, they must
|
||||
// be reattached when the newly cloned events are first activated
|
||||
dest.removeAttribute( "_submit_attached" );
|
||||
|
@ -6275,7 +6313,7 @@ jQuery.extend({
|
|||
destElements,
|
||||
i,
|
||||
// IE<=8 does not properly clone detached, unknown element nodes
|
||||
clone = jQuery.support.html5Clone || !rnoshimcache.test( "<" + elem.nodeName ) ?
|
||||
clone = jQuery.support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ?
|
||||
elem.cloneNode( true ) :
|
||||
shimCloneNode( elem );
|
||||
|
||||
|
@ -6325,7 +6363,8 @@ jQuery.extend({
|
|||
},
|
||||
|
||||
clean: function( elems, context, fragment, scripts ) {
|
||||
var checkScriptType;
|
||||
var checkScriptType, script, j,
|
||||
ret = [];
|
||||
|
||||
context = context || document;
|
||||
|
||||
|
@ -6334,8 +6373,6 @@ jQuery.extend({
|
|||
context = context.ownerDocument || context[0] && context[0].ownerDocument || document;
|
||||
}
|
||||
|
||||
var ret = [], j;
|
||||
|
||||
for ( var i = 0, elem; (elem = elems[i]) != null; i++ ) {
|
||||
if ( typeof elem === "number" ) {
|
||||
elem += "";
|
||||
|
@ -6357,7 +6394,9 @@ jQuery.extend({
|
|||
var tag = ( rtagName.exec( elem ) || ["", ""] )[1].toLowerCase(),
|
||||
wrap = wrapMap[ tag ] || wrapMap._default,
|
||||
depth = wrap[0],
|
||||
div = context.createElement("div");
|
||||
div = context.createElement("div"),
|
||||
safeChildNodes = safeFragment.childNodes,
|
||||
remove;
|
||||
|
||||
// Append wrapper element to unknown element safe doc fragment
|
||||
if ( context === document ) {
|
||||
|
@ -6402,6 +6441,21 @@ jQuery.extend({
|
|||
}
|
||||
|
||||
elem = div.childNodes;
|
||||
|
||||
// Clear elements from DocumentFragment (safeFragment or otherwise)
|
||||
// to avoid hoarding elements. Fixes #11356
|
||||
if ( div ) {
|
||||
div.parentNode.removeChild( div );
|
||||
|
||||
// Guard against -1 index exceptions in FF3.6
|
||||
if ( safeChildNodes.length > 0 ) {
|
||||
remove = safeChildNodes[ safeChildNodes.length - 1 ];
|
||||
|
||||
if ( remove && remove.parentNode ) {
|
||||
remove.parentNode.removeChild( remove );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -6430,16 +6484,17 @@ jQuery.extend({
|
|||
return !elem.type || rscriptType.test( elem.type );
|
||||
};
|
||||
for ( i = 0; ret[i]; i++ ) {
|
||||
if ( scripts && jQuery.nodeName( ret[i], "script" ) && (!ret[i].type || ret[i].type.toLowerCase() === "text/javascript") ) {
|
||||
scripts.push( ret[i].parentNode ? ret[i].parentNode.removeChild( ret[i] ) : ret[i] );
|
||||
script = ret[i];
|
||||
if ( scripts && jQuery.nodeName( script, "script" ) && (!script.type || rscriptType.test( script.type )) ) {
|
||||
scripts.push( script.parentNode ? script.parentNode.removeChild( script ) : script );
|
||||
|
||||
} else {
|
||||
if ( ret[i].nodeType === 1 ) {
|
||||
var jsTags = jQuery.grep( ret[i].getElementsByTagName( "script" ), checkScriptType );
|
||||
if ( script.nodeType === 1 ) {
|
||||
var jsTags = jQuery.grep( script.getElementsByTagName( "script" ), checkScriptType );
|
||||
|
||||
ret.splice.apply( ret, [i + 1, 0].concat( jsTags ) );
|
||||
}
|
||||
fragment.appendChild( ret[i] );
|
||||
fragment.appendChild( script );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6659,7 +6714,7 @@ jQuery.extend({
|
|||
}
|
||||
});
|
||||
|
||||
// DEPRECATED, Use jQuery.css() instead
|
||||
// DEPRECATED in 1.3, Use jQuery.css() instead
|
||||
jQuery.curCSS = jQuery.css;
|
||||
|
||||
if ( document.defaultView && document.defaultView.getComputedStyle ) {
|
||||
|
@ -7228,7 +7283,7 @@ jQuery.extend({
|
|||
isLocal: rlocalProtocol.test( ajaxLocParts[ 1 ] ),
|
||||
global: true,
|
||||
type: "GET",
|
||||
contentType: "application/x-www-form-urlencoded",
|
||||
contentType: "application/x-www-form-urlencoded; charset=UTF-8",
|
||||
processData: true,
|
||||
async: true,
|
||||
/*
|
||||
|
@ -7927,8 +7982,7 @@ jQuery.ajaxSetup({
|
|||
// Detect, normalize options and install callbacks for jsonp requests
|
||||
jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) {
|
||||
|
||||
var inspectData = s.contentType === "application/x-www-form-urlencoded" &&
|
||||
( typeof s.data === "string" );
|
||||
var inspectData = ( typeof s.data === "string" ) && /^application\/x\-www\-form\-urlencoded/.test( s.contentType );
|
||||
|
||||
if ( s.dataTypes[ 0 ] === "jsonp" ||
|
||||
s.jsonp !== false && ( jsre.test( s.url ) ||
|
||||
|
@ -8229,7 +8283,13 @@ if ( jQuery.support.ajax ) {
|
|||
if ( xml && xml.documentElement /* #4958 */ ) {
|
||||
responses.xml = xml;
|
||||
}
|
||||
responses.text = xhr.responseText;
|
||||
|
||||
// When requesting binary data, IE6-9 will throw an exception
|
||||
// on any attempt to access responseText (#11426)
|
||||
try {
|
||||
responses.text = xhr.responseText;
|
||||
} catch( _ ) {
|
||||
}
|
||||
|
||||
// Firefox throws an exception when accessing
|
||||
// statusText for faulty cross-domain requests
|
||||
|
@ -8456,7 +8516,7 @@ jQuery.fn.extend({
|
|||
prop[ name ] = prop[ p ];
|
||||
delete prop[ p ];
|
||||
}
|
||||
|
||||
|
||||
if ( ( hooks = jQuery.cssHooks[ name ] ) && "expand" in hooks ) {
|
||||
replace = hooks.expand( prop[ name ] );
|
||||
delete prop[ name ];
|
||||
|
@ -8699,11 +8759,11 @@ jQuery.extend({
|
|||
},
|
||||
|
||||
easing: {
|
||||
linear: function( p, n, firstNum, diff ) {
|
||||
return firstNum + diff * p;
|
||||
linear: function( p ) {
|
||||
return p;
|
||||
},
|
||||
swing: function( p, n, firstNum, diff ) {
|
||||
return ( ( -Math.cos( p*Math.PI ) / 2 ) + 0.5 ) * diff + firstNum;
|
||||
swing: function( p ) {
|
||||
return ( -Math.cos( p*Math.PI ) / 2 ) + 0.5;
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -8933,12 +8993,14 @@ jQuery.extend( jQuery.fx, {
|
|||
}
|
||||
});
|
||||
|
||||
// Adds width/height step functions
|
||||
// Do not set anything below 0
|
||||
jQuery.each([ "width", "height" ], function( i, prop ) {
|
||||
jQuery.fx.step[ prop ] = function( fx ) {
|
||||
jQuery.style( fx.elem, prop, Math.max(0, fx.now) + fx.unit );
|
||||
};
|
||||
// Ensure props that can't be negative don't go there on undershoot easing
|
||||
jQuery.each( fxAttrs.concat.apply( [], fxAttrs ), function( i, prop ) {
|
||||
// exclude marginTop, marginLeft, marginBottom and marginRight from this list
|
||||
if ( prop.indexOf( "margin" ) ) {
|
||||
jQuery.fx.step[ prop ] = function( fx ) {
|
||||
jQuery.style( fx.elem, prop, Math.max(0, fx.now) + fx.unit );
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
if ( jQuery.expr && jQuery.expr.filters ) {
|
||||
|
@ -8975,7 +9037,7 @@ function defaultDisplay( nodeName ) {
|
|||
// document to it; WebKit & Firefox won't allow reusing the iframe document.
|
||||
if ( !iframeDoc || !iframe.createElement ) {
|
||||
iframeDoc = ( iframe.contentWindow || iframe.contentDocument ).document;
|
||||
iframeDoc.write( ( document.compatMode === "CSS1Compat" ? "<!doctype html>" : "" ) + "<html><body>" );
|
||||
iframeDoc.write( ( jQuery.support.boxModel ? "<!doctype html>" : "" ) + "<html><body>" );
|
||||
iframeDoc.close();
|
||||
}
|
||||
|
||||
|
@ -9279,7 +9341,7 @@ jQuery.each( { Height: "height", Width: "width" }, function( name, type ) {
|
|||
// 3rd condition allows Nokia support, as it supports the docElem prop but not CSS1Compat
|
||||
doc = elem.document;
|
||||
docElemProp = doc.documentElement[ clientProp ];
|
||||
return doc.compatMode === "CSS1Compat" && docElemProp ||
|
||||
return jQuery.support.boxModel && docElemProp ||
|
||||
doc.body && doc.body[ clientProp ] || docElemProp;
|
||||
}
|
||||
|
||||
|
@ -9287,8 +9349,16 @@ jQuery.each( { Height: "height", Width: "width" }, function( name, type ) {
|
|||
if ( elem.nodeType === 9 ) {
|
||||
// Either scroll[Width/Height] or offset[Width/Height], whichever is greater
|
||||
doc = elem.documentElement;
|
||||
|
||||
// when a window > document, IE6 reports a offset[Width/Height] > client[Width/Height]
|
||||
// so we can't use max, as it'll choose the incorrect offset[Width/Height]
|
||||
// instead we use the correct client[Width/Height]
|
||||
// support:IE6
|
||||
if ( doc[ clientProp ] >= doc[ scrollProp ] ) {
|
||||
return doc[ clientProp ];
|
||||
}
|
||||
|
||||
return Math.max(
|
||||
doc[ clientProp ],
|
||||
elem.body[ scrollProp ], doc[ scrollProp ],
|
||||
elem.body[ offsetProp ], doc[ offsetProp ]
|
||||
);
|
|
@ -20,7 +20,7 @@
|
|||
font-style: normal;
|
||||
}
|
||||
|
||||
.openerp.openerp-web-client-container {
|
||||
.openerp.openerp_webclient_container {
|
||||
height: 100%;
|
||||
position: relative;
|
||||
}
|
||||
|
@ -34,7 +34,7 @@
|
|||
background: white;
|
||||
/* http://www.quirksmode.org/dom/inputfile.html
|
||||
* http://stackoverflow.com/questions/2855589/replace-input-type-file-by-an-image
|
||||
*/
|
||||
*/ */
|
||||
}
|
||||
.openerp a {
|
||||
text-decoration: none;
|
||||
|
@ -91,11 +91,12 @@
|
|||
list-style-type: none;
|
||||
}
|
||||
.openerp input, .openerp textarea, .openerp select {
|
||||
padding: 4px;
|
||||
padding: 1px 4px;
|
||||
border: 1px solid #cccccc;
|
||||
-moz-border-radius: 3px;
|
||||
-webkit-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
background: white;
|
||||
}
|
||||
.openerp img {
|
||||
vertical-align: middle;
|
||||
|
@ -185,6 +186,17 @@
|
|||
.openerp .ui-menu .ui-menu-item a.ui-state-active {
|
||||
background: #f0f0fa;
|
||||
}
|
||||
.openerp.ui-dialog {
|
||||
border: 13px solid rgba(0, 0, 0, 0.3);
|
||||
-moz-border-radius: 16px;
|
||||
-webkit-border-radius: 16px;
|
||||
border-radius: 16px;
|
||||
-moz-background-clip: padding-box;
|
||||
-webkit-background-clip: padding;
|
||||
background-clip: padding-box;
|
||||
box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.6);
|
||||
-webkit-box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
.openerp .oe_i {
|
||||
font-family: "mnmliconsRegular" !important;
|
||||
font-size: 21px;
|
||||
|
@ -261,8 +273,28 @@
|
|||
-webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
|
||||
box-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
.openerp .oe_form_dirty .oe_highlight_on_dirty {
|
||||
color: white;
|
||||
background: #dc5f59;
|
||||
font-weight: bold;
|
||||
}
|
||||
.openerp .oe_form_dirty button.oe_highlight_on_dirty {
|
||||
background-color: #dc5f59;
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#dc5f59), to(#b33630));
|
||||
background-image: -webkit-linear-gradient(top, #dc5f59, #b33630);
|
||||
background-image: -moz-linear-gradient(top, #dc5f59, #b33630);
|
||||
background-image: -ms-linear-gradient(top, #dc5f59, #b33630);
|
||||
background-image: -o-linear-gradient(top, #dc5f59, #b33630);
|
||||
background-image: linear-gradient(to bottom, #dc5f59, #b33630);
|
||||
-moz-box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
.openerp .oe_form_dirty button.oe_highlight_on_dirty:hover {
|
||||
background: #ed6f6a;
|
||||
}
|
||||
.openerp .oe_title {
|
||||
width: 55%;
|
||||
width: 60%;
|
||||
}
|
||||
.openerp .oe_title:after {
|
||||
content: ".";
|
||||
|
@ -288,6 +320,38 @@
|
|||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
|
||||
border: none;
|
||||
}
|
||||
.openerp .oe_button.oe_link {
|
||||
border: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
background: none;
|
||||
-moz-border-radius: none;
|
||||
-webkit-border-radius: none;
|
||||
border-radius: none;
|
||||
-moz-box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
.openerp .oe_button.oe_link img {
|
||||
display: none;
|
||||
}
|
||||
.openerp .oe_button.oe_link span {
|
||||
border: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
background: none;
|
||||
-moz-border-radius: none;
|
||||
-webkit-border-radius: none;
|
||||
border-radius: none;
|
||||
-moz-box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
color: #8a89ba;
|
||||
font-weight: bold;
|
||||
}
|
||||
.openerp .oe_button.oe_link span:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
.openerp.oe_tooltip {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
@ -731,6 +795,7 @@
|
|||
border-top: 4px solid white;
|
||||
}
|
||||
.openerp .oe_topbar .oe_dropdown_menu {
|
||||
top: 32px;
|
||||
background: #333333;
|
||||
background: rgba(37, 37, 37, 0.9);
|
||||
border-color: #999999;
|
||||
|
@ -1111,10 +1176,10 @@
|
|||
.openerp .oe_view_manager .oe_view_manager_switch .oe_vm_switch_diagram:after {
|
||||
content: "f";
|
||||
}
|
||||
.openerp .oe_view_manager_global {
|
||||
.openerp .oe_view_manager_current {
|
||||
height: 100%;
|
||||
}
|
||||
.openerp .oe_view_manager_global > .oe_view_manager_header {
|
||||
.openerp .oe_view_manager_current > .oe_view_manager_header {
|
||||
border-top: 1px solid #cacaca;
|
||||
border-bottom: 1px solid #cacaca;
|
||||
background-color: #fcfcfc;
|
||||
|
@ -1128,13 +1193,19 @@
|
|||
-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 9px rgba(0, 0, 0, 0.1);
|
||||
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 9px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
.openerp .oe_view_manager_global > .oe_view_manager_header .oe_header_row td {
|
||||
.openerp .oe_view_manager_current > .oe_view_manager_header .oe_header_row td {
|
||||
padding: 8px;
|
||||
}
|
||||
.openerp .oe_view_manager_global > .oe_view_manager_header .oe_header_row:first-child td {
|
||||
.openerp .oe_view_manager_current > .oe_view_manager_header .oe_header_row:first-child td {
|
||||
padding-top: 8px;
|
||||
}
|
||||
.openerp .oe-select-create-popup-view-form > .oe_formview > .oe_form_pager {
|
||||
.openerp .oe_view_manager_inline {
|
||||
height: 100%;
|
||||
}
|
||||
.openerp .oe_view_manager_inline > .oe_view_manager_header {
|
||||
display: none;
|
||||
}
|
||||
.openerp .oe_popup_form > .oe_formview > .oe_form_pager {
|
||||
display: none !important;
|
||||
}
|
||||
.openerp .oe_searchview {
|
||||
|
@ -1423,6 +1494,10 @@
|
|||
top: 0;
|
||||
right: 5px;
|
||||
}
|
||||
.openerp .oe_searchview .oe_searchview_drawer .oe_searchview_dashboard form {
|
||||
display: none;
|
||||
margin-top: 2px;
|
||||
}
|
||||
.openerp .oe_searchview .oe_searchview_drawer .oe_searchview_advanced form {
|
||||
display: none;
|
||||
margin-top: 8px;
|
||||
|
@ -1511,29 +1586,11 @@
|
|||
background-color: #ff6666 !important;
|
||||
border: 1px solid #dd0000 !important;
|
||||
}
|
||||
.openerp .oe_form_button_save_dirty {
|
||||
color: white;
|
||||
background: #dc5f59;
|
||||
background-color: #dc5f59;
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#dc5f59), to(#b33630));
|
||||
background-image: -webkit-linear-gradient(top, #dc5f59, #b33630);
|
||||
background-image: -moz-linear-gradient(top, #dc5f59, #b33630);
|
||||
background-image: -ms-linear-gradient(top, #dc5f59, #b33630);
|
||||
background-image: -o-linear-gradient(top, #dc5f59, #b33630);
|
||||
background-image: linear-gradient(to bottom, #dc5f59, #b33630);
|
||||
-moz-box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
font-weight: bold;
|
||||
}
|
||||
.openerp .oe_form_button_save_dirty:hover {
|
||||
background: #ed6f6a;
|
||||
}
|
||||
.openerp .oe_form_editable .oe_highlight {
|
||||
.openerp .oe_view_manager_current .oe_form_editable .oe_highlight {
|
||||
color: #404040;
|
||||
background: none;
|
||||
}
|
||||
.openerp .oe_form_editable button.oe_highlight {
|
||||
.openerp .oe_view_manager_current .oe_form_editable button.oe_highlight {
|
||||
background-color: #efefef;
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#efefef), to(#d8d8d8));
|
||||
background-image: -webkit-linear-gradient(top, #efefef, #d8d8d8);
|
||||
|
@ -1545,7 +1602,7 @@
|
|||
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
|
||||
}
|
||||
.openerp .oe_form_editable button.oe_highlight:active {
|
||||
.openerp .oe_view_manager_current .oe_form_editable button.oe_highlight:active {
|
||||
background-color: #e3e3e3;
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#e3e3e3), to(#f6f6f6));
|
||||
background-image: -webkit-linear-gradient(top, #e3e3e3, #f6f6f6);
|
||||
|
@ -1557,7 +1614,7 @@
|
|||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
.openerp .oe_form_editable button.oe_highlight:hover {
|
||||
.openerp .oe_view_manager_current .oe_form_editable button.oe_highlight:hover {
|
||||
background-color: #f6f6f6;
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f6f6f6), to(#e3e3e3));
|
||||
background-image: -webkit-linear-gradient(top, #f6f6f6, #e3e3e3);
|
||||
|
@ -1575,9 +1632,13 @@
|
|||
.openerp .oe_form_readonly .oe_edit_only, .openerp .oe_form_readonly .oe_form_field:empty {
|
||||
display: none !important;
|
||||
}
|
||||
.openerp .oe_form_nosheet > *:not(header) {
|
||||
margin-left: 10px !important;
|
||||
margin-right: 10px !important;
|
||||
.openerp .oe_form_nosheet {
|
||||
margin-left: 10px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
.openerp .oe_form_nosheet > header {
|
||||
margin-left: -10px;
|
||||
margin-right: -10px;
|
||||
}
|
||||
.openerp .oe_form header {
|
||||
position: relative;
|
||||
|
@ -1927,7 +1988,7 @@
|
|||
width: 45px;
|
||||
height: 30px;
|
||||
}
|
||||
.openerp .oe_hidden_input_file input.oe-binary-file {
|
||||
.openerp .oe_hidden_input_file input.oe_form_binary_file {
|
||||
z-index: 0;
|
||||
line-height: 0;
|
||||
font-size: 12px;
|
||||
|
@ -1968,7 +2029,7 @@
|
|||
.openerp .oe_form_field_many2one td:first-child {
|
||||
position: relative;
|
||||
}
|
||||
.openerp .oe_form_field_many2one span.oe-m2o-drop-down-button {
|
||||
.openerp .oe_form_field_many2one span.oe_m2o_drop_down_button {
|
||||
position: absolute;
|
||||
top: 3px;
|
||||
right: 2px;
|
||||
|
@ -1976,6 +2037,12 @@
|
|||
.openerp .oe_form .oe_form_field_one2many > .oe_view_manager .oe_list_pager_single_page {
|
||||
display: none;
|
||||
}
|
||||
.openerp .oe_form_field_one2many .oe_list .oe_list_edit_row_save {
|
||||
background: url(/web/static/src/img/iconset-b-remove.png) 50% 50% no-repeat;
|
||||
}
|
||||
.openerp .oe_form_field_one2many .oe_list .oe_list_edit_row_save:before {
|
||||
visibility: hidden;
|
||||
}
|
||||
.openerp .oe_form_field_one2many > .oe_view_manager .oe_header_row_top {
|
||||
display: none;
|
||||
}
|
||||
|
@ -1994,28 +2061,28 @@
|
|||
height: auto;
|
||||
line-height: 16px;
|
||||
}
|
||||
.openerp .oe_form .oe_form_field_many2many > .oe-listview .oe_list_pager_single_page {
|
||||
.openerp .oe_form .oe_form_field_many2many > .oe_list .oe_list_pager_single_page {
|
||||
display: none;
|
||||
}
|
||||
.openerp .oe-listview-content {
|
||||
.openerp .oe_list_content {
|
||||
width: 100%;
|
||||
}
|
||||
.openerp .oe-listview-content td:first-child:after, .openerp .oe-listview-content th:first-child:after {
|
||||
.openerp .oe_list_content td:first-child:after, .openerp .oe_list_content th:first-child:after {
|
||||
border-width: 0;
|
||||
}
|
||||
.openerp .oe-listview-content > thead {
|
||||
.openerp .oe_list_content > thead {
|
||||
border-bottom: 2px solid #cacaca;
|
||||
background: #eeeeee;
|
||||
vertical-align: top;
|
||||
}
|
||||
.openerp .oe-listview-content > thead th {
|
||||
.openerp .oe_list_content > thead th {
|
||||
position: relative;
|
||||
}
|
||||
.openerp .oe-listview-content td, .openerp .oe-listview-content th {
|
||||
.openerp .oe_list_content td, .openerp .oe_list_content th {
|
||||
padding: 3px 6px;
|
||||
line-height: 18px;
|
||||
}
|
||||
.openerp .oe-listview-content th:after {
|
||||
.openerp .oe_list_content th:after {
|
||||
position: absolute;
|
||||
right: 6px;
|
||||
content: "";
|
||||
|
@ -2025,12 +2092,12 @@
|
|||
border-color: black transparent;
|
||||
visibility: hidden;
|
||||
}
|
||||
.openerp .oe-listview-content th.sortup:after {
|
||||
.openerp .oe_list_content th.sortup:after {
|
||||
visibility: visible;
|
||||
filter: alpha(opacity=60);
|
||||
opacity: 0.6;
|
||||
}
|
||||
.openerp .oe-listview-content th.sortdown:after {
|
||||
.openerp .oe_list_content th.sortdown:after {
|
||||
border-bottom: none;
|
||||
border-left: 4px solid transparent;
|
||||
border-right: 4px solid transparent;
|
||||
|
@ -2042,20 +2109,20 @@
|
|||
filter: alpha(opacity=60);
|
||||
opacity: 0.6;
|
||||
}
|
||||
.openerp .oe-listview-content > tbody {
|
||||
.openerp .oe_list_content > tbody {
|
||||
cursor: pointer;
|
||||
background: white;
|
||||
}
|
||||
.openerp .oe-listview-content > tbody > tr {
|
||||
.openerp .oe_list_content > tbody > tr {
|
||||
border-top: 1px solid #dddddd;
|
||||
}
|
||||
.openerp .oe-listview-content > tbody > tr > td.oe-field-cell {
|
||||
.openerp .oe_list_content > tbody > tr > td.oe_list_field_cell {
|
||||
padding: 3px 6px;
|
||||
}
|
||||
.openerp .oe-listview-content > tbody > tr > td, .openerp .oe-listview-content > tbody > tr > th {
|
||||
.openerp .oe_list_content > tbody > tr > td, .openerp .oe_list_content > tbody > tr > th {
|
||||
line-height: 18px;
|
||||
}
|
||||
.openerp .oe-listview-content > tbody > tr > td > button, .openerp .oe-listview-content > tbody > tr > th > button {
|
||||
.openerp .oe_list_content > tbody > tr > td > button, .openerp .oe_list_content > tbody > tr > th > button {
|
||||
border: none;
|
||||
background: transparent;
|
||||
padding: 0;
|
||||
|
@ -2063,16 +2130,16 @@
|
|||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
.openerp .oe-listview-content > tbody > tr > td.oe_list_checkbox:first-child, .openerp .oe-listview-content > tbody > tr th.oe_list_checkbox:first-child {
|
||||
.openerp .oe_list_content > tbody > tr > td.oe_list_checkbox:first-child, .openerp .oe_list_content > tbody > tr th.oe_list_checkbox:first-child {
|
||||
width: 17px;
|
||||
}
|
||||
.openerp .oe-listview-content > tbody > tr > td.oe_list_checkbox:first-child:after, .openerp .oe-listview-content > tbody > tr th.oe_list_checkbox:first-child:after {
|
||||
.openerp .oe_list_content > tbody > tr > td.oe_list_checkbox:first-child:after, .openerp .oe_list_content > tbody > tr th.oe_list_checkbox:first-child:after {
|
||||
border-width: 0;
|
||||
}
|
||||
.openerp .oe-listview-content > tbody > tr > td.oe_number {
|
||||
.openerp .oe_list_content > tbody > tr > td.oe_number {
|
||||
text-align: right !important;
|
||||
}
|
||||
.openerp .oe-listview-content > tbody > tr:nth-child(odd) {
|
||||
.openerp .oe_list_content > tbody > tr:nth-child(odd) {
|
||||
background-color: #f0f0fa;
|
||||
background-color: #f0f0fa;
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f0f0fa), to(#eeeef6));
|
||||
|
@ -2082,13 +2149,13 @@
|
|||
background-image: -o-linear-gradient(top, #f0f0fa, #eeeef6);
|
||||
background-image: linear-gradient(to bottom, #f0f0fa, #eeeef6);
|
||||
}
|
||||
.openerp .oe-listview-content > tfoot {
|
||||
.openerp .oe_list_content > tfoot {
|
||||
border-top: 2px solid #cacaca;
|
||||
border-bottom: 1px solid #cacaca;
|
||||
background: #eeeeee;
|
||||
font-weight: bold;
|
||||
}
|
||||
.openerp .oe-listview-content > tbody tr:hover td, .openerp .oe-listview-content tbody tr:hover th {
|
||||
.openerp .oe_list_content > tbody tr:hover td, .openerp .oe_list_content tbody tr:hover th {
|
||||
background-color: #eeeeee;
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#eeeeee), to(#dedede));
|
||||
background-image: -webkit-linear-gradient(top, #eeeeee, #dedede);
|
||||
|
@ -2097,13 +2164,16 @@
|
|||
background-image: -o-linear-gradient(top, #eeeeee, #dedede);
|
||||
background-image: linear-gradient(to bottom, #eeeeee, #dedede);
|
||||
}
|
||||
.openerp .oe-listview-content .numeric {
|
||||
.openerp .oe_list_content .numeric {
|
||||
text-align: right;
|
||||
width: 82px;
|
||||
}
|
||||
.openerp .oe-listview-content .numeric input {
|
||||
.openerp .oe_list_content .numeric input {
|
||||
text-align: right;
|
||||
}
|
||||
.openerp .oe_list_content .oe_list_edit_row_save:before {
|
||||
content: "S";
|
||||
}
|
||||
.openerp .oe_trad_field.touched {
|
||||
border: 1px solid green !important;
|
||||
}
|
||||
|
|
|
@ -27,6 +27,14 @@ $colour4: #8a89ba
|
|||
font-weight: normal
|
||||
font-style: normal
|
||||
|
||||
@mixin reset()
|
||||
border: none
|
||||
padding: 0
|
||||
margin: 0
|
||||
background: none
|
||||
@include radius(none)
|
||||
@include box-shadow(none)
|
||||
|
||||
@mixin vertical-gradient($startColor: #555, $endColor: #333)
|
||||
background-color: $startColor
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from($startColor), to($endColor)) /* Saf4+, Chrome */
|
||||
|
@ -90,7 +98,7 @@ $colour4: #8a89ba
|
|||
|
||||
// }}}
|
||||
|
||||
.openerp.openerp-web-client-container
|
||||
.openerp.openerp_webclient_container
|
||||
height: 100%
|
||||
position: relative
|
||||
|
||||
|
@ -135,9 +143,10 @@ $colour4: #8a89ba
|
|||
li
|
||||
list-style-type: none
|
||||
input, textarea, select
|
||||
padding: 4px
|
||||
padding: 1px 4px
|
||||
border: 1px solid #ccc
|
||||
@include radius(3px)
|
||||
background: white
|
||||
img
|
||||
vertical-align: middle
|
||||
h4
|
||||
|
@ -191,6 +200,14 @@ $colour4: #8a89ba
|
|||
width: auto
|
||||
a.ui-state-active
|
||||
background: #f0f0fa
|
||||
&.ui-dialog
|
||||
border: 13px solid rgba(0, 0, 0, 0.3)
|
||||
@include radius(16px)
|
||||
-moz-background-clip: padding-box
|
||||
-webkit-background-clip: padding
|
||||
background-clip: padding-box
|
||||
box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.6)
|
||||
-webkit-box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.2)
|
||||
// }}}
|
||||
// Generic classes {{{
|
||||
.oe_i
|
||||
|
@ -232,8 +249,18 @@ $colour4: #8a89ba
|
|||
@include vertical-gradient(#DF6B66, #BF3A33)
|
||||
//@include vertical-gradient(lighten(#dc5f59, 3%), lighten(#b33630, 3%))
|
||||
@include box-shadow(0 0 1px rgba(0, 0, 0, 0.2))
|
||||
.oe_form_dirty
|
||||
.oe_highlight_on_dirty
|
||||
color: white
|
||||
background: #dc5f59
|
||||
font-weight: bold
|
||||
button.oe_highlight_on_dirty
|
||||
@include vertical-gradient(#dc5f59, #b33630)
|
||||
@include box-shadow(none)
|
||||
&:hover
|
||||
background: #ED6F6A
|
||||
.oe_title
|
||||
width: 55%
|
||||
width: 60%
|
||||
.oe_title:after
|
||||
content: "."
|
||||
display: block
|
||||
|
@ -250,6 +277,17 @@ $colour4: #8a89ba
|
|||
@include radius(3px)
|
||||
@include box-shadow(0 1px 3px rgba(0, 0, 0, 0.3))
|
||||
border: none
|
||||
.oe_button.oe_link
|
||||
@include reset()
|
||||
img
|
||||
display: none
|
||||
span
|
||||
@include reset()
|
||||
color: #8A89BA
|
||||
font-weight: bold
|
||||
&:hover
|
||||
text-decoration: underline
|
||||
|
||||
//.oe_edit_only
|
||||
// }}}
|
||||
// Tooltips {{{
|
||||
|
@ -583,6 +621,7 @@ $colour4: #8a89ba
|
|||
.oe_dropdown_arrow:after
|
||||
border-top: 4px solid white
|
||||
.oe_dropdown_menu
|
||||
top: 32px
|
||||
background: #333
|
||||
background: rgba(37,37,37,0.9)
|
||||
border-color: #999
|
||||
|
@ -883,7 +922,7 @@ $colour4: #8a89ba
|
|||
content: "f"
|
||||
// }}}
|
||||
// ViewManager application {{{
|
||||
.oe_view_manager_global
|
||||
.oe_view_manager_current
|
||||
height: 100%
|
||||
> .oe_view_manager_header
|
||||
border-top: 1px solid #cacaca
|
||||
|
@ -897,8 +936,14 @@ $colour4: #8a89ba
|
|||
td
|
||||
padding-top: 8px
|
||||
// }}}
|
||||
// ViewManager inline {{{
|
||||
.oe_view_manager_inline
|
||||
height: 100%
|
||||
> .oe_view_manager_header
|
||||
display: none
|
||||
// }}}
|
||||
// Viewmanager popup {{{
|
||||
.oe-select-create-popup-view-form > .oe_formview > .oe_form_pager
|
||||
.oe_popup_form > .oe_formview > .oe_form_pager
|
||||
display: none !important
|
||||
// }}}
|
||||
// SearchView {{{
|
||||
|
@ -1121,6 +1166,11 @@ $colour4: #8a89ba
|
|||
position: absolute
|
||||
top: 0
|
||||
right: 5px
|
||||
.oe_searchview_dashboard
|
||||
form
|
||||
display: none
|
||||
margin-top: 2px
|
||||
|
||||
.oe_searchview_advanced
|
||||
form
|
||||
display: none
|
||||
|
@ -1206,15 +1256,7 @@ $colour4: #8a89ba
|
|||
input, select, textarea
|
||||
background-color: #F66 !important
|
||||
border: 1px solid #D00 !important
|
||||
.oe_form_button_save_dirty
|
||||
color: white
|
||||
background: #dc5f59
|
||||
@include vertical-gradient(#dc5f59, #b33630)
|
||||
@include box-shadow(none)
|
||||
font-weight: bold
|
||||
&:hover
|
||||
background: #ED6F6A
|
||||
.oe_form_editable
|
||||
.oe_view_manager_current .oe_form_editable
|
||||
.oe_highlight
|
||||
color: #404040
|
||||
background: none
|
||||
|
@ -1232,9 +1274,12 @@ $colour4: #8a89ba
|
|||
.oe_form_readonly
|
||||
.oe_edit_only, .oe_form_field:empty
|
||||
display: none !important
|
||||
.oe_form_nosheet > *:not(header)
|
||||
margin-left: 10px !important
|
||||
margin-right: 10px !important
|
||||
.oe_form_nosheet
|
||||
margin-left: 10px
|
||||
margin-right: 10px
|
||||
.oe_form_nosheet > header
|
||||
margin-left: -10px
|
||||
margin-right: -10px
|
||||
// }}}
|
||||
// FormView.custom tags and classes {{{
|
||||
.oe_form
|
||||
|
@ -1513,7 +1558,7 @@ $colour4: #8a89ba
|
|||
display: inline-block
|
||||
width: 45px
|
||||
height: 30px
|
||||
input.oe-binary-file
|
||||
input.oe_form_binary_file
|
||||
z-index: 0
|
||||
line-height: 0
|
||||
font-size: 12px
|
||||
|
@ -1551,7 +1596,7 @@ $colour4: #8a89ba
|
|||
.oe_form_field_many2one
|
||||
td:first-child
|
||||
position: relative
|
||||
span.oe-m2o-drop-down-button
|
||||
span.oe_m2o_drop_down_button
|
||||
position: absolute
|
||||
top: 3px
|
||||
right: 2px
|
||||
|
@ -1560,29 +1605,36 @@ $colour4: #8a89ba
|
|||
.oe_form .oe_form_field_one2many > .oe_view_manager
|
||||
.oe_list_pager_single_page
|
||||
display: none
|
||||
.oe_form_field_one2many > .oe_view_manager
|
||||
.oe_header_row_top
|
||||
display: none
|
||||
.oe_view_manager_header2
|
||||
td
|
||||
padding: 0px 8px
|
||||
line-height: 16px
|
||||
.oe_i
|
||||
font-size: 13px
|
||||
.oe_pager_group
|
||||
height: auto
|
||||
.oe_form_field_one2many
|
||||
// TODO: oe_form_field_one2many_list?
|
||||
.oe_list .oe_list_edit_row_save
|
||||
background: url(/web/static/src/img/iconset-b-remove.png) 50% 50% no-repeat
|
||||
&:before
|
||||
visibility: hidden
|
||||
|
||||
&> .oe_view_manager
|
||||
.oe_header_row_top
|
||||
display: none
|
||||
.oe_view_manager_header2
|
||||
td
|
||||
padding: 0px 8px
|
||||
line-height: 16px
|
||||
li
|
||||
.oe_i
|
||||
font-size: 13px
|
||||
.oe_pager_group
|
||||
height: auto
|
||||
line-height: 16px
|
||||
li
|
||||
height: auto
|
||||
line-height: 16px
|
||||
// }}}
|
||||
// FormView.many2many {{{
|
||||
.oe_form .oe_form_field_many2many > .oe-listview
|
||||
.oe_form .oe_form_field_many2many > .oe_list
|
||||
.oe_list_pager_single_page
|
||||
display: none
|
||||
// }}}
|
||||
// ListView {{{
|
||||
.oe-listview-content
|
||||
.oe_list_content
|
||||
width: 100%
|
||||
td:first-child, th:first-child
|
||||
&:after
|
||||
|
@ -1621,7 +1673,7 @@ $colour4: #8a89ba
|
|||
background: white
|
||||
> tr
|
||||
border-top: 1px solid #ddd
|
||||
> td.oe-field-cell
|
||||
> td.oe_list_field_cell
|
||||
padding: 3px 6px
|
||||
> td, > th
|
||||
line-height: 18px
|
||||
|
@ -1653,6 +1705,8 @@ $colour4: #8a89ba
|
|||
width: 82px
|
||||
input
|
||||
text-align: right
|
||||
.oe_list_edit_row_save:before
|
||||
content: "S"
|
||||
// }}}
|
||||
// Translation {{{
|
||||
.oe_trad_field.touched
|
||||
|
|
|
@ -1,999 +0,0 @@
|
|||
.openerp {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-size: 80%;
|
||||
font-family: Ubuntu, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
.openerp, .openerp textarea, .openerp input, .openerp select, .openerp option,
|
||||
.openerp button, .openerp .ui-widget {
|
||||
font-family: Ubuntu, Helvetica, sans-serif;
|
||||
font-size:85%;
|
||||
}
|
||||
|
||||
.openerp .view-manager-main-content {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.openerp .oe_form_group_cell .view-manager-main-content {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.oe_box {
|
||||
border: 1px solid #aaf;
|
||||
padding: 2px;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
|
||||
#oe_errors pre {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.openerp .oe-listview .oe-number {
|
||||
text-align: right !important;
|
||||
}
|
||||
.oe-listview-header-columns {
|
||||
background: #d1d1d1; /* Old browsers */
|
||||
background: -moz-linear-gradient(top, #ffffff 0%, #d1d1d1 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#d1d1d1)); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(top, #ffffff 0%,#d1d1d1 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #ffffff 0%,#d1d1d1 100%); /* Opera11.10+ */
|
||||
background: -ms-linear-gradient(top, #ffffff 0%,#d1d1d1 100%); /* IE10+ */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFFFFF', endColorstr='#d1d1d1',GradientType=0 ); /* IE6-9 */
|
||||
background: linear-gradient(top, #ffffff 0%,#d1d1d1 100%); /* W3C */
|
||||
}
|
||||
|
||||
.openerp .oe_hide {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* STATES */
|
||||
.openerp .on_logged,
|
||||
.openerp .db_options_row {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Database */
|
||||
.login .oe-database-manager {
|
||||
display: none;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background-color: white;
|
||||
}
|
||||
.login.database_block .bottom,
|
||||
.login.database_block .login_error_message,
|
||||
.login.database_block .pane {
|
||||
display: none;
|
||||
}
|
||||
.login.database_block .oe-database-manager {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.login .database {
|
||||
float: left;
|
||||
width: 202px;
|
||||
height: 100%;
|
||||
background: #666666;
|
||||
}
|
||||
.login .oe_db_options {
|
||||
margin-left: 202px;
|
||||
color: black;
|
||||
padding-top: 20px;
|
||||
}
|
||||
|
||||
.login .database ul {
|
||||
margin-top: 65px;
|
||||
}
|
||||
|
||||
ul.db_options li {
|
||||
padding: 5px 0 10px 5px;
|
||||
background: #949292; /* Old browsers */
|
||||
background: -moz-linear-gradient(top, #949292 30%, #6d6b6b 95%, #282828 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(30%,#949292), color-stop(95%,#6d6b6b), color-stop(100%,#282828)); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(top, #949292 30%,#6d6b6b 95%,#282828 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #949292 30%,#6d6b6b 95%,#282828 100%); /* Opera11.10+ */
|
||||
background: -ms-linear-gradient(top, #949292 30%,#6d6b6b 95%,#282828 100%); /* IE10+ */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#949292', endColorstr='#282828',GradientType=0 ); /* IE6-9 */
|
||||
background: linear-gradient(top, #949292 30%,#6d6b6b 95%,#282828 100%); /* W3C */
|
||||
/* for ie9 */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#949292', endColorstr='#5B5A5A',GradientType=0 ); /* IE6-9 */
|
||||
border: none;
|
||||
/* overriding jquery ui */
|
||||
-moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;
|
||||
display: block;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
margin: 1px;
|
||||
color: #EEEEEE;
|
||||
cursor: pointer;
|
||||
width: 195px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.db_option_table {
|
||||
border: 1px solid #5A5858;
|
||||
padding: 5px;
|
||||
-moz-border-radius: 10px;
|
||||
}
|
||||
|
||||
table.db_option_table input.required {
|
||||
background-color: #D2D2FF !important;
|
||||
}
|
||||
|
||||
.db_option_table label {
|
||||
display: block;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.db_option_table input[type="text"],
|
||||
.db_option_table input[type="password"],
|
||||
.db_option_table input[type="file"],
|
||||
.db_option_table select {
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
.option_string {
|
||||
font-weight: bold;
|
||||
color: #555;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
padding: 10px 0;
|
||||
font-size: large;
|
||||
}
|
||||
|
||||
label.error {
|
||||
float: none;
|
||||
color: red;
|
||||
padding-left: .5em;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
/* Main*/
|
||||
.openerp .main_table {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: #f0eeee;
|
||||
}
|
||||
.openerp .oe-application {
|
||||
height: 100%;
|
||||
}
|
||||
.openerp .oe-application-container {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
/* IE Hack - for IE < 9
|
||||
* Avoids footer to be placed statically at 100% cutting the middle of the views
|
||||
* */
|
||||
.openerp .oe-application-container {
|
||||
height: auto\9;
|
||||
min-height: 100%\9;
|
||||
}
|
||||
|
||||
|
||||
/* Main Application */
|
||||
.openerp .oe-main-content {
|
||||
padding: 0;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.openerp h2.oe_view_title {
|
||||
font-size: 110%;
|
||||
font-weight: normal;
|
||||
margin: 2px 0;
|
||||
color: #252424;
|
||||
text-shadow: white 0 1px 0;
|
||||
}
|
||||
.openerp div[id^="notebook"] .oe_view_title {
|
||||
font-size:85%;
|
||||
padding-bottom:4px;
|
||||
}
|
||||
|
||||
/* List */
|
||||
.openerp table.oe-listview-content {
|
||||
clear: right;
|
||||
width: 100%;
|
||||
border-spacing: 0;
|
||||
border: 1px solid silver;
|
||||
}
|
||||
|
||||
.openerp .oe-listview thead table {
|
||||
width: 100%;
|
||||
border: none;
|
||||
}
|
||||
.openerp .oe-listview tr.odd {
|
||||
background-color: #f3f3f3;
|
||||
}
|
||||
.openerp .oe-listview tbody tr:hover {
|
||||
background-color: #ecebf2;
|
||||
}
|
||||
.openerp .oe-listview tbody tr:hover {
|
||||
background-color: #eae9f0;
|
||||
}
|
||||
.openerp .oe-listview thead table tr,
|
||||
.openerp .oe-listview thead table tr:hover {
|
||||
background: none;
|
||||
}
|
||||
|
||||
.openerp .oe-listview > table > tbody > tr > td,
|
||||
.openerp .oe-listview th {
|
||||
vertical-align: middle;
|
||||
text-align: left;
|
||||
padding: 1px 2px;
|
||||
}
|
||||
|
||||
.openerp .oe-record-delete button,
|
||||
.openerp button.oe-edit-row-save {
|
||||
border: none;
|
||||
height: 12px;
|
||||
width: 12px;
|
||||
background: url("/web/static/src/img/iconset-b-remove.png") no-repeat scroll center center transparent;
|
||||
cursor: pointer;
|
||||
}
|
||||
.openerp button.oe-edit-row-save {
|
||||
background-image: url('/web/static/src/img/icons/save-document.png');
|
||||
}
|
||||
|
||||
/* Could use :not selectors if they were supported by MSIE8... */
|
||||
.openerp .oe-listview > table > tbody > tr > td {
|
||||
border-left: 1px solid #dadada; /*currently commenting to test with no vertical lines in list view*/
|
||||
}
|
||||
.openerp .oe-listview tbody td:first-child,
|
||||
.openerp .oe-listview tbody td.oe-button,
|
||||
.openerp .oe-listview tbody td.oe-button,
|
||||
.openerp .oe-listview tbody th.oe-record-selector,
|
||||
.openerp .oe-listview tbody td.oe-record-delete {
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
.openerp .oe-listview td.oe-record-delete {
|
||||
text-align: right;
|
||||
}
|
||||
.openerp .oe-listview th.oe-sortable {
|
||||
cursor: pointer;
|
||||
font-size: 75%;
|
||||
text-transform: uppercase;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
padding-left: 3px;
|
||||
color: #333;
|
||||
}
|
||||
.openerp .oe-listview th.oe-sortable .ui-icon {
|
||||
height: 60%;
|
||||
margin: -6px 0 0;
|
||||
display: inline;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.openerp .oe-listview > table > tbody > tr > td {
|
||||
border-bottom: 1px solid #E3E3E3;
|
||||
}
|
||||
|
||||
|
||||
.openerp .oe-listview td.oe-actions {
|
||||
border-bottom:none;
|
||||
}
|
||||
|
||||
.openerp .oe-listview .oe-record-selector, .openerp .oe-listview .oe-record-edit-link {
|
||||
border-bottom: 1px solid #E3E3E3;
|
||||
}
|
||||
.openerp .oe-listview .oe-record-edit-link {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.openerp .oe-listview .oe-field-cell {
|
||||
cursor: pointer;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
padding-top: 3px;
|
||||
padding-bottom: 3px;
|
||||
font-size: 80%;
|
||||
}
|
||||
.openerp .oe-listview .oe-field-cell progress {
|
||||
width: 100%;
|
||||
}
|
||||
.openerp .oe-listview .oe-field-cell.oe-button button,
|
||||
.openerp .oe-listview .oe_form_button button {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: none;
|
||||
background: none;
|
||||
width: 16px;
|
||||
box-shadow: none;
|
||||
-moz-box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
}
|
||||
.openerp .oe-listview .oe-field-cell button:active {
|
||||
opacity: 0.5;
|
||||
}
|
||||
.openerp .oe-listview .oe-field-cell button img {
|
||||
cursor: pointer;
|
||||
}
|
||||
.openerp .oe-listview .oe-field-cell button img:hover {
|
||||
opacity: 0.75;
|
||||
}
|
||||
|
||||
.openerp .oe-listview .oe-field-cell .oe-listview-button-disabled img {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.openerp .oe-listview th.oe-actions {
|
||||
text-align: left;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.openerp .oe-listview th.oe-list-pager {
|
||||
text-align: right;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.openerp .oe-list-pager .oe-pager-state {
|
||||
cursor: pointer;
|
||||
font-size: 90%;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
.openerp .oe_button.oe_button_pager,
|
||||
.openerp .oe-list-pager > span,
|
||||
.openerp .oe_form_pager > span {
|
||||
line-height: 17px;
|
||||
height: 17px;
|
||||
cursor: pointer;
|
||||
color: gray;
|
||||
font-weight: bold;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.openerp .oe_button.oe_button_pager,
|
||||
.openerp .oe_button.oe_button_pager:disabled {
|
||||
padding: 0 3px 0 3px;
|
||||
margin: 0;
|
||||
height: 17px;
|
||||
}
|
||||
.openerp .oe-listview .oe-group-name {
|
||||
padding-right: 1em;
|
||||
}
|
||||
.openerp .oe-listview .oe-group-name,
|
||||
.openerp .oe-listview .oe-group-pagination {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.openerp .oe-listview tfoot td {
|
||||
padding: 3px 3px 0;
|
||||
}
|
||||
.openerp .oe-listview .oe-list-footer {
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
color: #444;
|
||||
font-size: 85%;
|
||||
}
|
||||
.openerp .oe-listview .oe-list-footer span {
|
||||
margin: 0 1em;
|
||||
}
|
||||
.openerp .oe-listview .oe-list-footer progress {
|
||||
vertical-align:-10% !important;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/** list rounded corners
|
||||
|
||||
rounded corners are a pain on tables: need to round not only table, but
|
||||
also on the first and last children of the first and last row
|
||||
*/
|
||||
.openerp .oe-listview table.oe-listview-content {
|
||||
-webkit-border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
.openerp .oe-listview table.oe-listview-content thead tr:first-child th:first-child {
|
||||
-webkit-border-top-left-radius: 4px;
|
||||
-moz-border-radius-topleft: 4px;
|
||||
border-top-left-radius: 4px;
|
||||
}
|
||||
.openerp .oe-listview table.oe-listview-content thead tr:first-child th:last-child {
|
||||
-webkit-border-top-right-radius: 4px;
|
||||
-moz-border-radius-topright: 4px;
|
||||
border-top-right-radius: 4px;
|
||||
}
|
||||
.openerp .oe-listview table.oe-listview-content tfoot tr:last-child th:first-child,
|
||||
.openerp .oe-listview table.oe-listview-content tfoot tr:last-child td:first-child,
|
||||
.openerp .oe-listview table.oe-listview-content tbody:last-child tr:last-child th:first-child {
|
||||
-webkit-border-bottom-left-radius: 4px;
|
||||
-moz-border-radius-bottomleft: 4px;
|
||||
border-bottom-left-radius: 4px;
|
||||
}
|
||||
.openerp .oe-listview table.oe-listview-content tfoot tr:last-child th:last-child,
|
||||
.openerp .oe-listview table.oe-listview-content tfoot tr:last-child td:last-child,
|
||||
.openerp .oe-listview table.oe-listview-content tbody:last-child tr:last-child td:last-child {
|
||||
-webkit-border-bottom-right-radius: 4px;
|
||||
-moz-border-radius-bottomright: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
}
|
||||
|
||||
/* Form */
|
||||
.openerp .oe_form_group_cell input[type="checkbox"] {
|
||||
margin-top: 3px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.openerp .oe_form_group_cell .input[type="text"] {
|
||||
padding-bottom: 1px;
|
||||
}
|
||||
|
||||
.openerp table.oe_form_group td {
|
||||
color: #4c4c4c;
|
||||
}
|
||||
.openerp table.oe_form_group {
|
||||
color: #4c4c4c;
|
||||
}
|
||||
.openerp fieldset.oe_group_box {
|
||||
border: 1px solid #AAAAAA;
|
||||
moz-border-radius: 4px;
|
||||
-webkit-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
background: #F9F9F9;
|
||||
padding: 4px;
|
||||
}
|
||||
.openerp fieldset.oe_group_box legend {
|
||||
font-weight: bold;
|
||||
}
|
||||
.openerp .required.error {
|
||||
border: 1px solid #900;
|
||||
}
|
||||
.openerp .oe_form_buttons, .openerp .oe_list_buttons {
|
||||
float: left;
|
||||
}
|
||||
.openerp .oe_form_pager, .openerp .oe_list_pager {
|
||||
float: right;
|
||||
font-size: 80%;
|
||||
color: gray;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.openerp .oe_form_pager {
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
.openerp .oe_align_left {
|
||||
text-align: left;
|
||||
}
|
||||
.openerp .oe_align_right {
|
||||
text-align: right;
|
||||
}
|
||||
.openerp .oe_align_center {
|
||||
text-align: center;
|
||||
}
|
||||
.openerp .oe_form .oe_form_paragraph {
|
||||
margin: 3px 0 0 0;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.openerp .oe_form .oe_form_paragraph.oe_multilines {
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
.openerp .oe_form_field_one2many .oe-actions h3.oe_view_title,
|
||||
.openerp .oe_form_field_one2many_list .oe-actions h3.oe_view_title{
|
||||
display: inline;
|
||||
margin: 0 0.5em 0 0;
|
||||
}
|
||||
|
||||
.openerp .oe_form .oe-listview th.oe-sortable .ui-icon,
|
||||
.openerp .oe_form .oe-listview th.oe-sortable .ui-icon {
|
||||
height: 100%;
|
||||
margin-top: -9px;
|
||||
}
|
||||
|
||||
.openerp table.oe_form_group .oe-listview-content td {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
/* Uneditable Form View */
|
||||
.openerp .oe_form_readonly {
|
||||
|
||||
}
|
||||
.openerp .oe_form_readonly .oe_form_group_cell .field_text,
|
||||
.openerp .oe_form_readonly .field_char,
|
||||
.openerp .oe_form_readonly .field_int,
|
||||
.openerp .oe_form_readonly .field_float,
|
||||
.openerp .oe_form_readonly .field_email,
|
||||
.openerp .oe_form_readonly .field_date,
|
||||
.openerp .oe_form_readonly .field_selection,
|
||||
.openerp .oe_form_readonly .oe_form_field_many2one {
|
||||
padding: 3px 2px 2px 2px;
|
||||
background-color: white;
|
||||
height: 17px;
|
||||
}
|
||||
.openerp .oe_form_readonly .oe_form_group_cell .field_text {
|
||||
height: auto;
|
||||
}
|
||||
.openerp .oe_form_readonly .field_datetime {
|
||||
padding: 1px 2px 2px 2px;
|
||||
background-color: white;
|
||||
height:19px;
|
||||
}
|
||||
.openerp .oe_form_readonly .oe_form_field_many2one div {
|
||||
background-color:white;
|
||||
height:18px;
|
||||
margin-bottom:1px;
|
||||
padding: 0px 2px 5px 2px;
|
||||
}
|
||||
|
||||
.openerp .oe_form_readonly .oe_form_field_email div {
|
||||
background-color: white;
|
||||
padding: 1px 2px 3px 2px;
|
||||
}
|
||||
|
||||
|
||||
.openerp .oe_form_readonly .oe_form_field_text div.field_text,
|
||||
.openerp .oe_form_readonly .oe_form_field_text_html div.field_text_html {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
.openerp .oe_form_readonly .oe_form_group_cell .field_text {
|
||||
min-height:100px;
|
||||
}
|
||||
/* Inputs */
|
||||
/* vertically recentering filter management select tag */
|
||||
.openerp select.oe_search-view-filters-management {
|
||||
margin-top:2px;
|
||||
}
|
||||
|
||||
|
||||
@-moz-document url-prefix() {
|
||||
/* Strange firefox behaviour on width: 100% + white-space: nowrap */
|
||||
.openerp .oe_form .oe_form_button .oe_button {
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
/* IE Hack - for IE < 9
|
||||
* Avoids buttons overflow
|
||||
* */
|
||||
.openerp .oe_form .oe_form_button .oe_button {
|
||||
min-width: auto\9;
|
||||
}
|
||||
|
||||
|
||||
/* jQuery UI override */
|
||||
.openerp .ui-widget {
|
||||
font-size: 1em;
|
||||
}
|
||||
.openerp tbody.ui-widget-content {
|
||||
margin-bottom: 10px;
|
||||
border-spacing: 4px;
|
||||
}
|
||||
.openerp .ui-widget-header {
|
||||
background: white none;
|
||||
}
|
||||
|
||||
/* Sidebar */
|
||||
.openerp .view-manager-main-table {
|
||||
margin: 0;
|
||||
width:100%;
|
||||
border-collapse:collapse;
|
||||
height:100%;
|
||||
}
|
||||
|
||||
.openerp .view-manager-main-table tbody {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.openerp .oe-view-manager-header {
|
||||
overflow: auto;
|
||||
background: url("/web/static/src/img/sep-a.gif") 0 100% repeat-x;
|
||||
margin:6px 0 6px 2px;
|
||||
}
|
||||
.openerp .oe_form_group_cell .oe-view-manager-header { /* Trick: remove the background when element is in a formular */
|
||||
background: none;
|
||||
}
|
||||
|
||||
.openerp .oe-view-manager-header h2 {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.openerp .oe_view_manager_menu_tips blockquote {
|
||||
display: none;
|
||||
font-size: 85%;
|
||||
margin: 0;
|
||||
background: #fff;
|
||||
border-bottom: 1px solid #CECBCB;
|
||||
padding: 1px 10px;
|
||||
color: #4C4C4C;
|
||||
}
|
||||
.openerp .oe_view_manager_menu_tips blockquote p {
|
||||
margin: 0;
|
||||
padding: 6px 1px 4px;
|
||||
}
|
||||
|
||||
.openerp .oe_view_manager_menu_tips blockquote div {
|
||||
text-align: right;
|
||||
margin-right:10px;
|
||||
}
|
||||
|
||||
.openerp .oe_view_manager_menu_tips blockquote div button {
|
||||
border: none;
|
||||
background: none;
|
||||
padding: 0 4px;
|
||||
margin: 0;
|
||||
display: inline;
|
||||
text-decoration: underline;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.openerp .view-manager-main-sidebar {
|
||||
width: 180px;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.openerp .sidebar-main-div {
|
||||
height: 100%;
|
||||
border-left: 1px solid #D2CFCF;
|
||||
}
|
||||
|
||||
.openerp .sidebar-content {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
width: 180px;
|
||||
height: 100%;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
.openerp .closed-sidebar .sidebar-content {
|
||||
width: 22px;
|
||||
}
|
||||
|
||||
.openerp .closed-sidebar .sidebar-content {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.openerp .sidebar-main-div a {
|
||||
color: #555;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.openerp .sidebar-main-div a:hover {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.openerp .oe-sidebar-attachments-toolbar {
|
||||
margin: 4px 0 0 4px;
|
||||
}
|
||||
.openerp .oe-sidebar-attachments-items {
|
||||
clear: both;
|
||||
padding-top: 5px !important;
|
||||
}
|
||||
.openerp .oe-sidebar-attachments-items li {
|
||||
position: relative;
|
||||
padding: 0 0 3px 10px !important;
|
||||
}
|
||||
.openerp .oe-sidebar-attachments-items li:hover {
|
||||
background: #ddd;
|
||||
}
|
||||
.openerp .oe-sidebar-attachments-link {
|
||||
display: block;
|
||||
margin-right: 15px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.openerp .oe-sidebar-attachment-delete {
|
||||
position: absolute;
|
||||
right: 2px;
|
||||
top: 1px;
|
||||
overflow: hidden;
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
padding: 1px;
|
||||
border-radius: 7px;
|
||||
-moz-border-radius: 7px;
|
||||
-webkit-border-radius: 7px;
|
||||
}
|
||||
.openerp .oe-sidebar-attachment-delete:hover {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.openerp .view-manager-main-sidebar h2 {
|
||||
margin:0;
|
||||
font-size: 1.15em;
|
||||
color: #8E8E8E;
|
||||
text-shadow: white 0 1px 0;
|
||||
padding-left: 10px;
|
||||
padding-right: 21px;
|
||||
height: 21px;
|
||||
|
||||
background: #ffffff; /* Old browsers */
|
||||
background: -moz-linear-gradient(top, #ffffff 0%, #ebe9e9 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#ebe9e9)); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(top, #ffffff 0%,#ebe9e9 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #ffffff 0%,#ebe9e9 100%); /* Opera11.10+ */
|
||||
background: -ms-linear-gradient(top, #ffffff 0%,#ebe9e9 100%); /* IE10+ */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFFFFF', endColorstr='#EBE9E9',GradientType=0 ); /* IE6-9 */
|
||||
background: linear-gradient(top, #ffffff 0%,#ebe9e9 100%); /* W3C */
|
||||
|
||||
border: 1px solid #D2CFCF;
|
||||
border-right-width: 0;
|
||||
border-left-width: 0;
|
||||
}
|
||||
.openerp .view-manager-main-sidebar h2 {
|
||||
border-top-width: 0;
|
||||
}
|
||||
|
||||
.openerp .view-manager-main-sidebar ul {
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.openerp .view-manager-main-sidebar li {
|
||||
display: block;
|
||||
padding: 3px 3px 3px 10px;
|
||||
}
|
||||
|
||||
.openerp .toggle-sidebar {
|
||||
cursor: pointer;
|
||||
border: 1px solid #D2CFCF;
|
||||
border-top-width: 0;
|
||||
display: block;
|
||||
background: url(/web/static/src/img/toggle-a-bg.png);
|
||||
width: 21px;
|
||||
height: 21px;
|
||||
z-index: 10;
|
||||
}
|
||||
.openerp .open-sidebar .toggle-sidebar {
|
||||
margin-left: 158px;
|
||||
background-position: 21px 0;
|
||||
position: absolute;
|
||||
}
|
||||
.openerp .closed-sidebar .toggle-sidebar {
|
||||
border-left: none;
|
||||
}
|
||||
.openerp li.oe_sidebar_print {
|
||||
padding-left: 20px;
|
||||
background: 1px 3px url(/web/static/src/img/icons/gtk-print.png) no-repeat;
|
||||
}
|
||||
|
||||
.openerp .oe_sidebar_print ul {
|
||||
padding-left:8px;
|
||||
}
|
||||
|
||||
.openerp.kitten-mode-activated .main_table {
|
||||
background: url(http://placekitten.com/g/1500/800) repeat;
|
||||
}
|
||||
.openerp.kitten-mode-activated.clark-gable .main_table {
|
||||
background: url(http://amigrave.com/ClarkGable.jpg);
|
||||
background-size: 100%;
|
||||
}
|
||||
|
||||
.openerp.kitten-mode-activated .header {
|
||||
background: url(http://placekitten.com/g/211/65) repeat;
|
||||
}
|
||||
|
||||
.openerp.kitten-mode-activated .menu {
|
||||
background: #828282;
|
||||
background: -moz-linear-gradient(top, #828282 0%, #4D4D4D 100%);
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#828282), color-stop(100%,#4D4D4D));
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#828282', endColorstr='#4D4D4D',GradientType=0 );
|
||||
}
|
||||
.openerp.kitten-mode-activated .menu a {
|
||||
background: none;
|
||||
}
|
||||
.openerp.kitten-mode-activated .menu span {
|
||||
background: none;
|
||||
}
|
||||
.openerp.kitten-mode-activated .sidebar-content li a,
|
||||
.openerp.kitten-mode-activated .oe-application .view-manager-main-content h2.oe_view_title,
|
||||
.openerp.kitten-mode-activated .oe-application .view-manager-main-content a.searchview_group_string,
|
||||
.openerp.kitten-mode-activated .oe-application .view-manager-main-content label {
|
||||
color: white;
|
||||
}
|
||||
.openerp.kitten-mode-activated .menu,
|
||||
.openerp.kitten-mode-activated .header_corner,
|
||||
.openerp.kitten-mode-activated .header_title,
|
||||
.openerp.kitten-mode-activated .oe-application,
|
||||
.openerp.kitten-mode-activated .oe_footer,
|
||||
.openerp.kitten-mode-activated .loading,
|
||||
.openerp.kitten-mode-activated .ui-dialog {
|
||||
opacity:0.8;
|
||||
filter:alpha(opacity=80);
|
||||
}
|
||||
.openerp.kitten-mode-activated .header .company_logo {
|
||||
background: url(http://placekitten.com/g/180/46);
|
||||
}
|
||||
.openerp.kitten-mode-activated .loading {
|
||||
background: #828282;
|
||||
border-color: #828282;
|
||||
}
|
||||
|
||||
.openerp .oe-m2o-drop-down-button {
|
||||
margin-left: -24px;
|
||||
}
|
||||
.openerp .oe-m2o-drop-down-button img {
|
||||
margin-bottom: -4px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.openerp .oe-m2o input {
|
||||
border-right: none;
|
||||
margin-right: 0px !important;
|
||||
padding-bottom: 2px !important;
|
||||
}
|
||||
.openerp .oe-m2o-disabled-cm {
|
||||
color: grey;
|
||||
}
|
||||
.openerp ul[role="listbox"] li a {
|
||||
font-size:80%;
|
||||
}
|
||||
.parent_top {
|
||||
vertical-align: text-top;
|
||||
}
|
||||
|
||||
.openerp .oe-dialog-warning p {
|
||||
padding-left: 1em;
|
||||
font-size: 1.2em;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.openerp .dhx_mini_calendar {
|
||||
-moz-box-shadow: none;
|
||||
-khtml-box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
.openerp .oe-treeview-table {
|
||||
width: 100%;
|
||||
background-color : #FFFFFF;
|
||||
border-spacing: 0;
|
||||
|
||||
}
|
||||
.openerp .oe-treeview-table tr:hover{
|
||||
color: blue;
|
||||
background-color : #D8D8D8;
|
||||
}
|
||||
.treeview-tr, .treeview-td {
|
||||
cursor: pointer;
|
||||
vertical-align: top;
|
||||
text-align: left;
|
||||
border-bottom: 1px solid #CFCCCC;
|
||||
}
|
||||
.openerp .oe-treeview-table .oe-number {
|
||||
text-align: right !important;
|
||||
}
|
||||
.treeview-tr span, .treeview-td span {
|
||||
font-size: 90%;
|
||||
font-weight: normal;
|
||||
white-space: nowrap;
|
||||
display: block;
|
||||
}
|
||||
.treeview-tr.oe-treeview-first {
|
||||
background: transparent url(/web/static/src/img/expand.gif) 0 50% no-repeat;
|
||||
}
|
||||
.oe-open .treeview-tr.oe-treeview-first {
|
||||
background-image: url(/web/static/src/img/collapse.gif);
|
||||
}
|
||||
.treeview-tr.oe-treeview-first span,
|
||||
.treeview-td.oe-treeview-first span {
|
||||
margin-left: 16px;
|
||||
}
|
||||
|
||||
.treeview-header {
|
||||
vertical-align: top;
|
||||
background-color : #D8D8D8;
|
||||
white-space: nowrap;
|
||||
text-align: left;
|
||||
padding: 4px 5px;
|
||||
}
|
||||
ul.oe-arrow-list {
|
||||
padding-left: 1.1em;
|
||||
margin: 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
ul.oe-arrow-list li {
|
||||
display: inline-block;
|
||||
margin-left: -1em;
|
||||
}
|
||||
ul.oe-arrow-list li span {
|
||||
vertical-align: top;
|
||||
display: inline-block;
|
||||
border: 1em solid #DEDEDE;
|
||||
line-height:0em;
|
||||
}
|
||||
ul.oe-arrow-list .oe-arrow-list-before {
|
||||
border-left-color: rgba(0,0,0,0);
|
||||
border-right-width:0;
|
||||
}
|
||||
ul.oe-arrow-list .oe-arrow-list-after {
|
||||
border-color: rgba(0,0,0,0);
|
||||
border-left-color: #DEDEDE;
|
||||
border-right-width:0;
|
||||
}
|
||||
ul.oe-arrow-list li.oe-arrow-list-selected span {
|
||||
border-color: #B5B9FF;
|
||||
}
|
||||
ul.oe-arrow-list li.oe-arrow-list-selected .oe-arrow-list-before {
|
||||
border-left-color: rgba(0,0,0,0);
|
||||
}
|
||||
ul.oe-arrow-list li.oe-arrow-list-selected .oe-arrow-list-after {
|
||||
border-color: rgba(0,0,0,0);
|
||||
border-left-color: #B5B9FF;
|
||||
}
|
||||
.openerp ul.oe-arrow-list li:first-child span:first-child{
|
||||
-webkit-border-top-left-radius: 3px;
|
||||
-moz-border-radius-topleft: 3px;
|
||||
border-top-left-radius: 3px;
|
||||
-webkit-border-bottom-left-radius: 3px;
|
||||
-moz-border-radius-bottomleft: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
}
|
||||
.openerp ul.oe-arrow-list li:last-child span:last-child{
|
||||
-webkit-border-top-right-radius: 3px;
|
||||
-moz-border-radius-topright: 3px;
|
||||
border-top-right-radius: 3px;
|
||||
-webkit-border-bottom-right-radius: 3px;
|
||||
-moz-border-radius-bottomright: 3px;
|
||||
border-bottom-right-radius: 3px;
|
||||
}
|
||||
.openerp .oe_view_editor {
|
||||
width:100%;
|
||||
border-collapse : collapse;
|
||||
margin-left: -12px;
|
||||
|
||||
width: 100%;
|
||||
background-color : white;
|
||||
border-spacing: 0;
|
||||
}
|
||||
.openerp .oe_view_editor td{
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
border: 1px solid #D8D8D8;
|
||||
|
||||
cursor: pointer;
|
||||
font-size: 90%;
|
||||
}
|
||||
.openerp .oe_view_editor_field td{
|
||||
border: 0px !important;
|
||||
}
|
||||
|
||||
.openerp .oe_view_editor tr:hover {
|
||||
background-color: #ecebf2;
|
||||
}
|
||||
|
||||
|
||||
/* Dialog traceback cases */
|
||||
.openerp .oe_error_detail{
|
||||
display: block;
|
||||
}
|
||||
.openerp .oe_error_send{
|
||||
display:block;
|
||||
}
|
||||
.openerp .oe_fielddiv{
|
||||
display:inline-block;
|
||||
width:100%;
|
||||
}
|
||||
.openerp .oe_fielddiv input[type=text],textarea{
|
||||
width:100%;
|
||||
}
|
||||
/* for Alignment center */
|
||||
.openerp .oe_centeralign{
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
.openerp .oe_applications_tiles {
|
||||
color: #4C4C4C;
|
||||
text-shadow: #EEE 0 1px 0;
|
||||
margin: 0 20px;
|
||||
}
|
||||
|
||||
.openerp select.oe_search-view-filters-management {
|
||||
font-style: oblique;
|
||||
color: #999999;
|
||||
}
|
||||
|
||||
.openerp .oe_search-view-filters-management option,
|
||||
.openerp .oe_search-view-filters-management optgroup {
|
||||
font-style: normal;
|
||||
color: black;
|
||||
}
|
||||
|
||||
|
||||
/* Internet Explorer Fix */
|
||||
a img {
|
||||
border: none;
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
.openerp .oe-export {
|
||||
.openerp .oe_export {
|
||||
width: 100%;
|
||||
}
|
||||
.openerp .oe_export_row tr{
|
||||
|
|
|
@ -12,22 +12,22 @@
|
|||
border-bottom: 1px solid #E3E3E3;
|
||||
}
|
||||
|
||||
.openerp .oe-import-no-result .oe-import-result {
|
||||
.openerp .oe_import_no_result .oe_import_result {
|
||||
display: none;
|
||||
}
|
||||
.openerp .oe-import fieldset {
|
||||
.openerp .oe_import fieldset {
|
||||
cursor: pointer;
|
||||
}
|
||||
.openerp .oe-import fieldset legend:before {
|
||||
.openerp .oe_import fieldset legend:before {
|
||||
content: '\25BC ';
|
||||
}
|
||||
.openerp .oe-import fieldset.oe-closed legend:before {
|
||||
.openerp .oe_import fieldset.oe_closed legend:before {
|
||||
content: '\25B6 ';
|
||||
}
|
||||
.openerp .oe-import fieldset.oe-closed table {
|
||||
.openerp .oe_import fieldset.oe_closed table {
|
||||
display: none;
|
||||
}
|
||||
.openerp .oe-import .separator.horizontal {
|
||||
.openerp .oe_import .separator.horizontal {
|
||||
font-weight: bold;
|
||||
border-bottom-width: 1px;
|
||||
margin: 6px 4px 6px 1px;
|
||||
|
|
|
@ -136,14 +136,18 @@ instance.web.Dialog = instance.web.Widget.extend({
|
|||
},
|
||||
on_close: function() {
|
||||
if (this.dialog_options.destroy_on_close) {
|
||||
this.$element.dialog('destroy');
|
||||
this.destroy();
|
||||
}
|
||||
},
|
||||
on_resized: function() {
|
||||
},
|
||||
destroy: function () {
|
||||
this.close();
|
||||
this.$element.dialog('destroy');
|
||||
_.each(this.getChildren(), function(el) {
|
||||
el.destroy();
|
||||
});
|
||||
if (! this.isDestroyed()) {
|
||||
this.$element.dialog('destroy');
|
||||
}
|
||||
this._super();
|
||||
}
|
||||
});
|
||||
|
@ -401,7 +405,14 @@ instance.web.DatabaseManager = instance.web.Widget.extend({
|
|||
success: function () {
|
||||
self.do_notify(_t("Backed"), _t("Database backed up successfully"));
|
||||
},
|
||||
error: instance.webclient.crashmanager.on_rpc_error,
|
||||
error: function(error){
|
||||
if(error){
|
||||
self.display_error({
|
||||
title: 'Backup Database',
|
||||
error: 'AccessDenied'
|
||||
});
|
||||
}
|
||||
},
|
||||
complete: function() {
|
||||
self.unblockUI();
|
||||
}
|
||||
|
@ -538,6 +549,7 @@ instance.web.Login = instance.web.Widget.extend({
|
|||
do_login: function (db, login, password) {
|
||||
var self = this;
|
||||
this.$element.removeClass('oe_login_invalid');
|
||||
self.$(".oe_login_pane").fadeOut("slow");
|
||||
return this.session.session_authenticate(db, login, password).pipe(function() {
|
||||
if (self.has_local_storage) {
|
||||
if(self.remember_credentials) {
|
||||
|
@ -552,9 +564,9 @@ instance.web.Login = instance.web.Widget.extend({
|
|||
localStorage.setItem('last_password_login_success', '');
|
||||
}
|
||||
}
|
||||
self.$(".oe_login_pane").fadeOut("slow");
|
||||
self.trigger("login");
|
||||
},function () {
|
||||
self.$(".oe_login_pane").fadeIn("fast");
|
||||
self.$element.addClass("oe_login_invalid");
|
||||
});
|
||||
}
|
||||
|
@ -571,6 +583,7 @@ instance.web.Menu = instance.web.Widget.extend({
|
|||
start: function() {
|
||||
this._super.apply(this, arguments);
|
||||
this.$secondary_menus = this.getParent().$element.find('.oe_secondary_menus_container');
|
||||
this.$secondary_menus.on('click', 'a[data-menu]', this.on_menu_click);
|
||||
return this.do_reload();
|
||||
},
|
||||
do_reload: function() {
|
||||
|
@ -583,7 +596,6 @@ instance.web.Menu = instance.web.Widget.extend({
|
|||
this.limit_entries();
|
||||
this.$secondary_menus.html(QWeb.render("Menu.secondary", { widget : this }));
|
||||
this.$element.on('click', 'a[data-menu]', this.on_menu_click);
|
||||
this.$secondary_menus.on('click', 'a[data-menu]', this.on_menu_click);
|
||||
// Hide second level submenus
|
||||
this.$secondary_menus.find('.oe_menu_toggler').siblings('.oe_secondary_submenu').hide();
|
||||
if (self.current_menu) {
|
||||
|
@ -665,32 +677,37 @@ instance.web.Menu = instance.web.Widget.extend({
|
|||
* Process a click on a menu item
|
||||
*
|
||||
* @param {Number} id the menu_id
|
||||
* @param {Boolean} [needaction=false] whether the triggered action should execute in a `needs action` context
|
||||
*/
|
||||
menu_click: function(id) {
|
||||
if (id) {
|
||||
// find back the menuitem in dom to get the action
|
||||
var $item = this.$element.find('a[data-menu=' + id + ']');
|
||||
if (!$item.length) {
|
||||
$item = this.$secondary_menus.find('a[data-menu=' + id + ']');
|
||||
}
|
||||
var action_id = $item.data('action-id');
|
||||
// If first level menu doesnt have action trigger first leaf
|
||||
if (!action_id) {
|
||||
if(this.$element.has($item).length) {
|
||||
$sub_menu = this.$secondary_menus.find('.oe_secondary_menu[data-menu-parent=' + id + ']');
|
||||
$items = $sub_menu.find('a[data-action-id]').filter('[data-action-id!=""]');
|
||||
if($items.length) {
|
||||
action_id = $items.data('action-id');
|
||||
id = $items.data('menu');
|
||||
}
|
||||
menu_click: function(id, needaction) {
|
||||
if (!id) { return; }
|
||||
|
||||
// find back the menuitem in dom to get the action
|
||||
var $item = this.$element.find('a[data-menu=' + id + ']');
|
||||
if (!$item.length) {
|
||||
$item = this.$secondary_menus.find('a[data-menu=' + id + ']');
|
||||
}
|
||||
var action_id = $item.data('action-id');
|
||||
// If first level menu doesnt have action trigger first leaf
|
||||
if (!action_id) {
|
||||
if(this.$element.has($item).length) {
|
||||
var $sub_menu = this.$secondary_menus.find('.oe_secondary_menu[data-menu-parent=' + id + ']');
|
||||
var $items = $sub_menu.find('a[data-action-id]').filter('[data-action-id!=""]');
|
||||
if($items.length) {
|
||||
action_id = $items.data('action-id');
|
||||
id = $items.data('menu');
|
||||
}
|
||||
}
|
||||
this.open_menu(id);
|
||||
this.current_menu = id;
|
||||
this.session.active_id = id;
|
||||
if (action_id) {
|
||||
this.trigger('menu_click', action_id, id, $item);
|
||||
}
|
||||
}
|
||||
this.open_menu(id);
|
||||
this.current_menu = id;
|
||||
this.session.active_id = id;
|
||||
if (action_id) {
|
||||
this.trigger('menu_click', {
|
||||
action_id: action_id,
|
||||
needaction: needaction,
|
||||
id: id
|
||||
}, $item);
|
||||
}
|
||||
},
|
||||
/**
|
||||
|
@ -700,7 +717,8 @@ instance.web.Menu = instance.web.Widget.extend({
|
|||
*/
|
||||
on_menu_click: function(ev) {
|
||||
ev.preventDefault();
|
||||
this.menu_click($(ev.currentTarget).data('menu'));
|
||||
var needaction = $(ev.target).is('div.oe_menu_counter');
|
||||
this.menu_click($(ev.currentTarget).data('menu'), needaction);
|
||||
},
|
||||
});
|
||||
|
||||
|
@ -841,14 +859,26 @@ instance.web.WebClient = instance.web.Widget.extend({
|
|||
this.querystring = '?' + jQuery.param.querystring();
|
||||
this._current_state = null;
|
||||
},
|
||||
_get_version_label: function() {
|
||||
if (this.session.openerp_entreprise) {
|
||||
return 'OpenERP';
|
||||
} else {
|
||||
return _t("OpenERP - Unsupported/Community Version");
|
||||
}
|
||||
},
|
||||
set_title: function(title) {
|
||||
title = _.str.clean(title);
|
||||
var sep = _.isEmpty(title) ? '' : ' - ';
|
||||
document.title = title + sep + 'OpenERP';
|
||||
},
|
||||
start: function() {
|
||||
var self = this;
|
||||
this.$element.addClass("openerp openerp-web-client-container");
|
||||
this.$element.addClass("openerp openerp_webclient_container");
|
||||
if (jQuery.param !== undefined && jQuery.deparam(jQuery.param.querystring()).kitten !== undefined) {
|
||||
$("body").addClass("kitten-mode-activated");
|
||||
self.$element.delegate('img.oe-record-edit-link-img', 'hover', function(e) {
|
||||
self.$element.toggleClass('clark-gable');
|
||||
});
|
||||
if ($.blockUI) {
|
||||
$.blockUI.defaults.message = '<img src="http://www.amigrave.com/kitten.gif">';
|
||||
}
|
||||
}
|
||||
this.session.session_bind().then(function() {
|
||||
self.destroy_content();
|
||||
|
@ -863,6 +893,7 @@ instance.web.WebClient = instance.web.Widget.extend({
|
|||
$(this).attr('data-tipsy', 'true').tipsy().trigger('mouseenter');
|
||||
});
|
||||
this.$element.on('click', '.oe_dropdown_toggle', function(ev) {
|
||||
ev.preventDefault();
|
||||
var $menu = $(this).find('.oe_dropdown_menu');
|
||||
var state = $menu.is('.oe_opened');
|
||||
setTimeout(function() {
|
||||
|
@ -922,11 +953,11 @@ instance.web.WebClient = instance.web.Widget.extend({
|
|||
self.user_menu.on_action.add(this.proxy('on_menu_action'));
|
||||
self.user_menu.do_update();
|
||||
self.bind_hashchange();
|
||||
var version_label = _t("OpenERP - Unsupported/Community Version");
|
||||
if (!self.session.openerp_entreprise) {
|
||||
var version_label = self._get_version_label();
|
||||
self.$element.find('.oe_footer_powered').append(_.str.sprintf('<span> - <a href="http://www.openerp.com/support-or-publisher-warranty-contract" target="_blank">%s</a></span>', version_label));
|
||||
document.title = version_label;
|
||||
}
|
||||
self.set_title();
|
||||
},
|
||||
destroy_content: function() {
|
||||
_.each(_.clone(this.getChildren()), function(el) {
|
||||
|
@ -992,12 +1023,21 @@ instance.web.WebClient = instance.web.Widget.extend({
|
|||
this._current_state = state;
|
||||
},
|
||||
do_push_state: function(state) {
|
||||
this.set_title(state.title);
|
||||
var url = '#' + $.param(state);
|
||||
this._current_state = _.clone(state);
|
||||
$.bbq.pushState(url);
|
||||
},
|
||||
on_menu_action: function(action) {
|
||||
this.action_manager.do_action(action);
|
||||
on_menu_action: function(options) {
|
||||
var self = this;
|
||||
this.rpc("/web/action/load", { action_id: options.action_id })
|
||||
.then(function (result) {
|
||||
var action = result.result;
|
||||
if (options.needaction) {
|
||||
action.context.search_default_needaction_pending = true;
|
||||
}
|
||||
self.action_manager.do_action(action);
|
||||
});
|
||||
},
|
||||
do_action: function(action) {
|
||||
var self = this;
|
||||
|
|
|
@ -99,7 +99,6 @@ openerp.web.corelib = function(instance) {
|
|||
for (var name in prop) {
|
||||
// Check if we're overwriting an existing function
|
||||
prototype[name] = typeof prop[name] == "function" &&
|
||||
typeof _super[name] == "function" &&
|
||||
fnTest.test(prop[name]) ?
|
||||
(function(name, fn) {
|
||||
return function() {
|
||||
|
@ -1308,19 +1307,19 @@ instance.web.JsonRPC = instance.web.CallbackEnabled.extend({
|
|||
} else {
|
||||
// Indirect jsonp request
|
||||
var ifid = _.uniqueId('oe_rpc_iframe');
|
||||
var display = options.openerp.debug ? 'block' : 'none';
|
||||
var display = self.debug ? 'block' : 'none';
|
||||
var $iframe = $(_.str.sprintf("<iframe src='javascript:false;' name='%s' id='%s' style='display:%s'></iframe>", ifid, ifid, display));
|
||||
var $form = $('<form>')
|
||||
.attr('method', 'POST')
|
||||
.attr('target', ifid)
|
||||
.attr('enctype', "multipart/form-data")
|
||||
.attr('action', ajax.url + '?' + $.param(data))
|
||||
.attr('action', ajax.url + '?jsonp=1&' + $.param(data))
|
||||
.append($('<input type="hidden" name="r" />').attr('value', payload_str))
|
||||
.hide()
|
||||
.appendTo($('body'));
|
||||
var cleanUp = function() {
|
||||
if ($iframe) {
|
||||
$iframe.unbind("load").attr("src", "javascript:false;").remove();
|
||||
$iframe.unbind("load").remove();
|
||||
}
|
||||
$form.remove();
|
||||
};
|
||||
|
|
|
@ -334,11 +334,14 @@ instance.web.Session = instance.web.JsonRPC.extend( /** @lends instance.web.Sess
|
|||
.appendTo(document.body)
|
||||
.load(function () {
|
||||
try {
|
||||
if (options.error) {
|
||||
options.error(JSON.parse(
|
||||
this.contentDocument.body.childNodes[1].textContent
|
||||
));
|
||||
}
|
||||
if (options.error) {
|
||||
if (!this.contentDocument.body.childNodes[1]) {
|
||||
options.error(this.contentDocument.body.childNodes);
|
||||
}
|
||||
else {
|
||||
options.error(JSON.parse(this.contentDocument.body.childNodes[1].textContent));
|
||||
}
|
||||
}
|
||||
} finally {
|
||||
complete();
|
||||
}
|
||||
|
@ -595,7 +598,7 @@ instance.web.qweb.preprocess_node = function() {
|
|||
break;
|
||||
case 1:
|
||||
// Element
|
||||
var attr, attrs = ['label', 'title', 'alt'];
|
||||
var attr, attrs = ['label', 'title', 'alt', 'placeholder'];
|
||||
while (attr = attrs.pop()) {
|
||||
if (this.attributes[attr]) {
|
||||
this.attributes[attr] = instance.web._t(this.attributes[attr]);
|
||||
|
@ -605,15 +608,31 @@ instance.web.qweb.preprocess_node = function() {
|
|||
};
|
||||
|
||||
/** Setup jQuery timeago */
|
||||
var timeago_setup = function () {
|
||||
var s = $.timeago.settings.strings;
|
||||
_.each(s, function(v,k) {
|
||||
if(_.isString(v)) {
|
||||
s[k] = instance.web._t(v);
|
||||
}
|
||||
});
|
||||
var _t = instance.web._t;
|
||||
/*
|
||||
* Strings in timeago are "composed" with prefixes, words and suffixes. This
|
||||
* makes their detection by our translating system impossible. Use all literal
|
||||
* strings we're using with a translation mark here so the extractor can do its
|
||||
* job.
|
||||
*/
|
||||
{
|
||||
_t('less than a minute ago');
|
||||
_t('about a minute ago');
|
||||
_t('%d minutes ago');
|
||||
_t('about an hour ago');
|
||||
_t('%d hours ago');
|
||||
_t('a day ago');
|
||||
_t('%d days ago');
|
||||
_t('about a month ago');
|
||||
_t('%d months ago');
|
||||
_t('about a year ago');
|
||||
_t('%d years ago');
|
||||
}
|
||||
instance.connection.on('module_loaded', this, timeago_setup);
|
||||
|
||||
instance.connection.on('module_loaded', this, function () {
|
||||
// provide timeago.js with our own translator method
|
||||
$.timeago.settings.translator = instance.web._t;
|
||||
});
|
||||
|
||||
/**
|
||||
* Registry for all the client actions key: tag value: widget
|
||||
|
|
|
@ -55,7 +55,8 @@ instance.web.DataImport = instance.web.Dialog.extend({
|
|||
.filter(function (field) {
|
||||
return field.required &&
|
||||
!_.include(self.fields_with_defaults, field.id); })
|
||||
.pluck('name')
|
||||
.pluck('id')
|
||||
.uniq()
|
||||
.value();
|
||||
convert_fields(self);
|
||||
self.all_fields.sort();
|
||||
|
@ -67,7 +68,7 @@ instance.web.DataImport = instance.web.Dialog.extend({
|
|||
this.open({
|
||||
buttons: [
|
||||
{text: _t("Close"), click: function() { self.destroy(); }},
|
||||
{text: _t("Import File"), click: function() { self.do_import(); }, 'class': 'oe-dialog-import-button'}
|
||||
{text: _t("Import File"), click: function() { self.do_import(); }, 'class': 'oe_import_dialog_button'}
|
||||
],
|
||||
close: function(event, ui) {
|
||||
self.destroy();
|
||||
|
@ -77,7 +78,7 @@ instance.web.DataImport = instance.web.Dialog.extend({
|
|||
this.$element.find('#csvfile').change(this.on_autodetect_data);
|
||||
this.$element.find('fieldset').change(this.on_autodetect_data);
|
||||
this.$element.delegate('fieldset legend', 'click', function() {
|
||||
$(this).parent().toggleClass('oe-closed');
|
||||
$(this).parent().toggleClass('oe_closed');
|
||||
});
|
||||
this.ready.push(new instance.web.DataSet(this, this.model).call(
|
||||
'fields_get', [], function (fields) {
|
||||
|
@ -133,6 +134,10 @@ instance.web.DataImport = instance.web.Dialog.extend({
|
|||
switch (field.type) {
|
||||
case 'many2many':
|
||||
case 'many2one':
|
||||
// push a copy for the bare many2one field, to allow importing
|
||||
// using name_search too - even if we default to exporting the XML ID
|
||||
var many2one_field = _.extend({}, f)
|
||||
parent.fields.push(many2one_field);
|
||||
f.name += '/id';
|
||||
break;
|
||||
case 'one2many':
|
||||
|
@ -152,7 +157,7 @@ instance.web.DataImport = instance.web.Dialog.extend({
|
|||
},
|
||||
toggle_import_button: function (newstate) {
|
||||
instance.web.dialog(this.$element, 'widget')
|
||||
.find('.oe-dialog-import-button')
|
||||
.find('.oe_import_dialog_button')
|
||||
.button('option', 'disabled', !newstate);
|
||||
},
|
||||
do_import: function() {
|
||||
|
@ -197,7 +202,7 @@ instance.web.DataImport = instance.web.Dialog.extend({
|
|||
if (results['error']) {
|
||||
result_node.append(QWeb.render('ImportView.error', {
|
||||
'error': results['error']}));
|
||||
this.$element.find('fieldset').removeClass('oe-closed');
|
||||
this.$element.find('fieldset').removeClass('oe_closed');
|
||||
return;
|
||||
}
|
||||
if (results['success']) {
|
||||
|
@ -219,11 +224,11 @@ instance.web.DataImport = instance.web.Dialog.extend({
|
|||
: with_headers ? results.records.slice(1)
|
||||
: results.records
|
||||
}));
|
||||
this.$element.find('fieldset').addClass('oe-closed');
|
||||
this.$element.find('fieldset').addClass('oe_closed');
|
||||
}
|
||||
this.$element.find('form').removeClass('oe-import-no-result');
|
||||
this.$element.find('form').removeClass('oe_import_no_result');
|
||||
|
||||
this.$element.delegate('.oe-m2o-drop-down-button', 'click', function () {
|
||||
this.$element.delegate('.oe_m2o_drop_down_button', 'click', function () {
|
||||
$(this).prev('input').focus();
|
||||
});
|
||||
|
||||
|
@ -261,10 +266,14 @@ instance.web.DataImport = instance.web.Dialog.extend({
|
|||
fields = fields || this.fields;
|
||||
var f;
|
||||
f = _(fields).detect(function (field) {
|
||||
// TODO: levenshtein between header and field.string
|
||||
return field.name === name
|
||||
|| field.string.toLowerCase() === name.toLowerCase();
|
||||
});
|
||||
if (!f) {
|
||||
f = _(fields).detect(function (field) {
|
||||
// TODO: levenshtein between header and field.string
|
||||
return field.string.toLowerCase() === name.toLowerCase();
|
||||
});
|
||||
}
|
||||
if (f) { return f.name; }
|
||||
|
||||
// if ``name`` is a path (o2m), we need to recurse through its .fields
|
||||
|
@ -274,9 +283,13 @@ instance.web.DataImport = instance.web.Dialog.extend({
|
|||
var column_name = name.substring(0, index);
|
||||
f = _(fields).detect(function (field) {
|
||||
// field.name for o2m is $foo/id, so we want to match on id
|
||||
return field.id === column_name
|
||||
|| field.string.toLowerCase() === column_name.toLowerCase()
|
||||
return field.id === column_name;
|
||||
});
|
||||
if (!f) {
|
||||
f = _(fields).detect(function (field) {
|
||||
return field.string.toLowerCase() === column_name.toLowerCase();
|
||||
});
|
||||
}
|
||||
if (!f) { return undefined; }
|
||||
|
||||
// if we found a matching field for the first path section, recurse in
|
||||
|
@ -330,7 +343,7 @@ instance.web.DataImport = instance.web.Dialog.extend({
|
|||
if (_.isEmpty(duplicates)) {
|
||||
this.toggle_import_button(required_valid);
|
||||
} else {
|
||||
var $err = $('<div id="msg" style="color: red;">Destination fields should only be selected once, some fields are selected more than once:</div>').insertBefore(this.$element.find('#result'));
|
||||
var $err = $('<div id="msg" style="color: red;">'+_t("Destination fields should only be selected once, some fields are selected more than once:")+'</div>').insertBefore(this.$element.find('#result'));
|
||||
var $dupes = $('<dl>').appendTo($err);
|
||||
_(duplicates).each(function(elements, value) {
|
||||
$('<dt>').text(value).appendTo($dupes);
|
||||
|
@ -344,16 +357,30 @@ instance.web.DataImport = instance.web.Dialog.extend({
|
|||
|
||||
},
|
||||
check_required: function() {
|
||||
if (!this.required_fields.length) { return true; }
|
||||
var self = this;
|
||||
if (!self.required_fields.length) { return true; }
|
||||
|
||||
// Resolve field id based on column name, as there may be
|
||||
// several ways to provide the value for a given field and
|
||||
// thus satisfy the requirement.
|
||||
// (e.g. m2o_id or m2o_id/id columns may be provided)
|
||||
var resolve_field_id = function(column_name) {
|
||||
var f = _.detect(self.fields, function(field) {
|
||||
return field.name === column_name;
|
||||
});
|
||||
if (!f) { return column_name; };
|
||||
return f.id;
|
||||
};
|
||||
|
||||
var selected_fields = _(this.$element.find('.sel_fields').get()).chain()
|
||||
.pluck('value')
|
||||
.compact()
|
||||
.map(resolve_field_id)
|
||||
.value();
|
||||
|
||||
var missing_fields = _.difference(this.required_fields, selected_fields);
|
||||
if (missing_fields.length) {
|
||||
this.$element.find("#result").before('<div id="message" style="color:red">*Required Fields are not selected : ' + missing_fields + '.</div>');
|
||||
this.$element.find("#result").before('<div id="message" style="color:red">' + _t("*Required Fields are not selected :") + missing_fields + '.</div>');
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
|
|
@ -309,7 +309,7 @@ instance.web.format_cell = function (row_data, column, options) {
|
|||
'</button>', {
|
||||
title: column.string || '',
|
||||
additional_attributes: isNaN(row_data["id"].value) && instance.web.BufferedDataSet.virtual_id_regex.test(row_data["id"].value) ?
|
||||
'disabled="disabled" class="oe-listview-button-disabled"' : '',
|
||||
'disabled="disabled" class="oe_list_button_disabled"' : '',
|
||||
prefix: instance.connection.prefix,
|
||||
icon: column.icon,
|
||||
alt: column.string || ''
|
||||
|
|
|
@ -352,6 +352,11 @@ instance.web.SearchView = instance.web.Widget.extend(/** @lends instance.web.Sea
|
|||
e.stopImmediatePropagation();
|
||||
self.$element.toggleClass('oe_searchview_open_drawer');
|
||||
});
|
||||
instance.web.bus.on('click', this, function(ev) {
|
||||
if ($(ev.target).parents('.oe_searchview').length === 0) {
|
||||
self.$element.removeClass('oe_searchview_open_drawer');
|
||||
}
|
||||
});
|
||||
// Focus last input if the view itself is clicked (empty section of
|
||||
// facets element)
|
||||
this.$element.on('click', function (e) {
|
||||
|
@ -640,6 +645,8 @@ instance.web.SearchView = instance.web.Widget.extend(/** @lends instance.web.Sea
|
|||
var drawer_started = $.when.apply(
|
||||
null, _(this.select_for_drawer()).invoke(
|
||||
'appendTo', this.$element.find('.oe_searchview_drawer')));
|
||||
|
||||
new instance.web.search.AddToDashboard(this).appendTo($('.oe_searchview_drawer', this.$element));
|
||||
|
||||
// load defaults
|
||||
var defaults_fetched = $.when.apply(null, _(this.inputs).invoke(
|
||||
|
@ -692,53 +699,6 @@ instance.web.SearchView = instance.web.Widget.extend(/** @lends instance.web.Sea
|
|||
select.val('');
|
||||
}
|
||||
},
|
||||
on_add_to_dashboard: function() {
|
||||
this.$element.find(".oe_search-view-filters-management")[0].selectedIndex = 0;
|
||||
var self = this,
|
||||
menu = instance.webclient.menu,
|
||||
$dialog = $(QWeb.render("SearchView.add_to_dashboard", {
|
||||
dashboards : menu.data.data.children,
|
||||
selected_menu_id : menu.$element.find('a.active').data('menu')
|
||||
}));
|
||||
$dialog.find('input').val(this.fields_view.name);
|
||||
instance.web.dialog($dialog, {
|
||||
modal: true,
|
||||
title: _t("Add to Dashboard"),
|
||||
buttons: [
|
||||
{text: _t("Cancel"), click: function() {
|
||||
$(this).dialog("close");
|
||||
}},
|
||||
{text: _t("OK"), click: function() {
|
||||
$(this).dialog("close");
|
||||
var menu_id = $(this).find("select").val(),
|
||||
title = $(this).find("input").val(),
|
||||
data = self.build_search_data(),
|
||||
context = new instance.web.CompoundContext(),
|
||||
domain = new instance.web.CompoundDomain();
|
||||
_.each(data.contexts, function(x) {
|
||||
context.add(x);
|
||||
});
|
||||
_.each(data.domains, function(x) {
|
||||
domain.add(x);
|
||||
});
|
||||
self.rpc('/web/searchview/add_to_dashboard', {
|
||||
menu_id: menu_id,
|
||||
action_id: self.getParent().action.id,
|
||||
context_to_save: context,
|
||||
domain: domain,
|
||||
view_mode: self.getParent().active_view,
|
||||
name: title
|
||||
}, function(r) {
|
||||
if (r === false) {
|
||||
self.do_warn("Could not add filter to dashboard");
|
||||
} else {
|
||||
self.do_notify("Filter added to dashboard", '');
|
||||
}
|
||||
});
|
||||
}}
|
||||
]
|
||||
});
|
||||
},
|
||||
/**
|
||||
* Extract search data from the view's facets.
|
||||
*
|
||||
|
@ -1234,7 +1194,7 @@ instance.web.search.Field = instance.web.search.Input.extend( /** @lends instanc
|
|||
var self = this;
|
||||
// A field needs a context to send when active
|
||||
var context = this.attrs.context;
|
||||
if (!context || !facet.values.length) {
|
||||
if (_.isEmpty(context) || !facet.values.length) {
|
||||
return;
|
||||
}
|
||||
var contexts = facet.values.map(function (facetValue) {
|
||||
|
@ -1530,6 +1490,15 @@ instance.web.search.ManyToOneField = instance.web.search.CharField.extend({
|
|||
return [[name, '=', facetValue.get('value')]];
|
||||
}
|
||||
return this._super(name, operator, facetValue);
|
||||
},
|
||||
get_context: function (facet) {
|
||||
var values = facet.values;
|
||||
if (_.isEmpty(this.attrs.context) && values.length === 1) {
|
||||
var c = {};
|
||||
c['default_' + this.attrs.name] = values.at(0).get('value');
|
||||
return c;
|
||||
}
|
||||
return this._super(facet);
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -1540,6 +1509,14 @@ instance.web.search.CustomFilters = instance.web.search.Input.extend({
|
|||
var self = this;
|
||||
this.model = new instance.web.Model('ir.filters');
|
||||
this.filters = {};
|
||||
this.view.query
|
||||
.on('remove', function (facet) {
|
||||
if (!facet.get('is_custom_filter')) {
|
||||
return;
|
||||
}
|
||||
self.clear_selection();
|
||||
})
|
||||
.on('reset', this.proxy('clear_selection'));
|
||||
this.$element.on('submit', 'form', this.proxy('save_current'));
|
||||
this.$element.on('click', 'h4', function () {
|
||||
self.$element.toggleClass('oe_opened');
|
||||
|
@ -1549,6 +1526,9 @@ instance.web.search.CustomFilters = instance.web.search.Input.extend({
|
|||
model: this.view.model
|
||||
}).pipe(this.proxy('set_filters'));
|
||||
},
|
||||
clear_selection: function () {
|
||||
this.$element.find('li.oe_selected').removeClass('oe_selected');
|
||||
},
|
||||
append_filter: function (filter) {
|
||||
var self = this;
|
||||
var key = _.str.sprintf('(%s)%s', filter.user_id, filter.name);
|
||||
|
@ -1583,8 +1563,10 @@ instance.web.search.CustomFilters = instance.web.search.Input.extend({
|
|||
get_groupby: function () { return [filter.context]; },
|
||||
get_domain: function () { return filter.domain; }
|
||||
},
|
||||
is_custom_filter: true,
|
||||
values: [{label: filter.name, value: null}]
|
||||
}]);
|
||||
$filter.addClass('oe_selected');
|
||||
});
|
||||
},
|
||||
set_filters: function (filters) {
|
||||
|
@ -1671,6 +1653,77 @@ instance.web.search.Filters = instance.web.search.Input.extend({
|
|||
}));
|
||||
}
|
||||
});
|
||||
instance.web.search.AddToDashboard = instance.web.Widget.extend({
|
||||
template: 'SearchView.addtodashboard',
|
||||
_in_drawer: true,
|
||||
start: function () {
|
||||
var self = this;
|
||||
this.data_loaded = $.Deferred();
|
||||
this.dashboard_data =[];
|
||||
this.$element
|
||||
.on('click', 'h4', this.proxy('show_option'))
|
||||
.on('submit', 'form', function (e) {
|
||||
e.preventDefault();
|
||||
self.add_dashboard();
|
||||
});
|
||||
return $.when(this.load_data(),this.data_loaded).pipe(this.proxy("render_data"));
|
||||
},
|
||||
load_data:function(){
|
||||
var self = this,dashboard_menu = instance.webclient.menu.data.data.children;
|
||||
var ir_model_data = new instance.web.Model('ir.model.data',{},[['name','=','menu_reporting_dashboard']]).query(['res_id']);
|
||||
var map_data = function(result){
|
||||
_.detect(dashboard_menu, function(dash){
|
||||
var id = _.pluck(dash.children, "id"),indexof = _.indexOf(id, result.res_id);
|
||||
if(indexof !== -1){
|
||||
self.dashboard_data = dash.children[indexof].children
|
||||
self.data_loaded.resolve();
|
||||
return;
|
||||
}
|
||||
});
|
||||
};
|
||||
return ir_model_data._execute().done(function(result){map_data(result[0])});
|
||||
},
|
||||
|
||||
render_data: function(){
|
||||
var self = this;
|
||||
var selection = instance.web.qweb.render("SearchView.addtodashboard.selection",{selections:this.dashboard_data});
|
||||
this.$element.find("input").before(selection)
|
||||
},
|
||||
add_dashboard:function(){
|
||||
var self = this;
|
||||
var getParent = this.getParent();
|
||||
var view_parent = this.getParent().getParent();
|
||||
if (! view_parent.action || ! this.$element.find("select").val())
|
||||
return this.do_warn("Can't find dashboard action");
|
||||
data = getParent.build_search_data(),
|
||||
context = new instance.web.CompoundContext(getParent.dataset.get_context() || []),
|
||||
domain = new instance.web.CompoundDomain(getParent.dataset.get_domain() || []);
|
||||
_.each(data.contexts, function(x) {context.add(x);});
|
||||
_.each(data.domains, function(x) {domain.add(x);});
|
||||
this.rpc('/web/searchview/add_to_dashboard', {
|
||||
menu_id: this.$element.find("select").val(),
|
||||
action_id: view_parent.action.id,
|
||||
context_to_save: context,
|
||||
domain: domain,
|
||||
view_mode: view_parent.active_view,
|
||||
name: this.$element.find("input").val()
|
||||
}, function(r) {
|
||||
if (r === false) {
|
||||
self.do_warn("Could not add filter to dashboard");
|
||||
} else {
|
||||
self.$element.toggleClass('oe_opened');
|
||||
self.do_notify("Filter added to dashboard", '');
|
||||
}
|
||||
});
|
||||
},
|
||||
show_option:function(){
|
||||
this.$element.toggleClass('oe_opened');
|
||||
if (! this.$element.hasClass('oe_opened'))
|
||||
return;
|
||||
this.$element.find("input").val(this.getParent().fields_view.name || "" );
|
||||
}
|
||||
});
|
||||
|
||||
instance.web.search.Advanced = instance.web.search.Input.extend({
|
||||
template: 'SearchView.advanced',
|
||||
_in_drawer: true,
|
||||
|
|
|
@ -515,21 +515,18 @@ instance.web.ViewEditor = instance.web.OldWidget.extend({
|
|||
}
|
||||
},
|
||||
do_node_add: function(side){
|
||||
var self = this;
|
||||
var self = this,property_to_check = [];
|
||||
var tr = self.get_object_by_id(this.one_object.clicked_tr_id, this.one_object['main_object'], [])[0].att_list[0];
|
||||
var parent_tr = ($(side).prevAll("tr[level=" + String(this.one_object.clicked_tr_level - 1) + "]"))[0];
|
||||
var field_dataset = new instance.web.DataSetSearch(this, this.model, null, null);
|
||||
parent_tr = $(parent_tr).find('a').text();
|
||||
parent_tr = self.get_object_by_id(parseInt($(parent_tr).attr('id').replace(/[^0-9]+/g, '')), this.one_object['main_object'], [])[0].att_list[0];
|
||||
_.each([tr, parent_tr],function(element) {
|
||||
var value = _.has(_CHILDREN, element) ? element : _.str.include(html_tag, element)?"html_tag":false;
|
||||
property_to_check.push(value);
|
||||
});
|
||||
field_dataset.call( 'fields_get', [], function(result) {
|
||||
var fields = _.keys(result);
|
||||
fields.push(" "),fields.sort();
|
||||
var property_to_check = [];
|
||||
_.each([tr, parent_tr],function(element) {
|
||||
property_to_check.push(
|
||||
_.detect(_.keys(_CHILDREN),function(res){
|
||||
return _.str.include(element, res);
|
||||
}));
|
||||
});
|
||||
self.on_add_node(property_to_check, fields);
|
||||
});
|
||||
},
|
||||
|
@ -990,7 +987,7 @@ instance.web.ViewEditor = instance.web.OldWidget.extend({
|
|||
render_new_field :function( result ) {
|
||||
var self = this;
|
||||
var action = {
|
||||
context: {'default_model_id': result.id, 'manual': true, 'module' : result.modules},
|
||||
context: {'default_model_id': result.id, 'manual': true, 'module' : result.model},
|
||||
res_model: "ir.model.fields",
|
||||
views: [[false, 'form']],
|
||||
type: 'ir.actions.act_window',
|
||||
|
@ -1168,8 +1165,16 @@ var _CHILDREN = {
|
|||
'label': [],
|
||||
'button' : [],
|
||||
'newline': [],
|
||||
'separator': []
|
||||
'separator': [],
|
||||
'sheet' :['group','field','notebook','label','separator','div','page'],
|
||||
'kanban' : ['field'],
|
||||
'html_tag':['notebook', 'group', 'field', 'label', 'button','board', 'newline', 'separator']
|
||||
//e.g.:xyz 'td' : ['field']
|
||||
};
|
||||
// Generic html_tag list and can be added html tag in future. It's support above _CHILDREN dict's *html_tag* by default.
|
||||
// For specific child node one has to define tag above and specify children tag in list. Like above xyz example.
|
||||
var html_tag = ['div','h1','h2','h3','h4','h5','h6','td','tr'];
|
||||
|
||||
var _ICONS = ['','STOCK_ABOUT', 'STOCK_ADD', 'STOCK_APPLY', 'STOCK_BOLD',
|
||||
'STOCK_CANCEL', 'STOCK_CDROM', 'STOCK_CLEAR', 'STOCK_CLOSE', 'STOCK_COLOR_PICKER',
|
||||
'STOCK_CONNECT', 'STOCK_CONVERT', 'STOCK_COPY', 'STOCK_CUT', 'STOCK_DELETE',
|
||||
|
|
|
@ -78,13 +78,17 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM
|
|||
this.mutating_mutex = new $.Mutex();
|
||||
this.on_change_mutex = new $.Mutex();
|
||||
this.reload_mutex = new $.Mutex();
|
||||
this.__clicked_inside = false;
|
||||
this.__blur_timeout = null;
|
||||
this.rendering_engine = new instance.web.form.FormRenderingEngineReadonly(this);
|
||||
this.qweb = null; // A QWeb instance will be created if the view is a QWeb template
|
||||
},
|
||||
destroy: function() {
|
||||
_.each(this.get_widgets(), function(w) {
|
||||
w.off('focused blurred');
|
||||
w.destroy();
|
||||
});
|
||||
this.$element.off('.formBlur');
|
||||
this._super();
|
||||
},
|
||||
on_loaded: function(data) {
|
||||
|
@ -106,6 +110,9 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM
|
|||
this.rendering_engine.render_to($dest);
|
||||
}
|
||||
|
||||
this.$element.on('mousedown.formBlur', function () {
|
||||
self.__clicked_inside = true;
|
||||
});
|
||||
|
||||
this.$buttons = $(QWeb.render("FormView.buttons", {'widget':self}));
|
||||
if (this.options.$buttons) {
|
||||
|
@ -197,6 +204,30 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM
|
|||
this.translatable_fields = [];
|
||||
this.$element.find('.oe_form_container').empty();
|
||||
},
|
||||
|
||||
widgetFocused: function() {
|
||||
// Clear click flag if used to focus a widget
|
||||
this.__clicked_inside = false;
|
||||
if (this.__blur_timeout) {
|
||||
clearTimeout(this.__blur_timeout);
|
||||
this.__blur_timeout = null;
|
||||
}
|
||||
},
|
||||
widgetBlurred: function() {
|
||||
if (this.__clicked_inside) {
|
||||
// clicked in an other section of the form (than the currently
|
||||
// focused widget) => just ignore the blurring entirely?
|
||||
this.__clicked_inside = false;
|
||||
return;
|
||||
}
|
||||
var self = this;
|
||||
// clear timeout, if any
|
||||
this.widgetFocused();
|
||||
this.__blur_timeout = setTimeout(function () {
|
||||
self.trigger('blurred');
|
||||
}, 0);
|
||||
},
|
||||
|
||||
do_load_state: function(state, warm) {
|
||||
if (state.id && this.datarecord.id != state.id) {
|
||||
if (!this.dataset.get_id_index(state.id)) {
|
||||
|
@ -216,13 +247,12 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM
|
|||
}
|
||||
if (this.$buttons) {
|
||||
this.$buttons.show();
|
||||
this.$buttons.find('.oe_form_button_save').removeClass('oe_form_button_save_dirty');
|
||||
}
|
||||
if (this.$pager) {
|
||||
this.$pager.show();
|
||||
}
|
||||
this.$element.show().css('visibility', 'hidden');
|
||||
this.$element.removeClass('oe_form_dirty');
|
||||
this.$element.add(this.$buttons).removeClass('oe_form_dirty');
|
||||
return this.has_been_loaded.pipe(function() {
|
||||
var result;
|
||||
if (self.dataset.index === null) {
|
||||
|
@ -292,22 +322,17 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM
|
|||
if (self.sidebar) {
|
||||
self.sidebar.do_attachement_update(self.dataset, self.datarecord.id);
|
||||
}
|
||||
if (self.default_focus_field) {
|
||||
self.default_focus_field.focus();
|
||||
}
|
||||
if (record.id) {
|
||||
self.do_push_state({id:record.id});
|
||||
}
|
||||
self.$element.removeClass('oe_form_dirty');
|
||||
self.$buttons.find('.oe_form_button_save').removeClass('oe_form_button_save_dirty');
|
||||
self.$element.add(self.$buttons).removeClass('oe_form_dirty');
|
||||
});
|
||||
},
|
||||
on_form_changed: function() {
|
||||
this.trigger("view_content_has_changed");
|
||||
},
|
||||
do_notify_change: function() {
|
||||
this.$element.addClass('oe_form_dirty');
|
||||
this.$buttons.find('.oe_form_button_save').addClass('oe_form_button_save_dirty');
|
||||
this.$element.add(this.$buttons).addClass('oe_form_dirty');
|
||||
},
|
||||
on_pager_action: function(action) {
|
||||
if (this.can_be_discarded()) {
|
||||
|
@ -478,9 +503,8 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM
|
|||
}
|
||||
});
|
||||
},
|
||||
on_processed_onchange: function(response, processed) {
|
||||
on_processed_onchange: function(result, processed) {
|
||||
try {
|
||||
var result = response;
|
||||
if (result.value) {
|
||||
for (var f in result.value) {
|
||||
if (!result.value.hasOwnProperty(f)) { continue; }
|
||||
|
@ -546,6 +570,16 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM
|
|||
_.each(this.fields,function(field){
|
||||
field.set({"force_readonly": false});
|
||||
});
|
||||
var fields_order = self.fields_order.slice(0);
|
||||
if (self.default_focus_field) {
|
||||
fields_order.unshift(self.default_focus_field);
|
||||
}
|
||||
for (var i = 0; i < fields_order.length; i += 1) {
|
||||
var field = self.fields[fields_order[i]];
|
||||
if (!field.get('effective_invisible') && !field.get('effective_readonly') && field.focus() !== false) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
on_button_save: function() {
|
||||
|
@ -627,7 +661,7 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM
|
|||
* record or saving an existing one depending on whether the record
|
||||
* already has an id property.
|
||||
*
|
||||
* @param {Function} success callback on save success
|
||||
* @param {Function} [success] callback on save success
|
||||
* @param {Boolean} [prepend_on_create=false] if ``do_save`` creates a new record, should that record be inserted at the start of the dataset (by default, records are added at the end)
|
||||
*/
|
||||
do_save: function(success, prepend_on_create) {
|
||||
|
@ -689,7 +723,7 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM
|
|||
var msg = "<ul>";
|
||||
_.each(this.fields, function(f) {
|
||||
if (!f.is_valid()) {
|
||||
msg += "<li>" + (f.node.attrs.string || f.field.string) + "</li>";
|
||||
msg += "<li>" + f.string + "</li>";
|
||||
}
|
||||
});
|
||||
msg += "</ul>";
|
||||
|
@ -701,7 +735,8 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM
|
|||
return $.Deferred().reject();
|
||||
} else {
|
||||
return $.when(this.reload()).pipe(function () {
|
||||
return $.when(r).then(success); }, null);
|
||||
return r; })
|
||||
.then(success);
|
||||
}
|
||||
},
|
||||
/**
|
||||
|
@ -734,8 +769,10 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM
|
|||
if (this.sidebar) {
|
||||
this.sidebar.do_attachement_update(this.dataset, this.datarecord.id);
|
||||
}
|
||||
this.reload();
|
||||
return $.when(_.extend(r, {created: true})).then(success);
|
||||
//openerp.log("The record has been created with id #" + this.datarecord.id);
|
||||
return $.when(this.reload()).pipe(function () {
|
||||
return _.extend(r, {created: true}); })
|
||||
.then(success);
|
||||
}
|
||||
},
|
||||
on_action: function (action) {
|
||||
|
@ -830,7 +867,7 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM
|
|||
|
||||
return {
|
||||
name: name,
|
||||
string: field.node.attrs.string || field.field.string,
|
||||
string: field.string,
|
||||
value: value,
|
||||
displayed: displayed,
|
||||
// convert undefined to false
|
||||
|
@ -879,6 +916,12 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM
|
|||
register_field: function(field, name) {
|
||||
this.fields[name] = field;
|
||||
this.fields_order.push(name);
|
||||
if (field.node.attrs.default_focus == '1') {
|
||||
this.default_focus_field = field;
|
||||
}
|
||||
|
||||
field.on('focused', null, this.proxy('widgetFocused'))
|
||||
.on('blurred', null, this.proxy('widgetBlurred'));
|
||||
if (this.get_field(name).translate) {
|
||||
this.translatable_fields.push(field);
|
||||
}
|
||||
|
@ -1479,6 +1522,20 @@ instance.web.form.FormWidget = instance.web.Widget.extend(instance.web.form.Invi
|
|||
$.fn.tipsy.clear();
|
||||
this._super.apply(this, arguments);
|
||||
},
|
||||
/**
|
||||
* Sets up blur/focus forwarding from DOM elements to a widget (`this`).
|
||||
*
|
||||
* This method is an utility method that is meant to be called by child classes.
|
||||
*
|
||||
* @param {jQuery} $e jQuery object of elements to bind focus/blur on
|
||||
*/
|
||||
setupFocus: function ($e) {
|
||||
var self = this;
|
||||
$e.on({
|
||||
focus: function () { self.trigger('focused'); },
|
||||
blur: function () { self.trigger('blurred'); }
|
||||
});
|
||||
},
|
||||
process_modifiers: function() {
|
||||
var compute_domain = instance.web.form.compute_domain;
|
||||
var to_set = {};
|
||||
|
@ -1580,6 +1637,7 @@ instance.web.form.WidgetButton = instance.web.form.FormWidget.extend({
|
|||
if (this.node.attrs.help || instance.connection.debug) {
|
||||
this.do_attach_tooltip();
|
||||
}
|
||||
this.setupFocus(this.$element);
|
||||
},
|
||||
on_click: function() {
|
||||
var self = this;
|
||||
|
@ -1716,7 +1774,7 @@ instance.web.form.FieldInterface = {
|
|||
*/
|
||||
is_syntax_valid: function() {},
|
||||
/**
|
||||
* Must set the focus on the field.
|
||||
* Must set the focus on the field. Return false if field is not focusable.
|
||||
*/
|
||||
focus: function() {},
|
||||
};
|
||||
|
@ -1744,8 +1802,10 @@ instance.web.form.AbstractField = instance.web.form.FormWidget.extend(instance.w
|
|||
this._super(field_manager, node);
|
||||
this.field_manager = field_manager;
|
||||
this.name = this.node.attrs.name;
|
||||
this.set({'value': false});
|
||||
this.field = this.field_manager.get_field(this.name);
|
||||
this.widget = this.node.attrs.widget;
|
||||
this.string = this.node.attrs.string || this.field.string || this.name;
|
||||
this.set({'value': false});
|
||||
this.set({required: this.modifiers['required'] === true});
|
||||
|
||||
// some events to make the property "effective_readonly" sync automatically with "readonly" and
|
||||
|
@ -1805,7 +1865,7 @@ instance.web.form.AbstractField = instance.web.form.FormWidget.extend(instance.w
|
|||
return this.get('value');
|
||||
},
|
||||
is_valid: function() {
|
||||
return this.is_syntax_valid() && (! this.get('required') || ! this.is_false());
|
||||
return this.is_syntax_valid() && !(this.get('required') && this.is_false());
|
||||
},
|
||||
is_syntax_valid: function() {
|
||||
return true;
|
||||
|
@ -1817,7 +1877,7 @@ instance.web.form.AbstractField = instance.web.form.FormWidget.extend(instance.w
|
|||
is_false: function() {
|
||||
return this.get('value') === false;
|
||||
},
|
||||
_check_css_flags: function(show_invalid) {
|
||||
_check_css_flags: function() {
|
||||
if (this.field.translate) {
|
||||
this.$element.find('.oe_field_translate').toggle(!this.field_manager.is_create_mode());
|
||||
}
|
||||
|
@ -1898,9 +1958,11 @@ instance.web.form.FieldChar = instance.web.form.AbstractField.extend(instance.we
|
|||
},
|
||||
initialize_content: function() {
|
||||
var self = this;
|
||||
this.$element.find('input').change(function() {
|
||||
self.set({'value': instance.web.parse_value(self.$element.find('input').val(), self)});
|
||||
var $input = this.$element.find('input');
|
||||
$input.change(function() {
|
||||
self.set({'value': instance.web.parse_value($input.val(), self)});
|
||||
});
|
||||
this.setupFocus($input);
|
||||
},
|
||||
set_value: function(value_) {
|
||||
this._super(value_);
|
||||
|
@ -1944,7 +2006,9 @@ instance.web.form.FieldEmail = instance.web.form.FieldChar.extend({
|
|||
template: 'FieldEmail',
|
||||
initialize_content: function() {
|
||||
this._super();
|
||||
this.$element.find('button').click(this.on_button_clicked);
|
||||
var $button = this.$element.find('button');
|
||||
$button.click(this.on_button_clicked);
|
||||
this.setupFocus($button);
|
||||
},
|
||||
render_value: function() {
|
||||
if (!this.get("effective_readonly")) {
|
||||
|
@ -1952,7 +2016,7 @@ instance.web.form.FieldEmail = instance.web.form.FieldChar.extend({
|
|||
} else {
|
||||
this.$element.find('a')
|
||||
.attr('href', 'mailto:' + this.get('value'))
|
||||
.text(this.get('value'));
|
||||
.text(this.get('value') || '');
|
||||
}
|
||||
},
|
||||
on_button_clicked: function() {
|
||||
|
@ -1968,7 +2032,9 @@ instance.web.form.FieldUrl = instance.web.form.FieldChar.extend({
|
|||
template: 'FieldUrl',
|
||||
initialize_content: function() {
|
||||
this._super();
|
||||
this.$element.find('button').click(this.on_button_clicked);
|
||||
var $button = this.$element.find('button');
|
||||
$button.click(this.on_button_clicked);
|
||||
this.setupFocus($button);
|
||||
},
|
||||
render_value: function() {
|
||||
if (!this.get("effective_readonly")) {
|
||||
|
@ -1979,7 +2045,7 @@ instance.web.form.FieldUrl = instance.web.form.FieldChar.extend({
|
|||
if (!s) {
|
||||
tmp = "http://" + this.get('value');
|
||||
}
|
||||
this.$element.find('a').attr('href', tmp).text(tmp);
|
||||
this.$element.find('a').attr('href', tmp).text(this.get('value') ? tmp : '');
|
||||
}
|
||||
},
|
||||
on_button_clicked: function() {
|
||||
|
@ -2037,12 +2103,14 @@ instance.web.DateTimeWidget = instance.web.OldWidget.extend({
|
|||
showButtonPanel: true
|
||||
});
|
||||
this.$element.find('img.oe_datepicker_trigger').click(function() {
|
||||
if (!self.get("effective_readonly") && !self.picker('widget').is(':visible')) {
|
||||
self.picker('setDate', self.get('value') ? instance.web.auto_str_to_date(self.get('value')) : new Date());
|
||||
self.$input_picker.show();
|
||||
self.picker('show');
|
||||
self.$input_picker.hide();
|
||||
if (self.get("effective_readonly") || self.picker('widget').is(':visible')) {
|
||||
self.$input.focus();
|
||||
return;
|
||||
}
|
||||
self.picker('setDate', self.value ? instance.web.auto_str_to_date(self.value) : new Date());
|
||||
self.$input_picker.show();
|
||||
self.picker('show');
|
||||
self.$input_picker.hide();
|
||||
});
|
||||
this.set_readonly(false);
|
||||
this.set({'value': false});
|
||||
|
@ -2052,7 +2120,10 @@ instance.web.DateTimeWidget = instance.web.OldWidget.extend({
|
|||
},
|
||||
on_picker_select: function(text, instance_) {
|
||||
var date = this.picker('getDate');
|
||||
this.$input.val(date ? this.format_client(date) : '').change();
|
||||
this.$input
|
||||
.val(date ? this.format_client(date) : '')
|
||||
.change()
|
||||
.focus();
|
||||
},
|
||||
set_value: function(value_) {
|
||||
this.set({'value': value_});
|
||||
|
@ -2119,6 +2190,7 @@ instance.web.form.FieldDatetime = instance.web.form.AbstractField.extend(instanc
|
|||
this.set({'value': this.datewidget.get_value()});
|
||||
}, this));
|
||||
this.datewidget.appendTo(this.$element);
|
||||
this.setupFocus(this.datewidget.$input);
|
||||
}
|
||||
},
|
||||
set_value: function(value_) {
|
||||
|
@ -2165,6 +2237,7 @@ instance.web.form.FieldText = instance.web.form.AbstractField.extend(instance.we
|
|||
} else {
|
||||
this.$textarea.attr('disabled', 'disabled');
|
||||
}
|
||||
this.setupFocus(this.$textarea);
|
||||
},
|
||||
set_value: function(value_) {
|
||||
this._super.apply(this, arguments);
|
||||
|
@ -2221,6 +2294,7 @@ instance.web.form.FieldBoolean = instance.web.form.AbstractField.extend({
|
|||
start: function() {
|
||||
this._super.apply(this, arguments);
|
||||
this.$checkbox = $("input", this.$element);
|
||||
this.setupFocus(this.$checkbox);
|
||||
this.$element.click(_.bind(function() {
|
||||
this.set({'value': this.$checkbox.is(':checked')});
|
||||
}, this));
|
||||
|
@ -2289,7 +2363,7 @@ instance.web.form.FieldSelection = instance.web.form.AbstractField.extend(instan
|
|||
// changing the selected value), takes the action as validating the
|
||||
// row
|
||||
var ischanging = false;
|
||||
this.$element.find('select')
|
||||
var $select = this.$element.find('select')
|
||||
.change(_.bind(function() {
|
||||
this.set({'value': this.values[this.$element.find('select')[0].selectedIndex][0]});
|
||||
}, this))
|
||||
|
@ -2300,6 +2374,7 @@ instance.web.form.FieldSelection = instance.web.form.AbstractField.extend(instan
|
|||
e.stopPropagation();
|
||||
ischanging = false;
|
||||
});
|
||||
this.setupFocus($select);
|
||||
},
|
||||
set_value: function(value_) {
|
||||
value_ = value_ === null ? false : value_;
|
||||
|
@ -2384,15 +2459,16 @@ instance.web.form.CompletionFieldMixin = {
|
|||
|
||||
return this.orderer.add(dataset.name_search(
|
||||
search_val, new instance.web.CompoundDomain(self.build_domain(), [["id", "not in", blacklist]]),
|
||||
'ilike', this.limit + 1)).pipe(function(data) {
|
||||
'ilike', this.limit + 1, self.build_context())).pipe(function(data) {
|
||||
self.last_search = data;
|
||||
// possible selections for the m2o
|
||||
var values = _.map(data, function(x) {
|
||||
x[1] = x[1].split("\n")[0];
|
||||
return {
|
||||
label: _.str.escapeHTML(x[1]),
|
||||
value:x[1],
|
||||
name:x[1],
|
||||
id:x[0]
|
||||
value: x[1],
|
||||
name: x[1],
|
||||
id: x[0],
|
||||
};
|
||||
});
|
||||
|
||||
|
@ -2448,7 +2524,7 @@ instance.web.form.CompletionFieldMixin = {
|
|||
pop.select_element(
|
||||
self.field.relation,
|
||||
{
|
||||
title: (view === 'search' ? _t("Search: ") : _t("Create: ")) + (this.string || this.name),
|
||||
title: (view === 'search' ? _t("Search: ") : _t("Create: ")) + this.string,
|
||||
initial_ids: ids ? _.map(ids, function(x) {return x[0]}) : undefined,
|
||||
initial_view: view,
|
||||
disable_multiple_selection: true
|
||||
|
@ -2458,6 +2534,7 @@ instance.web.form.CompletionFieldMixin = {
|
|||
);
|
||||
pop.on_select_elements.add(function(element_ids) {
|
||||
self.add_id(element_ids[0]);
|
||||
self.focus();
|
||||
});
|
||||
},
|
||||
/**
|
||||
|
@ -2502,11 +2579,12 @@ instance.web.form.FieldMany2One = instance.web.form.AbstractField.extend(instanc
|
|||
fade: true,
|
||||
});
|
||||
|
||||
this.$drop_down = this.$element.find(".oe-m2o-drop-down-button");
|
||||
this.$follow_button = $(".oe-m2o-cm-button", this.$element);
|
||||
this.$drop_down = this.$element.find(".oe_m2o_drop_down_button");
|
||||
this.$follow_button = $(".oe_m2o_cm_button", this.$element);
|
||||
|
||||
this.$follow_button.click(function() {
|
||||
if (!self.get('value')) {
|
||||
self.focus();
|
||||
return;
|
||||
}
|
||||
var pop = new instance.web.form.FormOpenPopup(self.view);
|
||||
|
@ -2515,12 +2593,13 @@ instance.web.form.FieldMany2One = instance.web.form.AbstractField.extend(instanc
|
|||
self.get("value"),
|
||||
self.build_context(),
|
||||
{
|
||||
title: _t("Open: ") + (self.string || self.name)
|
||||
title: _t("Open: ") + self.string
|
||||
}
|
||||
);
|
||||
pop.on_write_completed.add_last(function() {
|
||||
self.display_value = {};
|
||||
self.render_value();
|
||||
self.focus();
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -2535,13 +2614,13 @@ instance.web.form.FieldMany2One = instance.web.form.AbstractField.extend(instanc
|
|||
this.$drop_down.click(function() {
|
||||
if (self.$input.autocomplete("widget").is(":visible")) {
|
||||
self.$input.autocomplete("close");
|
||||
self.$input.focus();
|
||||
} else {
|
||||
if (self.get("value") && ! self.floating) {
|
||||
self.$input.autocomplete("search", "");
|
||||
} else {
|
||||
self.$input.autocomplete("search");
|
||||
}
|
||||
self.$input.focus();
|
||||
}
|
||||
});
|
||||
var tip_def = $.Deferred();
|
||||
|
@ -2628,6 +2707,7 @@ instance.web.form.FieldMany2One = instance.web.form.AbstractField.extend(instanc
|
|||
}
|
||||
isSelecting = false;
|
||||
});
|
||||
this.setupFocus(this.$input.add(this.$follow_button));
|
||||
},
|
||||
|
||||
render_value: function(no_recurse) {
|
||||
|
@ -2642,7 +2722,7 @@ instance.web.form.FieldMany2One = instance.web.form.AbstractField.extend(instanc
|
|||
return;
|
||||
}
|
||||
if (! no_recurse) {
|
||||
var dataset = new instance.web.DataSetStatic(this, this.field.relation, self.view.dataset.get_context());
|
||||
var dataset = new instance.web.DataSetStatic(this, this.field.relation, self.build_context());
|
||||
dataset.name_get([self.get("value")], function(data) {
|
||||
self.display_value["" + self.get("value")] = data[0][1];
|
||||
self.render_value(true);
|
||||
|
@ -2652,11 +2732,12 @@ instance.web.form.FieldMany2One = instance.web.form.AbstractField.extend(instanc
|
|||
display_string: function(str) {
|
||||
var self = this;
|
||||
if (!this.get("effective_readonly")) {
|
||||
this.$input.val(str);
|
||||
this.$input.val(str.split("\n")[0]);
|
||||
} else {
|
||||
str = _.escape(str).split("\n").join("<br />");
|
||||
this.$element.find('a')
|
||||
.unbind('click')
|
||||
.text(str)
|
||||
.html(str)
|
||||
.click(function () {
|
||||
self.do_action({
|
||||
type: 'ir.actions.act_window',
|
||||
|
@ -2674,7 +2755,9 @@ instance.web.form.FieldMany2One = instance.web.form.AbstractField.extend(instanc
|
|||
var self = this;
|
||||
if (value_ instanceof Array) {
|
||||
this.display_value = {};
|
||||
this.display_value["" + value_[0]] = value_[1];
|
||||
if (! this.get_definition_options().always_reload) {
|
||||
this.display_value["" + value_[0]] = value_[1];
|
||||
}
|
||||
value_ = value_[0];
|
||||
}
|
||||
value_ = value_ || false;
|
||||
|
@ -2808,25 +2891,36 @@ instance.web.form.FieldOne2Many = instance.web.form.AbstractField.extend({
|
|||
view.embedded_view = self.field.views[mode];
|
||||
}
|
||||
if(view.view_type === "list") {
|
||||
view.options.selectable = self.multi_selection;
|
||||
view.options.sortable = false;
|
||||
_.extend(view.options, {
|
||||
selectable: self.multi_selection,
|
||||
sortable: false,
|
||||
import_enabled: false,
|
||||
});
|
||||
if (self.get("effective_readonly")) {
|
||||
view.options.addable = null;
|
||||
view.options.deletable = null;
|
||||
view.options.reorderable = false;
|
||||
_.extend(view.options, {
|
||||
addable: null,
|
||||
deletable: null,
|
||||
reorderable: false,
|
||||
});
|
||||
}
|
||||
} else if (view.view_type === "form") {
|
||||
if (self.get("effective_readonly")) {
|
||||
view.view_type = 'form';
|
||||
}
|
||||
view.options.not_interactible_on_create = true;
|
||||
_.extend(view.options, {
|
||||
not_interactible_on_create: true,
|
||||
});
|
||||
} else if (view.view_type === "kanban") {
|
||||
view.options.confirm_on_delete = false;
|
||||
_.extend(view.options, {
|
||||
confirm_on_delete: false,
|
||||
});
|
||||
if (self.get("effective_readonly")) {
|
||||
view.options.action_buttons = false;
|
||||
view.options.quick_creatable = false;
|
||||
view.options.creatable = false;
|
||||
view.options.read_only_mode = true;
|
||||
_.extend(view.options, {
|
||||
action_buttons: false,
|
||||
quick_creatable: false,
|
||||
creatable: false,
|
||||
read_only_mode: true,
|
||||
});
|
||||
}
|
||||
}
|
||||
views.push(view);
|
||||
|
@ -3007,13 +3101,15 @@ instance.web.form.FieldOne2Many = instance.web.form.AbstractField.extend({
|
|||
if (!this.viewmanager.views[this.viewmanager.active_view])
|
||||
return true;
|
||||
var view = this.viewmanager.views[this.viewmanager.active_view].controller;
|
||||
if (this.viewmanager.active_view === "form") {
|
||||
for (var f in view.fields) {
|
||||
f = view.fields[f];
|
||||
if (!f.is_valid()) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
switch (this.viewmanager.active_view) {
|
||||
case 'form':
|
||||
return _(view.fields).chain()
|
||||
.invoke('is_valid')
|
||||
.all(_.identity)
|
||||
.value();
|
||||
break;
|
||||
case 'list':
|
||||
return view.is_valid();
|
||||
}
|
||||
return true;
|
||||
},
|
||||
|
@ -3037,7 +3133,7 @@ instance.web.form.One2ManyViewManager = instance.web.ViewManager.extend({
|
|||
var id = self.o2m.dataset.index !== null ? self.o2m.dataset.ids[self.o2m.dataset.index] : null;
|
||||
var pop = new instance.web.form.FormOpenPopup(self.o2m.view);
|
||||
pop.show_element(self.o2m.field.relation, id, self.o2m.build_context(), {
|
||||
title: _t("Open: ") + self.name,
|
||||
title: _t("Open: ") + self.o2m.string,
|
||||
create_function: function(data) {
|
||||
return self.o2m.dataset.create(data).then(function(r) {
|
||||
self.o2m.dataset.set_ids(self.o2m.dataset.ids.concat([r.result]));
|
||||
|
@ -3073,6 +3169,46 @@ instance.web.form.One2ManyDataSet = instance.web.BufferedDataSet.extend({
|
|||
|
||||
instance.web.form.One2ManyListView = instance.web.ListView.extend({
|
||||
_template: 'One2Many.listview',
|
||||
init: function (parent, dataset, view_id, options) {
|
||||
this._super(parent, dataset, view_id, _.extend(options || {}, {
|
||||
ListType: instance.web.form.One2ManyList
|
||||
}));
|
||||
},
|
||||
is_valid: function () {
|
||||
var form;
|
||||
// A list not being edited is always valid
|
||||
if (!(form = this.first_edition_form())) {
|
||||
return true;
|
||||
}
|
||||
// If the form has not been modified, the view can only be valid
|
||||
// NB: is_dirty will also be set on defaults/onchanges/whatever?
|
||||
// oe_form_dirty seems to only be set on actual user actions
|
||||
if (!form.$element.is('.oe_form_dirty')) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// Otherwise validate internal form
|
||||
return _(form.fields).chain()
|
||||
.invoke(function () {
|
||||
this._check_css_flags();
|
||||
return this.is_valid();
|
||||
})
|
||||
.all(_.identity)
|
||||
.value();
|
||||
},
|
||||
first_edition_form: function () {
|
||||
var get_form = function (group_or_list) {
|
||||
if (group_or_list.edition) {
|
||||
return group_or_list.edition_form;
|
||||
}
|
||||
return _(group_or_list.children).chain()
|
||||
.map(get_form)
|
||||
.compact()
|
||||
.first()
|
||||
.value();
|
||||
};
|
||||
return get_form(this.groups);
|
||||
},
|
||||
do_add_record: function () {
|
||||
if (this.options.editable) {
|
||||
this._super.apply(this, arguments);
|
||||
|
@ -3082,7 +3218,7 @@ instance.web.form.One2ManyListView = instance.web.ListView.extend({
|
|||
pop.select_element(
|
||||
self.o2m.field.relation,
|
||||
{
|
||||
title: _t("Create: ") + self.name,
|
||||
title: _t("Create: ") + self.o2m.string,
|
||||
initial_view: "form",
|
||||
alternative_form_view: self.o2m.field.views ? self.o2m.field.views["form"] : undefined,
|
||||
create_function: function(data, callback, error_callback) {
|
||||
|
@ -3110,7 +3246,7 @@ instance.web.form.One2ManyListView = instance.web.ListView.extend({
|
|||
var self = this;
|
||||
var pop = new instance.web.form.FormOpenPopup(self.o2m.view);
|
||||
pop.show_element(self.o2m.field.relation, id, self.o2m.build_context(), {
|
||||
title: _t("Open: ") + self.name,
|
||||
title: _t("Open: ") + self.o2m.string,
|
||||
write_function: function(id, data) {
|
||||
return self.o2m.dataset.write(id, data, {}, function(r) {
|
||||
self.o2m.reload_current_view();
|
||||
|
@ -3127,9 +3263,55 @@ instance.web.form.One2ManyListView = instance.web.ListView.extend({
|
|||
});
|
||||
},
|
||||
do_button_action: function (name, id, callback) {
|
||||
var _super = _.bind(this._super, this);
|
||||
|
||||
this.o2m.view.do_save().then(function () {
|
||||
_super(name, id, callback);
|
||||
});
|
||||
}
|
||||
});
|
||||
instance.web.form.One2ManyList = instance.web.ListView.List.extend({
|
||||
KEY_RETURN: 13,
|
||||
// blurring caused by hitting the [Return] key, should skip the
|
||||
// autosave-on-blur and let the handler for [Return] do its thing
|
||||
__return_blur: false,
|
||||
render_row_as_form: function () {
|
||||
var self = this;
|
||||
var def = $.Deferred().then(callback).then(function() {self.o2m.view.reload();});
|
||||
return this._super(name, id, _.bind(def.resolve, def));
|
||||
return this._super.apply(this, arguments).then(function () {
|
||||
// Replace the "Save Row" button with "Cancel Edition"
|
||||
self.edition_form.$element
|
||||
.undelegate('button.oe_list_edit_row_save', 'click')
|
||||
.delegate('button.oe_list_edit_row_save', 'click', function () {
|
||||
self.cancel_pending_edition();
|
||||
});
|
||||
|
||||
// Overload execute_action on the edition form to perform a simple
|
||||
// reload_record after the action is done, rather than fully
|
||||
// reload the parent view (or something)
|
||||
var _execute_action = self.edition_form.do_execute_action;
|
||||
self.edition_form.do_execute_action = function (action, dataset, record_id, _callback) {
|
||||
return _execute_action.call(this, action, dataset, record_id, function () {
|
||||
self.view.reload_record(
|
||||
self.view.records.get(record_id));
|
||||
});
|
||||
};
|
||||
|
||||
self.edition_form.on('blurred', null, function () {
|
||||
if (self.__return_blur) {
|
||||
delete self.__return_blur;
|
||||
return;
|
||||
}
|
||||
if (!self.edition_form.widget_is_stopped) {
|
||||
self.view.ensure_saved();
|
||||
}
|
||||
});
|
||||
});
|
||||
},
|
||||
on_row_keyup: function (e) {
|
||||
if (e.which === this.KEY_RETURN) {
|
||||
this.__return_blur = true;
|
||||
}
|
||||
this._super(e);
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -3336,6 +3518,10 @@ instance.web.form.FieldMany2Many = instance.web.form.AbstractField.extend({
|
|||
get_value: function() {
|
||||
return [commands.replace_with(this.get('value'))];
|
||||
},
|
||||
|
||||
is_false: function () {
|
||||
return _(this.dataset.ids).isEmpty();
|
||||
},
|
||||
load_view: function() {
|
||||
var self = this;
|
||||
this.list_view = new instance.web.form.Many2ManyListView(this, this.dataset, false, {
|
||||
|
@ -3344,6 +3530,7 @@ instance.web.form.FieldMany2Many = instance.web.form.AbstractField.extend({
|
|||
'selectable': self.multi_selection,
|
||||
'sortable': false,
|
||||
'reorderable': false,
|
||||
'import_enabled': false,
|
||||
});
|
||||
var embedded = (this.field.views || {}).tree;
|
||||
if (embedded) {
|
||||
|
@ -3388,7 +3575,7 @@ instance.web.form.Many2ManyListView = instance.web.ListView.extend(/** @lends in
|
|||
pop.select_element(
|
||||
this.model,
|
||||
{
|
||||
title: _t("Add: ") + this.name
|
||||
title: _t("Add: ") + this.m2m_field.string
|
||||
},
|
||||
new instance.web.CompoundDomain(this.m2m_field.build_domain(), ["!", ["id", "in", this.m2m_field.dataset.ids]]),
|
||||
this.m2m_field.build_context()
|
||||
|
@ -3408,7 +3595,7 @@ instance.web.form.Many2ManyListView = instance.web.ListView.extend(/** @lends in
|
|||
var self = this;
|
||||
var pop = new instance.web.form.FormOpenPopup(this);
|
||||
pop.show_element(this.dataset.model, id, this.m2m_field.build_context(), {
|
||||
title: _t("Open: ") + this.name,
|
||||
title: _t("Open: ") + this.m2m_field.string,
|
||||
readonly: this.getParent().get("effective_readonly")
|
||||
});
|
||||
pop.on_write_completed.add_last(function() {
|
||||
|
@ -3506,7 +3693,7 @@ instance.web.form.FieldMany2ManyKanban = instance.web.form.AbstractField.extend(
|
|||
pop.select_element(
|
||||
this.field.relation,
|
||||
{
|
||||
title: _t("Add: ") + this.name
|
||||
title: _t("Add: ") + this.string
|
||||
},
|
||||
new instance.web.CompoundDomain(this.build_domain(), ["!", ["id", "in", this.dataset.ids]]),
|
||||
this.build_context()
|
||||
|
@ -3524,7 +3711,7 @@ instance.web.form.FieldMany2ManyKanban = instance.web.form.AbstractField.extend(
|
|||
var id = self.dataset.ids[self.dataset.index];
|
||||
var pop = new instance.web.form.FormOpenPopup(self.view);
|
||||
pop.show_element(self.field.relation, id, self.build_context(), {
|
||||
title: _t("Open: ") + self.name,
|
||||
title: _t("Open: ") + self.string,
|
||||
write_function: function(id, data, options) {
|
||||
return self.dataset.write(id, data, {}).then(function() {
|
||||
self.reload_content();
|
||||
|
@ -3695,7 +3882,7 @@ instance.web.form.AbstractFormPopup = instance.web.OldWidget.extend({
|
|||
if (this.options.alternative_form_view) {
|
||||
this.view_form.set_embedded_view(this.options.alternative_form_view);
|
||||
}
|
||||
this.view_form.appendTo(this.$element.find(".oe-form-view-popup-form-placeholder"));
|
||||
this.view_form.appendTo(this.$element.find(".oe_popup_form"));
|
||||
this.view_form.on_loaded.add_last(function() {
|
||||
var $buttons = self.view_form.$element.find(".oe_form_buttons");
|
||||
var multi_select = self.row_id === null && ! self.options.disable_multiple_selection;
|
||||
|
@ -3824,9 +4011,10 @@ instance.web.form.SelectCreatePopup = instance.web.form.AbstractFormPopup.extend
|
|||
_.extend({'deletable': false,
|
||||
'selectable': !self.options.disable_multiple_selection,
|
||||
'read_only': true,
|
||||
'import_enabled': false,
|
||||
}, self.options.list_view_options || {}));
|
||||
self.view_list.popup = self;
|
||||
self.view_list.appendTo($(".oe-select-create-popup-view-list", self.$element)).pipe(function() {
|
||||
self.view_list.appendTo($(".oe_popup_list", self.$element)).pipe(function() {
|
||||
self.view_list.do_show();
|
||||
}).pipe(function() {
|
||||
self.searchview.do_search();
|
||||
|
@ -3848,7 +4036,7 @@ instance.web.form.SelectCreatePopup = instance.web.form.AbstractFormPopup.extend
|
|||
});
|
||||
});
|
||||
});
|
||||
this.searchview.appendTo($(".oe-select-create-popup-view-list", self.$element));
|
||||
this.searchview.appendTo($(".oe_popup_list", self.$element));
|
||||
},
|
||||
do_search: function(domains, contexts, groupbys) {
|
||||
var self = this;
|
||||
|
@ -3920,6 +4108,7 @@ instance.web.form.FieldReference = instance.web.form.AbstractField.extend(instan
|
|||
}
|
||||
},
|
||||
initialize_content: function() {
|
||||
var self = this;
|
||||
this.selection = new instance.web.form.FieldSelection(this, { attrs: {
|
||||
name: 'selection'
|
||||
}});
|
||||
|
@ -3929,6 +4118,9 @@ instance.web.form.FieldReference = instance.web.form.AbstractField.extend(instan
|
|||
this.selection.$element = $(".oe_form_view_reference_selection", this.$element);
|
||||
this.selection.renderElement();
|
||||
this.selection.start();
|
||||
this.selection
|
||||
.on('focused', null, function () {self.trigger('focused')})
|
||||
.on('blurred', null, function () {self.trigger('blurred')});
|
||||
|
||||
this.m2o = new instance.web.form.FieldMany2One(this, { attrs: {
|
||||
name: 'm2o'
|
||||
|
@ -3939,6 +4131,9 @@ instance.web.form.FieldReference = instance.web.form.AbstractField.extend(instan
|
|||
this.m2o.$element = $(".oe_form_view_reference_m2o", this.$element);
|
||||
this.m2o.renderElement();
|
||||
this.m2o.start();
|
||||
this.m2o
|
||||
.on('focused', null, function () {self.trigger('focused')})
|
||||
.on('blurred', null, function () {self.trigger('blurred')});
|
||||
},
|
||||
is_false: function() {
|
||||
return typeof(this.get_value()) !== 'string';
|
||||
|
@ -4003,9 +4198,9 @@ instance.web.form.FieldBinary = instance.web.form.AbstractField.extend(instance.
|
|||
this._super.apply(this, arguments);
|
||||
},
|
||||
initialize_content: function() {
|
||||
this.$element.find('input.oe-binary-file').change(this.on_file_change);
|
||||
this.$element.find('button.oe_binary_file_save').click(this.on_save_as);
|
||||
this.$element.find('.oe-binary-file-clear').click(this.on_clear);
|
||||
this.$element.find('input.oe_form_binary_file').change(this.on_file_change);
|
||||
this.$element.find('button.oe_form_binary_file_save').click(this.on_save_as);
|
||||
this.$element.find('.oe_form_binary_file_clear').click(this.on_clear);
|
||||
},
|
||||
human_filesize : function(size) {
|
||||
var units = ['B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];
|
||||
|
@ -4022,10 +4217,10 @@ instance.web.form.FieldBinary = instance.web.form.AbstractField.extend(instance.
|
|||
// http://deepliquid.com/projects/Jcrop/demos.php?demo=handler
|
||||
|
||||
if ($(e.target).val() !== '') {
|
||||
this.$element.find('form.oe-binary-form input[name=session_id]').val(this.session.session_id);
|
||||
this.$element.find('form.oe-binary-form').submit();
|
||||
this.$element.find('.oe-binary-progress').show();
|
||||
this.$element.find('.oe-binary').hide();
|
||||
this.$element.find('form.oe_form_binary_form input[name=session_id]').val(this.session.session_id);
|
||||
this.$element.find('form.oe_form_binary_form').submit();
|
||||
this.$element.find('.oe_form_binary_progress').show();
|
||||
this.$element.find('.oe_form_binary').hide();
|
||||
}
|
||||
},
|
||||
on_file_uploaded: function(size, name, content_type, file_base64) {
|
||||
|
@ -4037,8 +4232,8 @@ instance.web.form.FieldBinary = instance.web.form.AbstractField.extend(instance.
|
|||
this.filename = name;
|
||||
this.on_file_uploaded_and_valid.apply(this, arguments);
|
||||
}
|
||||
this.$element.find('.oe-binary-progress').hide();
|
||||
this.$element.find('.oe-binary').show();
|
||||
this.$element.find('.oe_form_binary_progress').hide();
|
||||
this.$element.find('.oe_form_binary').show();
|
||||
},
|
||||
on_file_uploaded_and_valid: function(size, name, content_type, file_base64) {
|
||||
},
|
||||
|
@ -4048,7 +4243,7 @@ instance.web.form.FieldBinary = instance.web.form.AbstractField.extend(instance.
|
|||
this.do_warn(_t("Save As..."), _t("The field is empty, there's nothing to save !"));
|
||||
ev.stopPropagation();
|
||||
} else if (this._dirty_flag) {
|
||||
var link = this.$('.oe_binary_file_save_data')[0];
|
||||
var link = this.$('.oe_form_binary_file_save_data')[0];
|
||||
link.download = this.filename || "download.bin"; // Works on only on Google Chrome
|
||||
//link.target = '_blank';
|
||||
link.href = "data:application/octet-stream;base64," + value;
|
||||
|
@ -4070,6 +4265,13 @@ instance.web.form.FieldBinary = instance.web.form.AbstractField.extend(instance.
|
|||
return false;
|
||||
}
|
||||
},
|
||||
set_filename: function(value) {
|
||||
var filename = this.node.attrs.filename;
|
||||
if (this.view.fields[filename]) {
|
||||
this.view.fields[filename].set_value(value);
|
||||
this.view.fields[filename].on_ui_change();
|
||||
}
|
||||
},
|
||||
on_clear: function() {
|
||||
if (this.get('value') !== false) {
|
||||
this.binary_value = false;
|
||||
|
@ -4170,10 +4372,13 @@ instance.web.form.FieldBinaryImage = instance.web.form.FieldBinary.extend({
|
|||
});
|
||||
|
||||
instance.web.form.FieldStatus = instance.web.form.AbstractField.extend({
|
||||
tagName: "span",
|
||||
template: "FieldStatus",
|
||||
start: function() {
|
||||
this._super();
|
||||
this.selected_value = null;
|
||||
if (this.$element.parent().is('header')) {
|
||||
this.$element.after('<div class="oe_clear"/>');
|
||||
}
|
||||
// preview in start only for selection fields, because of the dynamic behavior of many2one fields.
|
||||
if (this.field.type in ['selection']) {
|
||||
this.render_list();
|
||||
|
@ -4285,6 +4490,9 @@ instance.web.form.FieldStatus = instance.web.form.AbstractField.extend({
|
|||
elem.css("color", color);
|
||||
}
|
||||
},
|
||||
focus: function() {
|
||||
return false;
|
||||
},
|
||||
});
|
||||
|
||||
/**
|
||||
|
|
|
@ -24,6 +24,8 @@ instance.web.ListView = instance.web.View.extend( /** @lends instance.web.ListVi
|
|||
// if true, the view can't be editable, ignoring the view's and the context's
|
||||
// instructions
|
||||
'read_only': false,
|
||||
// if true, the 'Import', 'Export', etc... buttons will be shown
|
||||
'import_enabled': true,
|
||||
},
|
||||
/**
|
||||
* Core class for list-type displays.
|
||||
|
@ -64,7 +66,7 @@ instance.web.ListView = instance.web.View.extend( /** @lends instance.web.ListVi
|
|||
|
||||
this.records = new Collection();
|
||||
|
||||
this.set_groups(new instance.web.ListView.Groups(this));
|
||||
this.set_groups(new (this.options.GroupsType)(this));
|
||||
|
||||
if (this.dataset instanceof instance.web.DataSetStatic) {
|
||||
this.groups.datagroup = new instance.web.StaticDataGroup(this.dataset);
|
||||
|
@ -87,6 +89,14 @@ instance.web.ListView = instance.web.View.extend( /** @lends instance.web.ListVi
|
|||
|
||||
this.no_leaf = false;
|
||||
},
|
||||
set_default_options: function (options) {
|
||||
this._super(options);
|
||||
_.defaults(this.options, {
|
||||
GroupsType: instance.web.ListView.Groups,
|
||||
ListType: instance.web.ListView.List
|
||||
});
|
||||
},
|
||||
|
||||
/**
|
||||
* Retrieves the view's number of records per page (|| section)
|
||||
*
|
||||
|
@ -132,13 +142,13 @@ instance.web.ListView = instance.web.View.extend( /** @lends instance.web.ListVi
|
|||
});
|
||||
},
|
||||
/**
|
||||
* View startup method, the default behavior is to set the ``oe-listview``
|
||||
* View startup method, the default behavior is to set the ``oe_listw``
|
||||
* class on its root element and to perform an RPC load call.
|
||||
*
|
||||
* @returns {$.Deferred} loading promise
|
||||
*/
|
||||
start: function() {
|
||||
this.$element.addClass('oe-listview');
|
||||
this.$element.addClass('oe_list');
|
||||
return this.reload_view(null, null, true);
|
||||
},
|
||||
/**
|
||||
|
@ -242,18 +252,19 @@ instance.web.ListView = instance.web.View.extend( /** @lends instance.web.ListVi
|
|||
this.setup_columns(this.fields_view.fields, grouped);
|
||||
|
||||
this.$element.html(QWeb.render(this._template, this));
|
||||
this.$element.addClass(this.fields_view.arch.attrs['class']);
|
||||
// Head hook
|
||||
// Selecting records
|
||||
this.$element.find('.all-record-selector').click(function(){
|
||||
self.$element.find('.oe-record-selector input').prop('checked',
|
||||
self.$element.find('.all-record-selector').prop('checked') || false);
|
||||
this.$element.find('.oe_list_record_selector').click(function(){
|
||||
self.$element.find('.oe_list_record_selector input').prop('checked',
|
||||
self.$element.find('.oe_list_record_selector').prop('checked') || false);
|
||||
var selection = self.groups.get_selection();
|
||||
$(self.groups).trigger(
|
||||
'selected', [selection.ids, selection.records]);
|
||||
});
|
||||
|
||||
// Sorting columns
|
||||
this.$element.find('thead').delegate('th.oe-sortable[data-id]', 'click', function (e) {
|
||||
this.$element.find('thead').delegate('th.oe_sortable[data-id]', 'click', function (e) {
|
||||
e.stopPropagation();
|
||||
var $this = $(this);
|
||||
self.dataset.sort($this.data('id'));
|
||||
|
@ -262,7 +273,7 @@ instance.web.ListView = instance.web.View.extend( /** @lends instance.web.ListVi
|
|||
} else {
|
||||
$this.toggleClass("sortdown");
|
||||
}
|
||||
$this.siblings('.oe-sortable').removeClass("sortup sortdown");
|
||||
$this.siblings('.oe_sortable').removeClass("sortup sortdown");
|
||||
|
||||
self.reload_content();
|
||||
});
|
||||
|
@ -314,7 +325,7 @@ instance.web.ListView = instance.web.View.extend( /** @lends instance.web.ListVi
|
|||
self.page = 0;
|
||||
}
|
||||
self.reload_content();
|
||||
}).find('.oe-pager-state')
|
||||
}).find('.oe_list_pager_state')
|
||||
.click(function (e) {
|
||||
e.stopPropagation();
|
||||
var $this = $(this);
|
||||
|
@ -332,6 +343,8 @@ instance.web.ListView = instance.web.View.extend( /** @lends instance.web.ListVi
|
|||
self._limit = (isNaN(val) ? null : val);
|
||||
self.page = 0;
|
||||
self.reload_content();
|
||||
}).blur(function() {
|
||||
$(this).trigger('change');
|
||||
})
|
||||
.val(self._limit || 'NaN');
|
||||
});
|
||||
|
@ -364,18 +377,19 @@ instance.web.ListView = instance.web.View.extend( /** @lends instance.web.ListVi
|
|||
}
|
||||
|
||||
var total = dataset.size();
|
||||
this.$pager.toggleClass('oe_list_pager_single_page', (total <= this.limit()));
|
||||
var limit = this.limit() || total;
|
||||
this.$pager.toggleClass('oe_list_pager_single_page', (total <= limit));
|
||||
var spager = '-';
|
||||
if (total) {
|
||||
var range_start = this.page * this.limit() + 1;
|
||||
var range_stop = range_start - 1 + this.limit();
|
||||
var range_start = this.page * limit + 1;
|
||||
var range_stop = range_start - 1 + limit;
|
||||
if (range_stop > total) {
|
||||
range_stop = total;
|
||||
}
|
||||
spager = _.str.sprintf('%d-%d of %d', range_start, range_stop, total);
|
||||
}
|
||||
|
||||
this.$pager.find('.oe-pager-state').text(spager);
|
||||
this.$pager.find('.oe_list_pager_state').text(spager);
|
||||
},
|
||||
/**
|
||||
* Sets up the listview's columns: merges view and fields data, move
|
||||
|
@ -525,10 +539,10 @@ instance.web.ListView = instance.web.View.extend( /** @lends instance.web.ListVi
|
|||
*/
|
||||
reload_content: function () {
|
||||
var self = this;
|
||||
self.$element.find('.all-record-selector').prop('checked', false);
|
||||
self.$element.find('.oe_list_record_selector').prop('checked', false);
|
||||
this.records.reset();
|
||||
var reloaded = $.Deferred();
|
||||
this.$element.find('.oe-listview-content').append(
|
||||
this.$element.find('.oe_list_content').append(
|
||||
this.groups.render(function () {
|
||||
if (self.dataset.index == null) {
|
||||
var has_one = false;
|
||||
|
@ -549,6 +563,20 @@ instance.web.ListView = instance.web.View.extend( /** @lends instance.web.ListVi
|
|||
reload: function () {
|
||||
return this.reload_content();
|
||||
},
|
||||
reload_record: function (record) {
|
||||
return this.dataset.read_ids(
|
||||
[record.get('id')],
|
||||
_.pluck(_(this.columns).filter(function (r) {
|
||||
return r.tag === 'field';
|
||||
}), 'name')
|
||||
).then(function (records) {
|
||||
_(records[0]).each(function (value, key) {
|
||||
record.set(key, value, {silent: true});
|
||||
});
|
||||
record.trigger('change', record);
|
||||
});
|
||||
},
|
||||
|
||||
do_load_state: function(state, warm) {
|
||||
var reload = false;
|
||||
if (state.page && this.page !== state.page) {
|
||||
|
@ -766,7 +794,7 @@ instance.web.ListView = instance.web.View.extend( /** @lends instance.web.ListVi
|
|||
},
|
||||
display_aggregates: function (aggregation) {
|
||||
var self = this;
|
||||
var $footer_cells = this.$element.find('.oe-list-footer');
|
||||
var $footer_cells = this.$element.find('.oe_list_footer');
|
||||
_(this.aggregate_columns).each(function (column) {
|
||||
if (!column['function']) {
|
||||
return;
|
||||
|
@ -804,9 +832,9 @@ instance.web.ListView = instance.web.View.extend( /** @lends instance.web.ListVi
|
|||
}
|
||||
// Padding for column titles, footer and data rows
|
||||
var $rows = this.$element
|
||||
.find('.oe-listview-header-columns, tr:not(thead tr)')
|
||||
.find('.oe_list_header_columns, tr:not(thead tr)')
|
||||
.not(options['except']);
|
||||
var newcols = new Array(count+1).join('<td class="oe-listview-padding"></td>');
|
||||
var newcols = new Array(count+1).join('<td class="oe_list_padding"></td>');
|
||||
if (options.position === 'before') {
|
||||
$rows.prepend(newcols);
|
||||
} else {
|
||||
|
@ -817,7 +845,7 @@ instance.web.ListView = instance.web.View.extend( /** @lends instance.web.ListVi
|
|||
* Removes all padding columns of the table
|
||||
*/
|
||||
unpad_columns: function () {
|
||||
this.$element.find('.oe-listview-padding').remove();
|
||||
this.$element.find('.oe_list_padding').remove();
|
||||
if (this.previous_colspan) {
|
||||
this.$element
|
||||
.find('thead tr:first th')
|
||||
|
@ -917,18 +945,18 @@ instance.web.ListView.List = instance.web.Class.extend( /** @lends instance.web.
|
|||
|
||||
this.$_element = $('<tbody>')
|
||||
.appendTo(document.body)
|
||||
.delegate('th.oe-record-selector', 'click', function (e) {
|
||||
.delegate('th.oe_list_record_selector', 'click', function (e) {
|
||||
e.stopPropagation();
|
||||
var selection = self.get_selection();
|
||||
$(self).trigger(
|
||||
'selected', [selection.ids, selection.records]);
|
||||
})
|
||||
.delegate('td.oe-record-delete button', 'click', function (e) {
|
||||
.delegate('td.oe_list_record_delete button', 'click', function (e) {
|
||||
e.stopPropagation();
|
||||
var $row = $(e.target).closest('tr');
|
||||
$(self).trigger('deleted', [[self.row_id($row)]]);
|
||||
})
|
||||
.delegate('td.oe-field-cell button', 'click', function (e) {
|
||||
.delegate('td.oe_list_field_cell button', 'click', function (e) {
|
||||
e.stopPropagation();
|
||||
var $target = $(e.currentTarget),
|
||||
field = $target.closest('td').data('field'),
|
||||
|
@ -1026,20 +1054,20 @@ instance.web.ListView.List = instance.web.Class.extend( /** @lends instance.web.
|
|||
}
|
||||
var cells = [];
|
||||
if (this.options.selectable) {
|
||||
cells.push('<th class="oe-record-selector"></td>');
|
||||
cells.push('<th class="oe_list_record_selector"></td>');
|
||||
}
|
||||
_(this.columns).each(function(column) {
|
||||
if (column.invisible === '1') {
|
||||
return;
|
||||
}
|
||||
if (column.tag === 'button') {
|
||||
cells.push('<td class="oe-button" title="' + column.string + '"> </td>');
|
||||
cells.push('<td class="oe_button" title="' + column.string + '"> </td>');
|
||||
} else {
|
||||
cells.push('<td title="' + column.string + '"> </td>');
|
||||
}
|
||||
});
|
||||
if (this.options.deletable) {
|
||||
cells.push('<td class="oe-record-delete"><button type="button" style="visibility: hidden"> </button></td>');
|
||||
cells.push('<td class="oe_list_record_delete"><button type="button" style="visibility: hidden"> </button></td>');
|
||||
}
|
||||
cells.unshift('<tr>');
|
||||
cells.push('</tr>');
|
||||
|
@ -1055,12 +1083,12 @@ instance.web.ListView.List = instance.web.Class.extend( /** @lends instance.web.
|
|||
* @returns {Object} object with the keys ``ids`` and ``records``, holding respectively the ids of all selected records and the records themselves.
|
||||
*/
|
||||
get_selection: function () {
|
||||
var result = {ids: [], records: []};
|
||||
if (!this.options.selectable) {
|
||||
return [];
|
||||
return result;
|
||||
}
|
||||
var records = this.records;
|
||||
var result = {ids: [], records: []};
|
||||
this.$current.find('th.oe-record-selector input:checked')
|
||||
this.$current.find('th.oe_list_record_selector input:checked')
|
||||
.closest('tr').each(function () {
|
||||
var record = records.get($(this).data('id'));
|
||||
result.ids.push(record.get('id'));
|
||||
|
@ -1102,17 +1130,7 @@ instance.web.ListView.List = instance.web.Class.extend( /** @lends instance.web.
|
|||
* @returns {$.Deferred} promise to the finalization of the reloading
|
||||
*/
|
||||
reload_record: function (record) {
|
||||
return this.dataset.read_ids(
|
||||
[record.get('id')],
|
||||
_.pluck(_(this.columns).filter(function (r) {
|
||||
return r.tag === 'field';
|
||||
}), 'name')
|
||||
).then(function (records) {
|
||||
_(records[0]).each(function (value, key) {
|
||||
record.set(key, value, {silent: true});
|
||||
});
|
||||
record.trigger('change', record);
|
||||
});
|
||||
return this.view.reload_record(record);
|
||||
},
|
||||
/**
|
||||
* Renders a list record to HTML
|
||||
|
@ -1237,7 +1255,7 @@ instance.web.ListView.Groups = instance.web.Class.extend( /** @lends instance.we
|
|||
});
|
||||
this.$row.children().last()
|
||||
.append($prev)
|
||||
.append('<span class="oe-pager-state"></span>')
|
||||
.append('<span class="oe_list_pager_state"></span>')
|
||||
.append($next);
|
||||
},
|
||||
open: function (point_insertion) {
|
||||
|
@ -1275,7 +1293,7 @@ instance.web.ListView.Groups = instance.web.Class.extend( /** @lends instance.we
|
|||
self.records.proxy(group.value).reset();
|
||||
delete self.children[group.value];
|
||||
}
|
||||
var child = self.children[group.value] = new instance.web.ListView.Groups(self.view, {
|
||||
var child = self.children[group.value] = new (self.view.options.GroupsType)(self.view, {
|
||||
records: self.records.proxy(group.value),
|
||||
options: self.options,
|
||||
columns: self.columns
|
||||
|
@ -1303,13 +1321,18 @@ instance.web.ListView.Groups = instance.web.Class.extend( /** @lends instance.we
|
|||
}
|
||||
placeholder.appendChild($row[0]);
|
||||
|
||||
var $group_column = $('<th class="oe-group-name">').appendTo($row);
|
||||
var $group_column = $('<th class="oe_list_group_name">').appendTo($row);
|
||||
// Don't fill this if group_by_no_leaf but no group_by
|
||||
if (group.grouped_on) {
|
||||
var row_data = {};
|
||||
row_data[group.grouped_on] = group;
|
||||
var group_column = _(self.columns).detect(function (column) {
|
||||
return column.id === group.grouped_on; });
|
||||
if (! group_column) {
|
||||
throw new Error(_.str.sprintf(
|
||||
_t("Grouping on field '%s' is not possible because that field does not appear in the list view."),
|
||||
group.grouped_on));
|
||||
}
|
||||
try {
|
||||
$group_column.html(instance.web.format_cell(
|
||||
row_data, group_column, {
|
||||
|
@ -1353,7 +1376,7 @@ instance.web.ListView.Groups = instance.web.Class.extend( /** @lends instance.we
|
|||
}
|
||||
});
|
||||
if (self.options.deletable) {
|
||||
$row.append('<td class="oe-group-pagination">');
|
||||
$row.append('<td class="oe_list_group_pagination">');
|
||||
}
|
||||
});
|
||||
return placeholder;
|
||||
|
@ -1378,7 +1401,7 @@ instance.web.ListView.Groups = instance.web.Class.extend( /** @lends instance.we
|
|||
},
|
||||
render_dataset: function (dataset) {
|
||||
var self = this,
|
||||
list = new instance.web.ListView.List(this, {
|
||||
list = new (this.view.options.ListType)(this, {
|
||||
options: this.options,
|
||||
columns: this.columns,
|
||||
dataset: dataset,
|
||||
|
@ -1404,11 +1427,11 @@ instance.web.ListView.Groups = instance.web.Class.extend( /** @lends instance.we
|
|||
} else {
|
||||
if (dataset.size() == records.length) {
|
||||
// only one page
|
||||
self.$row.find('td.oe-group-pagination').empty();
|
||||
self.$row.find('td.oe_list_group_pagination').empty();
|
||||
} else {
|
||||
var pages = Math.ceil(dataset.size() / limit);
|
||||
self.$row
|
||||
.find('.oe-pager-state')
|
||||
.find('.oe_list_pager_state')
|
||||
.text(_.str.sprintf(_t("%(page)d/%(page_count)d"), {
|
||||
page: page + 1,
|
||||
page_count: pages
|
||||
|
|
|
@ -125,29 +125,27 @@ openerp.web.list_editable = function (instance) {
|
|||
* Checks if a record is being edited, and if so cancels it
|
||||
*/
|
||||
cancel_pending_edition: function () {
|
||||
var self = this, cancelled = $.Deferred();
|
||||
var self = this, cancelled;
|
||||
if (!this.edition) {
|
||||
cancelled.resolve();
|
||||
return cancelled.promise();
|
||||
return $.when();
|
||||
}
|
||||
|
||||
if (this.edition_id != null) {
|
||||
this.reload_record(self.records.get(this.edition_id)).then(function () {
|
||||
cancelled.resolve();
|
||||
});
|
||||
if (this.edition_id) {
|
||||
cancelled = this.reload_record(this.records.get(this.edition_id));
|
||||
} else {
|
||||
cancelled.resolve();
|
||||
cancelled = $.when();
|
||||
}
|
||||
cancelled.then(function () {
|
||||
self.view.unpad_columns();
|
||||
self.edition_form.destroy();
|
||||
self.edition_form.$element.remove();
|
||||
delete self.edition_form;
|
||||
self.dataset.index = null;
|
||||
delete self.edition_id;
|
||||
delete self.edition;
|
||||
});
|
||||
this.pad_table_to(5);
|
||||
return cancelled.promise();
|
||||
return cancelled;
|
||||
},
|
||||
/**
|
||||
* Adapts this list's view description to be suitable to the inner form
|
||||
|
@ -171,24 +169,29 @@ openerp.web.list_editable = function (instance) {
|
|||
var self = this;
|
||||
switch (e.which) {
|
||||
case KEY_RETURN:
|
||||
this.save_row().then(function (result) {
|
||||
if (result.created) {
|
||||
self.new_record();
|
||||
return;
|
||||
}
|
||||
$(e.target).blur();
|
||||
e.preventDefault();
|
||||
//e.stopImmediatePropagation();
|
||||
setTimeout(function () {
|
||||
self.save_row().then(function (result) {
|
||||
if (result.created) {
|
||||
self.new_record();
|
||||
return;
|
||||
}
|
||||
|
||||
var next_record_id,
|
||||
next_record = self.records.at(
|
||||
self.records.indexOf(result.edited_record) + 1);
|
||||
if (next_record) {
|
||||
next_record_id = next_record.get('id');
|
||||
self.dataset.index = _(self.dataset.ids)
|
||||
.indexOf(next_record_id);
|
||||
} else {
|
||||
self.dataset.index = 0;
|
||||
next_record_id = self.records.at(0).get('id');
|
||||
}
|
||||
self.edit_record(next_record_id);
|
||||
var next_record_id,
|
||||
next_record = self.records.at(
|
||||
self.records.indexOf(result.edited_record) + 1);
|
||||
if (next_record) {
|
||||
next_record_id = next_record.get('id');
|
||||
self.dataset.index = _(self.dataset.ids)
|
||||
.indexOf(next_record_id);
|
||||
} else {
|
||||
self.dataset.index = 0;
|
||||
next_record_id = self.records.at(0).get('id');
|
||||
}
|
||||
self.edit_record(next_record_id);
|
||||
}, 0);
|
||||
});
|
||||
break;
|
||||
case KEY_ESCAPE:
|
||||
|
@ -198,15 +201,16 @@ openerp.web.list_editable = function (instance) {
|
|||
},
|
||||
render_row_as_form: function (row) {
|
||||
var self = this;
|
||||
this.cancel_pending_edition().then(function () {
|
||||
return this.ensure_saved().pipe(function () {
|
||||
var record_id = $(row).data('id');
|
||||
var $new_row = $('<tr>', {
|
||||
id: _.uniqueId('oe-editable-row-'),
|
||||
'data-id': record_id,
|
||||
'class': (row ? $(row).attr('class') : '') + ' oe_form',
|
||||
'class': (row ? $(row).attr('class') : ''),
|
||||
click: function (e) {e.stopPropagation();}
|
||||
})
|
||||
.delegate('button.oe-edit-row-save', 'click', function () {
|
||||
.addClass('oe_form oe_form_container')
|
||||
.delegate('button.oe_list_edit_row_save', 'click', function () {
|
||||
self.save_row();
|
||||
})
|
||||
.delegate('button', 'keyup', function (e) {
|
||||
|
@ -214,7 +218,13 @@ openerp.web.list_editable = function (instance) {
|
|||
})
|
||||
.keyup(function () {
|
||||
return self.on_row_keyup.apply(self, arguments); })
|
||||
.keydown(function (e) { e.stopPropagation(); });
|
||||
.keydown(function (e) { e.stopPropagation(); })
|
||||
.keypress(function (e) {
|
||||
if (e.which === KEY_RETURN) {
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
||||
if (row) {
|
||||
$new_row.replaceAll(row);
|
||||
} else if (self.options.editable) {
|
||||
|
@ -236,17 +246,19 @@ openerp.web.list_editable = function (instance) {
|
|||
}
|
||||
self.edition = true;
|
||||
self.edition_id = record_id;
|
||||
$new_row.addClass("oe_form_container");
|
||||
self.edition_form = new instance.web.ListEditableFormView(self.view, self.dataset, false);
|
||||
self.edition_form.$element = $new_row;
|
||||
self.edition_form.editable_list = self;
|
||||
// HO HO
|
||||
// empty
|
||||
$.when(self.edition_form.on_loaded(self.get_form_fields_view())).then(function () {
|
||||
// put in $.when just in case FormView.on_loaded becomes asynchronous
|
||||
self.dataset.index = _(self.dataset.ids).indexOf(record_id);
|
||||
if (self.dataset.index === -1) {
|
||||
self.dataset.index = null;
|
||||
}
|
||||
self.edition_form = _.extend(new instance.web.ListEditableFormView(self.view, self.dataset, false), {
|
||||
$element: $new_row,
|
||||
editable_list: self
|
||||
});
|
||||
// put in $.when just in case FormView.on_loaded becomes asynchronous
|
||||
return $.when(self.edition_form.on_loaded(self.get_form_fields_view())).then(function () {
|
||||
$new_row.find('> td')
|
||||
.end()
|
||||
.find('td:last').removeClass('oe-field-cell').end();
|
||||
.find('td:last').removeClass('oe_list_field_cell').end();
|
||||
// pad in case of groupby
|
||||
_(self.columns).each(function (column) {
|
||||
if (column.meta) {
|
||||
|
@ -299,7 +311,7 @@ openerp.web.list_editable = function (instance) {
|
|||
*/
|
||||
save_row: function () {
|
||||
//noinspection JSPotentiallyInvalidConstructorUsage
|
||||
var self = this, done = $.Deferred();
|
||||
var self = this;
|
||||
return this.edition_form
|
||||
.do_save(null, this.options.editable === 'top')
|
||||
.pipe(function (result) {
|
||||
|
@ -319,18 +331,24 @@ openerp.web.list_editable = function (instance) {
|
|||
created: result.created || false,
|
||||
edited_record: edited_record
|
||||
};
|
||||
}, null);
|
||||
}, null);
|
||||
});
|
||||
});
|
||||
},
|
||||
/**
|
||||
* If the current list is being edited, ensures it's saved
|
||||
*/
|
||||
ensure_saved: function () {
|
||||
if (this.edition) {
|
||||
return this.save_row();
|
||||
// kinda-hack-ish: if the user has entered data in a field,
|
||||
// oe_form_dirty will be set on the form so save, otherwise
|
||||
// discard the current (entirely empty) line
|
||||
if (this.edition_form.$element.is('.oe_form_dirty')) {
|
||||
return this.save_row();
|
||||
}
|
||||
return this.cancel_pending_edition();
|
||||
}
|
||||
//noinspection JSPotentiallyInvalidConstructorUsage
|
||||
return $.Deferred().resolve().promise();
|
||||
return $.when();
|
||||
},
|
||||
/**
|
||||
* Cancels the edition of the row for the current dataset index
|
||||
|
@ -349,7 +367,6 @@ openerp.web.list_editable = function (instance) {
|
|||
[record_id, this.dataset]);
|
||||
},
|
||||
new_record: function () {
|
||||
this.dataset.index = null;
|
||||
this.render_row_as_form();
|
||||
},
|
||||
render_record: function (record) {
|
||||
|
@ -420,8 +437,7 @@ openerp.web.list_editable = function (instance) {
|
|||
w.appendTo($td);
|
||||
$td.appendTo($element);
|
||||
});
|
||||
save = QWeb.render('ListView.row.save');
|
||||
$(save).appendTo($element);
|
||||
$(QWeb.render('ListView.row.save')).appendTo($element);
|
||||
},
|
||||
});
|
||||
};
|
||||
|
|
|
@ -84,6 +84,7 @@ instance.web.TreeView = instance.web.View.extend(/** @lends instance.web.TreeVie
|
|||
'fields': this.fields,
|
||||
'toolbar': has_toolbar
|
||||
}));
|
||||
this.$element.addClass(this.fields_view.arch.attrs['class']);
|
||||
|
||||
this.dataset.read_slice(this.fields_list()).then(function(records) {
|
||||
if (!has_toolbar) {
|
||||
|
@ -179,7 +180,7 @@ instance.web.TreeView = instance.web.View.extend(/** @lends instance.web.TreeVie
|
|||
}
|
||||
});
|
||||
if (is_loaded === 0) {
|
||||
if (!$this.parent().hasClass('oe-open')) {
|
||||
if (!$this.parent().hasClass('oe_open')) {
|
||||
self.getdata(record_id, children_ids);
|
||||
}
|
||||
} else {
|
||||
|
@ -208,7 +209,7 @@ instance.web.TreeView = instance.web.View.extend(/** @lends instance.web.TreeVie
|
|||
});
|
||||
|
||||
if ($curr_node.length) {
|
||||
$curr_node.addClass('oe-open');
|
||||
$curr_node.addClass('oe_open');
|
||||
$curr_node.after(children_rows);
|
||||
} else {
|
||||
self.$element.find('tbody').html(children_rows);
|
||||
|
@ -247,11 +248,11 @@ instance.web.TreeView = instance.web.View.extend(/** @lends instance.web.TreeVie
|
|||
// show & hide the contents
|
||||
showcontent: function (record_id, show) {
|
||||
this.$element.find('#treerow_' + record_id)
|
||||
.toggleClass('oe-open', show);
|
||||
.toggleClass('oe_open', show);
|
||||
|
||||
_(this.records[record_id][this.children_field]).each(function (child_id) {
|
||||
var $child_row = this.$element.find('#treerow_' + child_id);
|
||||
if ($child_row.hasClass('oe-open')) {
|
||||
if ($child_row.hasClass('oe_open')) {
|
||||
this.showcontent(child_id, false);
|
||||
}
|
||||
$child_row.toggle(show);
|
||||
|
|
|
@ -36,6 +36,7 @@ instance.web.ActionManager = instance.web.Widget.extend({
|
|||
do_push_state: function(state) {
|
||||
if (this.getParent() && this.getParent().do_push_state) {
|
||||
if (this.inner_action) {
|
||||
state['title'] = this.inner_action.name;
|
||||
state['model'] = this.inner_action.res_model;
|
||||
if (this.inner_action.id) {
|
||||
state['action_id'] = this.inner_action.id;
|
||||
|
@ -135,7 +136,7 @@ instance.web.ActionManager = instance.web.Widget.extend({
|
|||
};
|
||||
}
|
||||
if (action.target === 'new') {
|
||||
if (this.dialog == null) {
|
||||
if (this.dialog === null) {
|
||||
this.dialog = new instance.web.Dialog(this, { width: '80%' });
|
||||
if(on_close)
|
||||
this.dialog.on_close.add(on_close);
|
||||
|
@ -143,8 +144,9 @@ instance.web.ActionManager = instance.web.Widget.extend({
|
|||
this.dialog_viewmanager.destroy();
|
||||
}
|
||||
this.dialog.dialog_title = action.name;
|
||||
this.dialog_viewmanager = new instance.web.ViewManagerAction(this, action);
|
||||
this.dialog_viewmanager = new instance.web.ViewManagerAction(this.dialog, action);
|
||||
this.dialog_viewmanager.appendTo(this.dialog.$element);
|
||||
this.dialog_viewmanager.$element.addClass("oe_view_manager_" + action.target);
|
||||
this.dialog.open();
|
||||
} else {
|
||||
this.dialog_stop();
|
||||
|
@ -157,7 +159,7 @@ instance.web.ActionManager = instance.web.Widget.extend({
|
|||
this.inner_action = action;
|
||||
this.inner_viewmanager = new instance.web.ViewManagerAction(this, action);
|
||||
this.inner_viewmanager.appendTo(this.$element);
|
||||
this.inner_viewmanager.$element.addClass("oe_view_manager_global");
|
||||
this.inner_viewmanager.$element.addClass("oe_view_manager_" + action.target);
|
||||
}
|
||||
},
|
||||
ir_actions_act_window_close: function (action, on_closed) {
|
||||
|
@ -861,13 +863,13 @@ instance.web.Sidebar = instance.web.Widget.extend({
|
|||
});
|
||||
self.items['files'] = attachments;
|
||||
self.redraw();
|
||||
this.$('.oe_sidebar_add_attachment .oe-binary-file').change(this.on_attachment_changed);
|
||||
this.$('.oe_sidebar_add_attachment .oe_form_binary_file').change(this.on_attachment_changed);
|
||||
this.$element.find('.oe_sidebar_delete_item').click(this.on_attachment_delete);
|
||||
},
|
||||
on_attachment_changed: function(e) {
|
||||
var $e = $(e.target);
|
||||
if ($e.val() !== '') {
|
||||
this.$element.find('form.oe-binary-form').submit();
|
||||
this.$element.find('form.oe_form_binary_form').submit();
|
||||
$e.parent().find('input[type=file]').prop('disabled', true);
|
||||
$e.parent().find('button').prop('disabled', true).find('img, span').toggle();
|
||||
this.$('.oe_sidebar_add_attachment span').text(_t('Uploading...'));
|
||||
|
@ -894,8 +896,8 @@ instance.web.TranslateDialog = instance.web.Dialog.extend({
|
|||
// TODO fme: should add the language to fields_view_get because between the fields view get
|
||||
// and the moment the user opens the translation dialog, the user language could have been changed
|
||||
this.view_language = view.session.user_context.lang;
|
||||
this['on_button' + _t("Save")] = this.on_button_Save;
|
||||
this['on_button' + _t("Close")] = this.on_button_Close;
|
||||
this['on_button_' + _t("Save")] = this.on_btn_save;
|
||||
this['on_button_' + _t("Close")] = this.on_btn_close;
|
||||
this._super(view, {
|
||||
width: '80%',
|
||||
height: '80%'
|
||||
|
@ -976,7 +978,7 @@ instance.web.TranslateDialog = instance.web.Dialog.extend({
|
|||
}
|
||||
});
|
||||
},
|
||||
on_button_Save: function() {
|
||||
on_btn_save: function() {
|
||||
var trads = {},
|
||||
self = this,
|
||||
trads_mutex = new $.Mutex();
|
||||
|
@ -999,7 +1001,7 @@ instance.web.TranslateDialog = instance.web.Dialog.extend({
|
|||
});
|
||||
this.close();
|
||||
},
|
||||
on_button_Close: function() {
|
||||
on_btn_close: function() {
|
||||
this.close();
|
||||
}
|
||||
});
|
||||
|
|
|
@ -27,9 +27,9 @@
|
|||
</t>
|
||||
|
||||
<t t-name="CrashManager.warning">
|
||||
<table cellspacing="0" cellpadding="0" border="0" class="oe-dialog-warning">
|
||||
<table cellspacing="0" cellpadding="0" border="0" class="oe_dialog_warning">
|
||||
<tr>
|
||||
<td><img t-att-src='_s + "/web/static/src/img/warning.png"' class="oe-dialog-icon"/></td>
|
||||
<td><img t-att-src='_s + "/web/static/src/img/warning.png"' class="oe_dialog_icon"/></td>
|
||||
<td>
|
||||
<p>
|
||||
<t t-js="d">
|
||||
|
@ -537,7 +537,7 @@
|
|||
<t t-name="TreeView">
|
||||
<select t-if="toolbar" style="width: 30%">
|
||||
</select>
|
||||
<table class="oe-treeview-table">
|
||||
<table class="oe_tree_table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th t-foreach="fields_view" t-as="field"
|
||||
|
@ -557,7 +557,7 @@
|
|||
t-att-data-id="record.id" t-att-data-level="level + 1">
|
||||
<t t-set="children" t-value="record[children_field]"/>
|
||||
<t t-set="class" t-value="children and children.length ? 'treeview-tr' : 'treeview-td'"/>
|
||||
<t t-set="rank" t-value="'oe-treeview-first'"/>
|
||||
<t t-set="rank" t-value="'oe_tree_first'"/>
|
||||
<t t-set="style" t-value="'background-position: ' + 19*level + 'px; padding-left: ' + 19*level + 'px;'"/>
|
||||
|
||||
<td t-foreach="fields_view" t-as="field"
|
||||
|
@ -576,7 +576,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
|
||||
<table t-name="ListView" class="oe-listview-content">
|
||||
<table t-name="ListView" class="oe_list_content">
|
||||
<t t-set="columns_count" t-value="visible_columns.length + (options.selectable ? 1 : 0) + (options.deletable ? 1 : 0)"/>
|
||||
<thead>
|
||||
<tr t-if="(!!options.action_buttons and !options.$buttons) or (!!options.pager and !options.$pager)">
|
||||
|
@ -586,18 +586,18 @@
|
|||
<div class="oe_list_pager"/>
|
||||
</th>
|
||||
</tr>
|
||||
<tr t-if="options.header" class="oe-listview-header-columns">
|
||||
<tr t-if="options.header" class="oe_list_header_columns">
|
||||
<t t-foreach="columns" t-as="column">
|
||||
<th t-if="column.meta">
|
||||
<t t-esc="column.string"/>
|
||||
</th>
|
||||
</t>
|
||||
<th t-if="options.selectable" width="1" >
|
||||
<input type="checkbox" class="all-record-selector"/>
|
||||
<input type="checkbox" class="oe_list_record_selector"/>
|
||||
</th>
|
||||
<t t-foreach="columns" t-as="column">
|
||||
<th t-if="!column.meta and column.invisible !== '1'" t-att-data-id="column.id"
|
||||
t-att-class="((options.sortable and column.tag !== 'button') ? 'oe-sortable' : null)">
|
||||
t-att-class="((options.sortable and column.tag !== 'button') ? 'oe_sortable' : null)">
|
||||
<t t-if="column.tag !== 'button'"><t t-esc="column.string"/></t>
|
||||
</th>
|
||||
</t>
|
||||
|
@ -607,7 +607,7 @@
|
|||
<tfoot>
|
||||
<tr>
|
||||
<td t-if="options.selectable"/>
|
||||
<td t-foreach="aggregate_columns" t-as="column" class="oe-list-footer oe_number"
|
||||
<td t-foreach="aggregate_columns" t-as="column" class="oe_list_footer oe_number"
|
||||
t-att-data-field="column.id" t-att-title="column.label">
|
||||
</td>
|
||||
<td t-if="options.deletable"/>
|
||||
|
@ -619,13 +619,15 @@
|
|||
<button type="button" class="oe_button oe_list_add oe_highlight">
|
||||
<t t-esc="widget.options.addable"/>
|
||||
</button>
|
||||
<span class="oe_fade">or</span> <a href="#" class="oe_bold oe_list_button_import">Import</a>
|
||||
<t t-if="widget.options.import_enabled">
|
||||
<span class="oe_fade">or</span> <a href="#" class="oe_bold oe_list_button_import">Import</a>
|
||||
</t>
|
||||
</t>
|
||||
</div>
|
||||
<t t-name="ListView.pager">
|
||||
<div class="oe_list_pager" t-att-colspan="widget.columns_count">
|
||||
<t t-if="!widget.no_leaf and widget.options.pager !== false" t-call="ViewPager">
|
||||
<span class="oe-pager-state">
|
||||
<span class="oe_list_pager_state">
|
||||
</span>
|
||||
</t>
|
||||
</div>
|
||||
|
@ -644,7 +646,7 @@
|
|||
|
||||
</td>
|
||||
</t>
|
||||
<th t-if="options.selectable" class="oe-record-selector" width="1">
|
||||
<th t-if="options.selectable" class="oe_list_record_selector" width="1">
|
||||
<t t-set="checked" t-value="options.select_view_id == record.get('id') ? 'checked' : null"/>
|
||||
<input t-if="options.radio" type="radio" name="radiogroup" t-att-checked="checked"/>
|
||||
<input t-if="!options.radio" type="checkbox" name="radiogroup" t-att-checked="checked"/>
|
||||
|
@ -652,20 +654,20 @@
|
|||
<t t-foreach="columns" t-as="column">
|
||||
<t t-set="align" t-value="column.type === 'integer' or column.type == 'float'"/>
|
||||
<td t-if="!column.meta and column.invisible !== '1'" t-att-title="column.help"
|
||||
t-att-class="'oe-field-cell' + (align ? ' oe_number' : '')
|
||||
+ (column.tag === 'button' ? ' oe-button' : '')"
|
||||
t-att-class="'oe_list_field_cell' + (align ? ' oe_number' : '')
|
||||
+ (column.tag === 'button' ? ' oe_button' : '')"
|
||||
t-att-data-field="column.id">
|
||||
<t t-raw="render_cell(record, column)"/>
|
||||
</td>
|
||||
</t>
|
||||
<td t-if="options.deletable" class='oe-record-delete' width="1">
|
||||
<td t-if="options.deletable" class='oe_list_record_delete' width="1">
|
||||
<button type="button" name="delete" class="oe_i">d</button>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<t t-name="ListView.row.save">
|
||||
<td>
|
||||
<button class='oe_i oe-edit-row-save' type='button' name='save'>S</button>
|
||||
<button class='oe_i oe_list_edit_row_save' type='button' name='save'/>
|
||||
</td>
|
||||
</t>
|
||||
|
||||
|
@ -684,7 +686,7 @@
|
|||
<button type="button" class="oe_button oe_form_button_create">Create</button>
|
||||
</span>
|
||||
<span class="oe_form_buttons_edit">
|
||||
<button type="button" class="oe_button oe_form_button_save">Save</button> <span class="oe_fade">or</span> <a href="#" class="oe_bold oe_form_button_cancel">Discard</a>
|
||||
<button type="button" class="oe_button oe_form_button_save oe_highlight">Save</button> <span class="oe_fade">or</span> <a href="#" class="oe_bold oe_form_button_cancel">Discard</a>
|
||||
</span>
|
||||
</t>
|
||||
</div>
|
||||
|
@ -874,7 +876,7 @@
|
|||
</t>
|
||||
<t t-name="FieldEmail">
|
||||
<span class="oe_form_field oe_form_field_email oe_form_field_with_button">
|
||||
<a t-if="widget.get('effective_readonly')" href="#" class="oe_form_uri"/>
|
||||
<a t-if="widget.get('effective_readonly')" href="#" class="oe_form_uri" target="_blank"/>
|
||||
<t t-if="!widget.get('effective_readonly')">
|
||||
<div>
|
||||
<input type="text"
|
||||
|
@ -904,7 +906,7 @@
|
|||
class="field_text"
|
||||
t-att-tabindex="widget.node.attrs.tabindex"
|
||||
t-att-autofocus="widget.node.attrs.autofocus"
|
||||
t-att-placeholder="widget.node.attrs.placeholder"
|
||||
t-att-placeholder="! widget.get('effective_readonly') ? widget.node.attrs.placeholder : ''"
|
||||
></textarea>
|
||||
<img class="oe_field_translate oe_input_icon" t-if="widget.field.translate"
|
||||
t-att-src='_s + "/web/static/src/img/icons/terp-translate.png"' width="16" height="16" border="0"/>
|
||||
|
@ -945,7 +947,7 @@
|
|||
<span class="oe_form_field oe_form_field_many2one oe_form_field_with_button">
|
||||
<a t-if="widget.get('effective_readonly')" href="#" class="oe_form_uri"/>
|
||||
<t t-if="!widget.get('effective_readonly')">
|
||||
<button class="oe_button oe-m2o-cm-button" title="Open Resource">
|
||||
<button class="oe_button oe_m2o_cm_button" title="Open Resource">
|
||||
<img t-att-src='_s + "/web/static/src/img/icons/terp-folder-yellow.png"'/>
|
||||
</button>
|
||||
<div>
|
||||
|
@ -955,7 +957,7 @@
|
|||
t-att-autofocus="widget.node.attrs.autofocus"
|
||||
t-att-placeholder="widget.node.attrs.placeholder"
|
||||
/>
|
||||
<span class="oe-m2o-drop-down-button">
|
||||
<span class="oe_m2o_drop_down_button">
|
||||
<img t-att-src='_s + "/web/static/src/img/down-arrow.png"'/>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -965,7 +967,8 @@
|
|||
<t t-name="FieldMany2ManyTags">
|
||||
<div class="oe_form_field oe_form_field_many2manytags">
|
||||
<t t-if="! widget.get('effective_readonly')">
|
||||
<textarea rows="1" style="width: 100%"></textarea>
|
||||
<textarea rows="1" style="width: 100%"
|
||||
t-att-placeholder="widget.node.attrs.placeholder"></textarea>
|
||||
</t>
|
||||
</div>
|
||||
</t>
|
||||
|
@ -1005,17 +1008,17 @@
|
|||
<span></span>
|
||||
</span>
|
||||
</t>
|
||||
<t t-name="FieldStatus">
|
||||
<ul class="oe_form_steps"/>
|
||||
</t>
|
||||
<t t-name="FieldStatus.content">
|
||||
<ul class="oe_form_steps">
|
||||
<t t-set="size" t-value="widget.to_show.length"/>
|
||||
<t t-foreach="_.range(size)" t-as="i">
|
||||
<li t-att-class="widget.to_show[i][0] === widget.selected_value ? 'oe_form_steps_active' : ''">
|
||||
<span><t t-esc="widget.to_show[i][1]"/></span>
|
||||
<img t-att-src='_s + "/web/static/src/img/form_steps.png"' class="oe_form_steps_arrow" t-if="i < size - 1"/>
|
||||
</li>
|
||||
</t>
|
||||
</ul>
|
||||
<div class="oe_clear"/>
|
||||
<t t-set="size" t-value="widget.to_show.length"/>
|
||||
<t t-foreach="_.range(size)" t-as="i">
|
||||
<li t-att-class="widget.to_show[i][0] === widget.selected_value ? 'oe_form_steps_active' : ''">
|
||||
<span><t t-esc="widget.to_show[i][1]"/></span>
|
||||
<img t-att-src='_s + "/web/static/src/img/form_steps.png"' class="oe_form_steps_arrow" t-if="i < size - 1"/>
|
||||
</li>
|
||||
</t>
|
||||
</t>
|
||||
<t t-name="FieldBinaryImage">
|
||||
<span class="oe_form_field oe_form_field_image">
|
||||
|
@ -1026,10 +1029,10 @@
|
|||
<img t-att-src='_s + "/web/static/src/img/icons/STOCK_DIRECTORY.png"'/>
|
||||
</button>
|
||||
</t>
|
||||
<button class="oe_button oe-binary-file-clear" type="button" title="Clear">
|
||||
<button class="oe_button oe_form_binary_file_clear" type="button" title="Clear">
|
||||
<img t-att-src='_s + "/web/static/src/img/icons/STOCK_MISSING_IMAGE.png"'/>
|
||||
</button>
|
||||
<div class="oe-binary-progress" style="display: none">
|
||||
<div class="oe_form_binary_progress" style="display: none">
|
||||
<img t-att-src='_s + "/web/static/src/img/throbber.gif"' width="16" height="16"/>
|
||||
<b>Uploading ...</b>
|
||||
</div>
|
||||
|
@ -1056,7 +1059,7 @@
|
|||
class="field_binary"
|
||||
/>
|
||||
</td>
|
||||
<td class="oe-binary" nowrap="true">
|
||||
<td class="oe_form_binary" nowrap="true">
|
||||
<table cellspacing="0" cellpadding="0" border="0">
|
||||
<tr>
|
||||
<td>
|
||||
|
@ -1070,15 +1073,15 @@
|
|||
</t>
|
||||
</td>
|
||||
<td>
|
||||
<a class="oe_binary_file_save_data">
|
||||
<button class="oe_button oe_binary_file_save" type="button" title="Save As">
|
||||
<a class="oe_form_binary_file_save_data">
|
||||
<button class="oe_button oe_form_binary_file_save" type="button" title="Save As">
|
||||
<img t-att-src='_s + "/web/static/src/img/icons/gtk-save.png"'/>
|
||||
<span>Save As</span>
|
||||
</button>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<button class="oe_button oe-binary-file-clear" type="button" title="Clear">
|
||||
<button class="oe_button oe_form_binary_file_clear" type="button" title="Clear">
|
||||
<img t-att-src='_s + "/web/static/src/img/icons/STOCK_MISSING_IMAGE.png"'/>
|
||||
<span>Clear</span>
|
||||
</button>
|
||||
|
@ -1086,7 +1089,7 @@
|
|||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="oe-binary-progress" style="display: none" nowrap="true">
|
||||
<td class="oe_form_binary_progress" style="display: none" nowrap="true">
|
||||
<img t-att-src='_s + "/web/static/src/img/throbber.gif"' width="16" height="16"/>
|
||||
<b>Uploading ...</b>
|
||||
</td>
|
||||
|
@ -1101,12 +1104,12 @@
|
|||
</t>
|
||||
<t t-name="HiddenInputFile">
|
||||
<div t-attf-class="oe_hidden_input_file #{fileupload_class or ''}" t-att-style="fileupload_style">
|
||||
<form class="oe-binary-form" t-att-target="fileupload_id"
|
||||
<form class="oe_form_binary_form" t-att-target="fileupload_id"
|
||||
method="post" enctype="multipart/form-data" t-att-action="fileupload_action || '/web/binary/upload'">
|
||||
<input type="hidden" name="session_id" value=""/>
|
||||
<input type="hidden" name="callback" t-att-value="fileupload_id"/>
|
||||
<t t-raw="__content__"/>
|
||||
<input type="file" class="oe-binary-file" name="ufile"/>
|
||||
<input type="file" class="oe_form_binary_file" name="ufile"/>
|
||||
</form>
|
||||
<iframe t-att-id="fileupload_id" t-att-name="fileupload_id" style="display: none"/>
|
||||
</div>
|
||||
|
@ -1201,7 +1204,7 @@
|
|||
<div t-name="SearchView" class="oe_searchview">
|
||||
<div class="oe_searchview_facets"/>
|
||||
<div class="oe_searchview_clear"/>
|
||||
<div class="oe_searchview_unfold_drawer"/>
|
||||
<div class="oe_searchview_unfold_drawer" title="Advanced Search..."/>
|
||||
<div class="oe_searchview_drawer"/>
|
||||
</div>
|
||||
|
||||
|
@ -1225,7 +1228,7 @@
|
|||
</span>
|
||||
|
||||
<t t-name="SearchView.managed-filters">
|
||||
<option class="oe-filters-title" value="">Filters</option>
|
||||
<option class="oe_search_filters_title" value="">Filters</option>
|
||||
<optgroup label="-- Filters --">
|
||||
<t t-foreach="filters" t-as="filter">
|
||||
<option t-attf-value="get:#{filter_index}"
|
||||
|
@ -1238,7 +1241,6 @@
|
|||
<optgroup label="-- Actions --">
|
||||
<option value="advanced_filter">Add Advanced Filter</option>
|
||||
<option value="save_filter">Save Filter</option>
|
||||
<option value="add_to_dashboard">Add to Dashboard</option>
|
||||
<option value="manage_filters">Manage Filters</option>
|
||||
</optgroup>
|
||||
</t>
|
||||
|
@ -1249,18 +1251,9 @@
|
|||
<p>(Any existing filter with the same name will be replaced)</p>
|
||||
</div>
|
||||
</t>
|
||||
<t t-name="SearchView.add_to_dashboard">
|
||||
<div>
|
||||
<p><b>Select Dashboard to add this filter to:</b></p>
|
||||
<select style="width: 100%; margin-right: 1em;">
|
||||
<option t-foreach="dashboards" t-as="menu" t-att-value="menu.id" t-att-selected="(menu.id == selected_menu_id) || undefined"><t t-esc="menu.name"/></option>
|
||||
</select>
|
||||
<p><b>Title of new Dashboard item:</b></p>
|
||||
<input type="text" style="width: 100%; margin-right: 1em;"/>
|
||||
</div>
|
||||
</t>
|
||||
|
||||
<t t-name="SearchView.render_lines">
|
||||
<table class="oe-searchview-render-line" border="0" cellspacing="0" cellpadding="0"
|
||||
<table class="oe_search_render_line" border="0" cellspacing="0" cellpadding="0"
|
||||
t-foreach="lines" t-as="line">
|
||||
<tr>
|
||||
<td t-foreach="line" t-as="widget" class="oe_searchview_field">
|
||||
|
@ -1397,6 +1390,20 @@
|
|||
<div>
|
||||
</div>
|
||||
</div>
|
||||
<div t-name="SearchView.addtodashboard" class="oe_searchview_dashboard">
|
||||
<h4>Add to Dashboard</h4>
|
||||
<form>
|
||||
<input placeholder ="Title of new Dashboard item" title = "Title of new Dashboard item" type="text"/>
|
||||
<button class="oe_apply" type="submit">save</button>
|
||||
</form>
|
||||
</div>
|
||||
<t t-name="SearchView.addtodashboard.selection">
|
||||
<select title = "Select Dashboard to add this filter to">
|
||||
<t t-foreach="selections" t-as="element">
|
||||
<option t-att-value="element.id || element.res_id "><t t-esc="element.name"/></option>
|
||||
</t>
|
||||
</select>
|
||||
</t>
|
||||
<div t-name="SearchView.advanced" class="oe_searchview_advanced">
|
||||
<h4>Advanced Search</h4>
|
||||
<form>
|
||||
|
@ -1411,8 +1418,7 @@
|
|||
<li>
|
||||
<select class="searchview_extended_prop_field">
|
||||
<t t-foreach="widget.attrs.fields" t-as="field">
|
||||
<option t-if="typeof field.store === 'undefined' || field.store || field.fnct_search"
|
||||
t-att="{'selected': field === widget.attrs.selected ? 'selected' : null}"
|
||||
<option t-att="{'selected': field === widget.attrs.selected ? 'selected' : null}"
|
||||
t-att-value="field.name">
|
||||
<t t-esc="field.string"/>
|
||||
</option>
|
||||
|
@ -1447,16 +1453,16 @@
|
|||
<table style="width:100%">
|
||||
<tr style="width:100%">
|
||||
<td style="width:100%">
|
||||
<div class="oe-select-create-popup-view-search" style="width:100%"></div>
|
||||
<div class="oe_popup_search" style="width:100%"></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="width:100%">
|
||||
<td style="width:100%">
|
||||
<div class="oe-select-create-popup-view-list" style="width:100%"></div>
|
||||
<div class="oe_popup_list" style="width:100%"></div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="oe-form-view-popup-form-placeholder oe-select-create-popup-view-form" style="width:100%"></div>
|
||||
<div class="oe_popup_form" style="width:100%"></div>
|
||||
</div>
|
||||
</t>
|
||||
<t t-name="SelectCreatePopup.search.buttons">
|
||||
|
@ -1479,7 +1485,7 @@
|
|||
missing columns
|
||||
-->
|
||||
<t t-jquery="> :last" t-operation="after">
|
||||
<td t-if="edited and !options.deletable" class="oe-listview-padding"/>
|
||||
<td t-if="edited and !options.deletable" class="oe_list_padding"/>
|
||||
</t>
|
||||
</t>
|
||||
|
||||
|
@ -1495,7 +1501,7 @@
|
|||
<tr>
|
||||
<td width="16px" t-att-style="'background-position: ' + 20*rec.level + 'px; padding-left: ' + 20*rec.level + 'px'">
|
||||
<img t-if="rec.child_id.length" t-att-id="'parentimg-' + rec.id"
|
||||
src="/web/static/src/img/collapse.gif" width="16" height="16" border="0"/>
|
||||
t-att-src='_s + "/web/static/src/img/collapse.gif"' width="16" height="16" border="0"/>
|
||||
</td>
|
||||
<td style="cursor: pointer;">
|
||||
<a style="text-decoration:none" href="javascript:void(0);">
|
||||
|
@ -1507,22 +1513,22 @@
|
|||
</td>
|
||||
<td width="2%">
|
||||
<img t-if="rec.att_list.length"
|
||||
id="side-add" src="/web/static/src/img/icons/gtk-add.png" style="cursor: pointer;"/>
|
||||
id="side-add" t-att-src='_s + "/web/static/src/img/icons/gtk-add.png"' style="cursor: pointer;"/>
|
||||
</td>
|
||||
<td width="2%">
|
||||
<img id="side-remove" src="/web/static/src/img/icons/gtk-remove.png" style="cursor: pointer;"/>
|
||||
<img id="side-remove" t-att-src='_s + "/web/static/src/img/icons/gtk-remove.png"' style="cursor: pointer;"/>
|
||||
</td>
|
||||
<td width="2%">
|
||||
<img t-if="rec.att_list.length and !_.include(no_properties, rec.att_list[0])"
|
||||
id="side-edit" src="/web/static/src/img/icons/gtk-edit.png" style="cursor: pointer;"/>
|
||||
id="side-edit" t-att-src='_s + "/web/static/src/img/icons/gtk-edit.png"' style="cursor: pointer;"/>
|
||||
</td>
|
||||
<td width="2%">
|
||||
<img t-if="rec.att_list.length"
|
||||
id="side-up" src="/web/static/src/img/icons/gtk-go-up.png" style="cursor: pointer;"/>
|
||||
id="side-up" t-att-src='_s + "/web/static/src/img/icons/gtk-go-up.png"' style="cursor: pointer;"/>
|
||||
</td>
|
||||
<td width="2%">
|
||||
<img t-if="rec.att_list.length"
|
||||
id="side-down" src="/web/static/src/img/icons/gtk-go-down.png" style="cursor: pointer;"/>
|
||||
id="side-down" t-att-src='_s + "/web/static/src/img/icons/gtk-go-down.png"' style="cursor: pointer;"/>
|
||||
</td>
|
||||
<t t-if="rec.child_id.length">
|
||||
<t t-set="data" t-value="rec.child_id"/>
|
||||
|
@ -1546,11 +1552,10 @@
|
|||
<t t-name="vieweditor_boolean">
|
||||
<input type="checkbox" t-att-id="widget.name"/>
|
||||
</t>
|
||||
|
||||
<t t-name="ExportView">
|
||||
<a id="exportview" href="javascript: void(0)" style="text-decoration: none;color: #3D3D3D;">Export</a>
|
||||
</t>
|
||||
<table t-name="ExportTreeView" class="oe-export"
|
||||
<table t-name="ExportTreeView" class="oe_export"
|
||||
style="background-color: #F3F3F3;">
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
|
@ -1655,7 +1660,7 @@
|
|||
</t>
|
||||
<t t-name="ImportDataView">
|
||||
<form name="import_data" id="import_data" action="" method="post" enctype="multipart/form-data"
|
||||
class="oe-import oe-import-no-result">
|
||||
class="oe_import oe_import_no_result">
|
||||
<input type="hidden" name="session_id" t-att-value="widget.session.session_id"/>
|
||||
<h2 class="separator horizontal">1. Import a .CSV file</h2>
|
||||
<p>Select a .CSV file to import. If you need a sample of file to import,
|
||||
|
@ -1665,9 +1670,9 @@
|
|||
<label for="csvfile">CSV File:</label>
|
||||
<input type="file" id="csvfile" size="50" name="csvfile"/>
|
||||
</p>
|
||||
<h2 class="separator horizontal oe-import-result">2. Check your file format</h2>
|
||||
<div id="result" class="oe-import-result"></div>
|
||||
<fieldset class="oe-closed oe-import-result">
|
||||
<h2 class="separator horizontal oe_import_result">2. Check your file format</h2>
|
||||
<div id="result" class="oe_import_result"></div>
|
||||
<fieldset class="oe_closed oe_import_result">
|
||||
<legend>Import Options</legend>
|
||||
<table>
|
||||
<tr>
|
||||
|
@ -1707,7 +1712,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td t-foreach="records[0]" t-as="column">
|
||||
<input class="sel_fields" placeholder="--- Don't Import ---"/><span class="oe-m2o-drop-down-button">
|
||||
<input class="sel_fields" placeholder="--- Don't Import ---"/><span class="oe_m2o_drop_down_button">
|
||||
<img t-att-src='_s + "/web/static/src/img/down-arrow.png"' /></span>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -843,6 +843,25 @@ $(document).ready(function () {
|
|||
|
||||
deepEqual(f.get_domain(facet), [['foo', '=', 42]],
|
||||
"m2o should use identity if default domain");
|
||||
deepEqual(f.get_context(facet), {default_foo: 42},
|
||||
"m2o should use value as context default");
|
||||
});
|
||||
test("M2O default multiple values", function () {
|
||||
var f = new instance.web.search.ManyToOneField(
|
||||
{}, {name: 'foo'}, {inputs: []});
|
||||
var facet = new instance.web.search.Facet({
|
||||
field: f,
|
||||
values: [
|
||||
{label: "Foo", value: 42},
|
||||
{label: "Bar", value: 36}
|
||||
]
|
||||
});
|
||||
|
||||
deepEqual(f.get_domain(facet).__domains,
|
||||
[['|'], [['foo', '=', 42]], [['foo', '=', 36]]],
|
||||
"m2o should or multiple values");
|
||||
equal(f.get_context(facet), null,
|
||||
"m2o should not have default context in case of multiple values");
|
||||
});
|
||||
test("M2O custom operator", function () {
|
||||
var f = new instance.web.search.ManyToOneField(
|
||||
|
@ -854,6 +873,8 @@ $(document).ready(function () {
|
|||
|
||||
deepEqual(f.get_domain(facet), [['foo', 'boos', 'Foo']],
|
||||
"m2o should use label with custom operators");
|
||||
deepEqual(f.get_context(facet), {default_foo: 42},
|
||||
"m2o should use value as context default");
|
||||
});
|
||||
test("M2O custom domain & context", function () {
|
||||
var f = new instance.web.search.ManyToOneField({attrs: {
|
||||
|
@ -1094,6 +1115,72 @@ $(document).ready(function () {
|
|||
});
|
||||
});
|
||||
|
||||
module('saved_filters', {
|
||||
setup: function () {
|
||||
instance = window.openerp.init([]);
|
||||
window.openerp.web.corelib(instance);
|
||||
window.openerp.web.coresetup(instance);
|
||||
window.openerp.web.chrome(instance);
|
||||
window.openerp.web.data(instance);
|
||||
window.openerp.web.formats(instance);
|
||||
window.openerp.web.search(instance);
|
||||
|
||||
instance.web.qweb.add_template(doc);
|
||||
|
||||
mockifyRPC(instance.connection);
|
||||
}
|
||||
});
|
||||
asyncTest('checkboxing', 6, function () {
|
||||
var view = makeSearchView();
|
||||
instance.connection.responses['/web/searchview/get_filters'] = function () {
|
||||
return {result: [{
|
||||
name: "filter name",
|
||||
user_id: 42
|
||||
}]};
|
||||
};
|
||||
var $fix = $('#qunit-fixture');
|
||||
|
||||
view.appendTo($fix)
|
||||
.always(start)
|
||||
.fail(function (error) { ok(false, error.message); })
|
||||
.done(function () {
|
||||
var $row = $fix.find('.oe_searchview_custom li:first').click();
|
||||
|
||||
ok($row.hasClass('oe_selected'), "should check/select the filter's row");
|
||||
ok($row.hasClass("oe_searchview_custom_private"),
|
||||
"should have private filter note/class");
|
||||
equal(view.query.length, 1, "should have only one facet");
|
||||
var values = view.query.at(0).values;
|
||||
equal(values.length, 1,
|
||||
"should have only one value in the facet");
|
||||
equal(values.at(0).get('label'), 'filter name',
|
||||
"displayed label should be the name of the filter");
|
||||
equal(values.at(0).get('value'), null,
|
||||
"should have no value set");
|
||||
})
|
||||
});
|
||||
asyncTest('removal', 1, function () {
|
||||
var view = makeSearchView();
|
||||
instance.connection.responses['/web/searchview/get_filters'] = function () {
|
||||
return {result: [{
|
||||
name: "filter name",
|
||||
user_id: 42
|
||||
}]};
|
||||
};
|
||||
var $fix = $('#qunit-fixture');
|
||||
|
||||
view.appendTo($fix)
|
||||
.always(start)
|
||||
.fail(function (error) { ok(false, error.message); })
|
||||
.done(function () {
|
||||
var $row = $fix.find('.oe_searchview_custom li:first').click();
|
||||
|
||||
view.query.remove(view.query.at(0));
|
||||
ok(!$row.hasClass('oe_selected'),
|
||||
"should not be checked anymore");
|
||||
})
|
||||
});
|
||||
|
||||
module('advanced', {
|
||||
setup: function () {
|
||||
instance = window.openerp.init([]);
|
||||
|
|
|
@ -7,35 +7,138 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: openerp-web\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2012-02-06 17:33+0100\n"
|
||||
"POT-Creation-Date: 2012-07-02 09:06+0200\n"
|
||||
"PO-Revision-Date: 2012-01-08 20:21+0000\n"
|
||||
"Last-Translator: kifcaliph <Unknown>\n"
|
||||
"Language-Team: Arabic <ar@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2012-06-14 04:40+0000\n"
|
||||
"X-Generator: Launchpad (build 15405)\n"
|
||||
"X-Launchpad-Export-Date: 2012-07-03 05:55+0000\n"
|
||||
"X-Generator: Launchpad (build 15531)\n"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:11
|
||||
#: addons/web_calendar/static/src/js/calendar.js:12
|
||||
msgid "Calendar"
|
||||
msgstr "التقويم"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:466
|
||||
#: addons/web_calendar/static/src/js/calendar.js:467
|
||||
msgid "Responsible"
|
||||
msgstr "مسؤول"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:73
|
||||
msgid "Filter"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:504
|
||||
#: addons/web_calendar/static/src/js/calendar.js:505
|
||||
msgid "Navigator"
|
||||
msgstr "المتصفح"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:139
|
||||
msgid "Today"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:5
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:6
|
||||
#: addons/web_calendar/static/src/js/calendar.js:140
|
||||
msgid "Day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:141
|
||||
msgid "Week"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:142
|
||||
msgid "Month"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:143
|
||||
msgid "New event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:144
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:145
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:146
|
||||
msgid "Details"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:147
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:148
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:150
|
||||
msgid "Event will be deleted permanently, are you sure?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:151
|
||||
#: addons/web_calendar/static/src/js/calendar.js:164
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:152
|
||||
msgid "Time period"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:153
|
||||
msgid "Full day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:156
|
||||
msgid "Do you want to edit the whole set of repeated events?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:157
|
||||
msgid "Repeat event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:158
|
||||
msgid "Disabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:159
|
||||
msgid "Enabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:162
|
||||
#: addons/web_calendar/static/src/js/calendar.js:170
|
||||
msgid "Agenda"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:163
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:167
|
||||
msgid "Year"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:8
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:9
|
||||
msgid " "
|
||||
msgstr " "
|
||||
|
||||
#~ msgid "Navigator"
|
||||
#~ msgstr "المتصفح"
|
||||
|
|
|
@ -7,35 +7,138 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: openerp-web\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2012-02-06 17:33+0100\n"
|
||||
"POT-Creation-Date: 2012-07-02 09:06+0200\n"
|
||||
"PO-Revision-Date: 2012-05-16 09:33+0000\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: Bulgarian <bg@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2012-06-14 04:40+0000\n"
|
||||
"X-Generator: Launchpad (build 15405)\n"
|
||||
"X-Launchpad-Export-Date: 2012-07-03 05:55+0000\n"
|
||||
"X-Generator: Launchpad (build 15531)\n"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:11
|
||||
#: addons/web_calendar/static/src/js/calendar.js:12
|
||||
msgid "Calendar"
|
||||
msgstr "Календар"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:466
|
||||
#: addons/web_calendar/static/src/js/calendar.js:467
|
||||
msgid "Responsible"
|
||||
msgstr "Отговорник"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:73
|
||||
msgid "Filter"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:504
|
||||
#: addons/web_calendar/static/src/js/calendar.js:505
|
||||
msgid "Navigator"
|
||||
msgstr "Навигатор"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:139
|
||||
msgid "Today"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:5
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:6
|
||||
#: addons/web_calendar/static/src/js/calendar.js:140
|
||||
msgid "Day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:141
|
||||
msgid "Week"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:142
|
||||
msgid "Month"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:143
|
||||
msgid "New event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:144
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:145
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:146
|
||||
msgid "Details"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:147
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:148
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:150
|
||||
msgid "Event will be deleted permanently, are you sure?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:151
|
||||
#: addons/web_calendar/static/src/js/calendar.js:164
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:152
|
||||
msgid "Time period"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:153
|
||||
msgid "Full day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:156
|
||||
msgid "Do you want to edit the whole set of repeated events?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:157
|
||||
msgid "Repeat event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:158
|
||||
msgid "Disabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:159
|
||||
msgid "Enabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:162
|
||||
#: addons/web_calendar/static/src/js/calendar.js:170
|
||||
msgid "Agenda"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:163
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:167
|
||||
msgid "Year"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:8
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:9
|
||||
msgid " "
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Navigator"
|
||||
#~ msgstr "Навигатор"
|
||||
|
|
|
@ -7,35 +7,138 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: openerp-web\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2012-02-06 17:33+0100\n"
|
||||
"POT-Creation-Date: 2012-07-02 09:06+0200\n"
|
||||
"PO-Revision-Date: 2011-11-24 12:51+0000\n"
|
||||
"Last-Translator: nasir khan saikat <nasir8891@gmail.com>\n"
|
||||
"Language-Team: Bengali <bn@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2012-06-14 04:40+0000\n"
|
||||
"X-Generator: Launchpad (build 15405)\n"
|
||||
"X-Launchpad-Export-Date: 2012-07-03 05:55+0000\n"
|
||||
"X-Generator: Launchpad (build 15531)\n"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:11
|
||||
#: addons/web_calendar/static/src/js/calendar.js:12
|
||||
msgid "Calendar"
|
||||
msgstr "পুঞ্জিকা"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:466
|
||||
#: addons/web_calendar/static/src/js/calendar.js:467
|
||||
msgid "Responsible"
|
||||
msgstr "দায়িত্বপ্রাপ্ত"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:73
|
||||
msgid "Filter"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:504
|
||||
#: addons/web_calendar/static/src/js/calendar.js:505
|
||||
msgid "Navigator"
|
||||
msgstr "ভ্রমনপরিকল্পক"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:139
|
||||
msgid "Today"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:5
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:6
|
||||
#: addons/web_calendar/static/src/js/calendar.js:140
|
||||
msgid "Day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:141
|
||||
msgid "Week"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:142
|
||||
msgid "Month"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:143
|
||||
msgid "New event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:144
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:145
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:146
|
||||
msgid "Details"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:147
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:148
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:150
|
||||
msgid "Event will be deleted permanently, are you sure?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:151
|
||||
#: addons/web_calendar/static/src/js/calendar.js:164
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:152
|
||||
msgid "Time period"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:153
|
||||
msgid "Full day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:156
|
||||
msgid "Do you want to edit the whole set of repeated events?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:157
|
||||
msgid "Repeat event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:158
|
||||
msgid "Disabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:159
|
||||
msgid "Enabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:162
|
||||
#: addons/web_calendar/static/src/js/calendar.js:170
|
||||
msgid "Agenda"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:163
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:167
|
||||
msgid "Year"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:8
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:9
|
||||
msgid " "
|
||||
msgstr " "
|
||||
|
||||
#~ msgid "Navigator"
|
||||
#~ msgstr "ভ্রমনপরিকল্পক"
|
||||
|
|
|
@ -7,35 +7,138 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: openerp-web\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2012-02-06 17:33+0100\n"
|
||||
"POT-Creation-Date: 2012-07-02 09:06+0200\n"
|
||||
"PO-Revision-Date: 2012-04-15 00:09+0000\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: Bosnian <bs@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2012-06-14 04:40+0000\n"
|
||||
"X-Generator: Launchpad (build 15405)\n"
|
||||
"X-Launchpad-Export-Date: 2012-07-03 05:55+0000\n"
|
||||
"X-Generator: Launchpad (build 15531)\n"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:11
|
||||
#: addons/web_calendar/static/src/js/calendar.js:12
|
||||
msgid "Calendar"
|
||||
msgstr "Kalendar"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:466
|
||||
#: addons/web_calendar/static/src/js/calendar.js:467
|
||||
msgid "Responsible"
|
||||
msgstr "Odgovoran"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:73
|
||||
msgid "Filter"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:504
|
||||
#: addons/web_calendar/static/src/js/calendar.js:505
|
||||
msgid "Navigator"
|
||||
msgstr "Navigator"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:139
|
||||
msgid "Today"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:5
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:6
|
||||
#: addons/web_calendar/static/src/js/calendar.js:140
|
||||
msgid "Day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:141
|
||||
msgid "Week"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:142
|
||||
msgid "Month"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:143
|
||||
msgid "New event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:144
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:145
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:146
|
||||
msgid "Details"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:147
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:148
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:150
|
||||
msgid "Event will be deleted permanently, are you sure?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:151
|
||||
#: addons/web_calendar/static/src/js/calendar.js:164
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:152
|
||||
msgid "Time period"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:153
|
||||
msgid "Full day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:156
|
||||
msgid "Do you want to edit the whole set of repeated events?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:157
|
||||
msgid "Repeat event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:158
|
||||
msgid "Disabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:159
|
||||
msgid "Enabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:162
|
||||
#: addons/web_calendar/static/src/js/calendar.js:170
|
||||
msgid "Agenda"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:163
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:167
|
||||
msgid "Year"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:8
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:9
|
||||
msgid " "
|
||||
msgstr " "
|
||||
|
||||
#~ msgid "Navigator"
|
||||
#~ msgstr "Navigator"
|
||||
|
|
|
@ -7,35 +7,135 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: openerp-web\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2012-02-06 17:33+0100\n"
|
||||
"POT-Creation-Date: 2012-07-02 09:06+0200\n"
|
||||
"PO-Revision-Date: 2012-06-16 17:47+0000\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: Catalan <ca@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2012-06-17 04:44+0000\n"
|
||||
"X-Generator: Launchpad (build 15419)\n"
|
||||
"X-Launchpad-Export-Date: 2012-07-03 05:55+0000\n"
|
||||
"X-Generator: Launchpad (build 15531)\n"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:11
|
||||
#: addons/web_calendar/static/src/js/calendar.js:12
|
||||
msgid "Calendar"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:466
|
||||
#: addons/web_calendar/static/src/js/calendar.js:467
|
||||
msgid "Responsible"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:73
|
||||
msgid "Filter"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:504
|
||||
#: addons/web_calendar/static/src/js/calendar.js:505
|
||||
msgid "Navigator"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:139
|
||||
msgid "Today"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:5
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:6
|
||||
#: addons/web_calendar/static/src/js/calendar.js:140
|
||||
msgid "Day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:141
|
||||
msgid "Week"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:142
|
||||
msgid "Month"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:143
|
||||
msgid "New event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:144
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:145
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:146
|
||||
msgid "Details"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:147
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:148
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:150
|
||||
msgid "Event will be deleted permanently, are you sure?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:151
|
||||
#: addons/web_calendar/static/src/js/calendar.js:164
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:152
|
||||
msgid "Time period"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:153
|
||||
msgid "Full day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:156
|
||||
msgid "Do you want to edit the whole set of repeated events?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:157
|
||||
msgid "Repeat event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:158
|
||||
msgid "Disabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:159
|
||||
msgid "Enabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:162
|
||||
#: addons/web_calendar/static/src/js/calendar.js:170
|
||||
msgid "Agenda"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:163
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:167
|
||||
msgid "Year"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:8
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:9
|
||||
msgid " "
|
||||
msgstr ""
|
||||
|
|
|
@ -7,36 +7,139 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: openerp-web\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2012-02-06 17:33+0100\n"
|
||||
"POT-Creation-Date: 2012-07-02 09:06+0200\n"
|
||||
"PO-Revision-Date: 2012-03-22 09:45+0000\n"
|
||||
"Last-Translator: Zdeněk Havlík <linuzh@gmail.com>\n"
|
||||
"Language-Team: openerp-i18n-czech <openerp-i18n-czech@lists.launchpad.net>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2012-06-14 04:40+0000\n"
|
||||
"X-Generator: Launchpad (build 15405)\n"
|
||||
"X-Launchpad-Export-Date: 2012-07-03 05:55+0000\n"
|
||||
"X-Generator: Launchpad (build 15531)\n"
|
||||
"X-Poedit-Language: Czech\n"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:11
|
||||
#: addons/web_calendar/static/src/js/calendar.js:12
|
||||
msgid "Calendar"
|
||||
msgstr "Kalendář"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:466
|
||||
#: addons/web_calendar/static/src/js/calendar.js:467
|
||||
msgid "Responsible"
|
||||
msgstr "Zodpovědný"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:73
|
||||
msgid "Filter"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:504
|
||||
#: addons/web_calendar/static/src/js/calendar.js:505
|
||||
msgid "Navigator"
|
||||
msgstr "Navigátor"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:139
|
||||
msgid "Today"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:5
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:6
|
||||
#: addons/web_calendar/static/src/js/calendar.js:140
|
||||
msgid "Day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:141
|
||||
msgid "Week"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:142
|
||||
msgid "Month"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:143
|
||||
msgid "New event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:144
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:145
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:146
|
||||
msgid "Details"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:147
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:148
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:150
|
||||
msgid "Event will be deleted permanently, are you sure?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:151
|
||||
#: addons/web_calendar/static/src/js/calendar.js:164
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:152
|
||||
msgid "Time period"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:153
|
||||
msgid "Full day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:156
|
||||
msgid "Do you want to edit the whole set of repeated events?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:157
|
||||
msgid "Repeat event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:158
|
||||
msgid "Disabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:159
|
||||
msgid "Enabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:162
|
||||
#: addons/web_calendar/static/src/js/calendar.js:170
|
||||
msgid "Agenda"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:163
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:167
|
||||
msgid "Year"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:8
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:9
|
||||
msgid " "
|
||||
msgstr " "
|
||||
|
||||
#~ msgid "Navigator"
|
||||
#~ msgstr "Navigátor"
|
||||
|
|
|
@ -7,35 +7,138 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: openerp-web\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2012-02-06 17:33+0100\n"
|
||||
"PO-Revision-Date: 2011-10-11 13:57+0000\n"
|
||||
"Last-Translator: Jonas Mortensen <Unknown>\n"
|
||||
"POT-Creation-Date: 2012-07-02 09:06+0200\n"
|
||||
"PO-Revision-Date: 2012-07-01 09:05+0000\n"
|
||||
"Last-Translator: Aputsiaq Niels Janussen <aj@isit.gl>\n"
|
||||
"Language-Team: Danish <da@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2012-06-14 04:40+0000\n"
|
||||
"X-Generator: Launchpad (build 15405)\n"
|
||||
"X-Launchpad-Export-Date: 2012-07-03 05:55+0000\n"
|
||||
"X-Generator: Launchpad (build 15531)\n"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:11
|
||||
#: addons/web_calendar/static/src/js/calendar.js:12
|
||||
msgid "Calendar"
|
||||
msgstr "Kalender"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:73
|
||||
msgid "Filter"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:466
|
||||
#: addons/web_calendar/static/src/js/calendar.js:467
|
||||
msgid "Responsible"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:139
|
||||
msgid "Today"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:504
|
||||
#: addons/web_calendar/static/src/js/calendar.js:505
|
||||
msgid "Navigator"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:140
|
||||
msgid "Day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:5
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:6
|
||||
#: addons/web_calendar/static/src/js/calendar.js:141
|
||||
msgid "Week"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:142
|
||||
msgid "Month"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:143
|
||||
msgid "New event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:144
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:145
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:146
|
||||
msgid "Details"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:147
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:148
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:150
|
||||
msgid "Event will be deleted permanently, are you sure?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:151
|
||||
#: addons/web_calendar/static/src/js/calendar.js:164
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:152
|
||||
msgid "Time period"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:153
|
||||
msgid "Full day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:156
|
||||
msgid "Do you want to edit the whole set of repeated events?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:157
|
||||
msgid "Repeat event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:158
|
||||
msgid "Disabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:159
|
||||
msgid "Enabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:162
|
||||
#: addons/web_calendar/static/src/js/calendar.js:170
|
||||
msgid "Agenda"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:163
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:167
|
||||
msgid "Year"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:8
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:9
|
||||
msgid " "
|
||||
msgstr " "
|
||||
|
||||
#~ msgid "Navigator"
|
||||
#~ msgstr "Navigator"
|
||||
|
|
|
@ -7,35 +7,138 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: openerp-web\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2012-02-06 17:33+0100\n"
|
||||
"POT-Creation-Date: 2012-07-02 09:06+0200\n"
|
||||
"PO-Revision-Date: 2011-12-16 15:26+0000\n"
|
||||
"Last-Translator: Ferdinand @ Camptocamp <Unknown>\n"
|
||||
"Language-Team: German <de@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2012-06-14 04:40+0000\n"
|
||||
"X-Generator: Launchpad (build 15405)\n"
|
||||
"X-Launchpad-Export-Date: 2012-07-03 05:55+0000\n"
|
||||
"X-Generator: Launchpad (build 15531)\n"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:11
|
||||
#: addons/web_calendar/static/src/js/calendar.js:12
|
||||
msgid "Calendar"
|
||||
msgstr "Kalender"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:466
|
||||
#: addons/web_calendar/static/src/js/calendar.js:467
|
||||
msgid "Responsible"
|
||||
msgstr "Verantwortlich"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:73
|
||||
msgid "Filter"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:504
|
||||
#: addons/web_calendar/static/src/js/calendar.js:505
|
||||
msgid "Navigator"
|
||||
msgstr "Browser"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:139
|
||||
msgid "Today"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:5
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:6
|
||||
#: addons/web_calendar/static/src/js/calendar.js:140
|
||||
msgid "Day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:141
|
||||
msgid "Week"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:142
|
||||
msgid "Month"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:143
|
||||
msgid "New event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:144
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:145
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:146
|
||||
msgid "Details"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:147
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:148
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:150
|
||||
msgid "Event will be deleted permanently, are you sure?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:151
|
||||
#: addons/web_calendar/static/src/js/calendar.js:164
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:152
|
||||
msgid "Time period"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:153
|
||||
msgid "Full day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:156
|
||||
msgid "Do you want to edit the whole set of repeated events?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:157
|
||||
msgid "Repeat event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:158
|
||||
msgid "Disabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:159
|
||||
msgid "Enabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:162
|
||||
#: addons/web_calendar/static/src/js/calendar.js:170
|
||||
msgid "Agenda"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:163
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:167
|
||||
msgid "Year"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:8
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:9
|
||||
msgid " "
|
||||
msgstr " "
|
||||
|
||||
#~ msgid "Navigator"
|
||||
#~ msgstr "Browser"
|
||||
|
|
|
@ -7,35 +7,138 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: openerp-web\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2012-02-06 17:33+0100\n"
|
||||
"POT-Creation-Date: 2012-07-02 09:06+0200\n"
|
||||
"PO-Revision-Date: 2012-04-09 03:26+0000\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: English (Australia) <en_AU@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2012-06-14 04:40+0000\n"
|
||||
"X-Generator: Launchpad (build 15405)\n"
|
||||
"X-Launchpad-Export-Date: 2012-07-03 05:55+0000\n"
|
||||
"X-Generator: Launchpad (build 15531)\n"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:11
|
||||
#: addons/web_calendar/static/src/js/calendar.js:12
|
||||
msgid "Calendar"
|
||||
msgstr "Calendar"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:466
|
||||
#: addons/web_calendar/static/src/js/calendar.js:467
|
||||
msgid "Responsible"
|
||||
msgstr "Responsible"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:73
|
||||
msgid "Filter"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:504
|
||||
#: addons/web_calendar/static/src/js/calendar.js:505
|
||||
msgid "Navigator"
|
||||
msgstr "Navigator"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:139
|
||||
msgid "Today"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:5
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:6
|
||||
#: addons/web_calendar/static/src/js/calendar.js:140
|
||||
msgid "Day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:141
|
||||
msgid "Week"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:142
|
||||
msgid "Month"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:143
|
||||
msgid "New event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:144
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:145
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:146
|
||||
msgid "Details"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:147
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:148
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:150
|
||||
msgid "Event will be deleted permanently, are you sure?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:151
|
||||
#: addons/web_calendar/static/src/js/calendar.js:164
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:152
|
||||
msgid "Time period"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:153
|
||||
msgid "Full day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:156
|
||||
msgid "Do you want to edit the whole set of repeated events?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:157
|
||||
msgid "Repeat event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:158
|
||||
msgid "Disabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:159
|
||||
msgid "Enabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:162
|
||||
#: addons/web_calendar/static/src/js/calendar.js:170
|
||||
msgid "Agenda"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:163
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:167
|
||||
msgid "Year"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:8
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:9
|
||||
msgid " "
|
||||
msgstr " "
|
||||
|
||||
#~ msgid "Navigator"
|
||||
#~ msgstr "Navigator"
|
||||
|
|
|
@ -7,35 +7,138 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: openerp-web\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2012-02-06 17:33+0100\n"
|
||||
"POT-Creation-Date: 2012-07-02 09:06+0200\n"
|
||||
"PO-Revision-Date: 2012-02-09 11:36+0000\n"
|
||||
"Last-Translator: John Bradshaw <Unknown>\n"
|
||||
"Language-Team: English (United Kingdom) <en_GB@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2012-06-14 04:40+0000\n"
|
||||
"X-Generator: Launchpad (build 15405)\n"
|
||||
"X-Launchpad-Export-Date: 2012-07-03 05:55+0000\n"
|
||||
"X-Generator: Launchpad (build 15531)\n"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:11
|
||||
#: addons/web_calendar/static/src/js/calendar.js:12
|
||||
msgid "Calendar"
|
||||
msgstr "Calendar"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:466
|
||||
#: addons/web_calendar/static/src/js/calendar.js:467
|
||||
msgid "Responsible"
|
||||
msgstr "Responsible"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:73
|
||||
msgid "Filter"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:504
|
||||
#: addons/web_calendar/static/src/js/calendar.js:505
|
||||
msgid "Navigator"
|
||||
msgstr "Navigator"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:139
|
||||
msgid "Today"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:5
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:6
|
||||
#: addons/web_calendar/static/src/js/calendar.js:140
|
||||
msgid "Day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:141
|
||||
msgid "Week"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:142
|
||||
msgid "Month"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:143
|
||||
msgid "New event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:144
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:145
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:146
|
||||
msgid "Details"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:147
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:148
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:150
|
||||
msgid "Event will be deleted permanently, are you sure?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:151
|
||||
#: addons/web_calendar/static/src/js/calendar.js:164
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:152
|
||||
msgid "Time period"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:153
|
||||
msgid "Full day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:156
|
||||
msgid "Do you want to edit the whole set of repeated events?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:157
|
||||
msgid "Repeat event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:158
|
||||
msgid "Disabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:159
|
||||
msgid "Enabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:162
|
||||
#: addons/web_calendar/static/src/js/calendar.js:170
|
||||
msgid "Agenda"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:163
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:167
|
||||
msgid "Year"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:8
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:9
|
||||
msgid " "
|
||||
msgstr " "
|
||||
|
||||
#~ msgid "Navigator"
|
||||
#~ msgstr "Navigator"
|
||||
|
|
|
@ -7,35 +7,138 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: openerp-web\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2012-02-06 17:33+0100\n"
|
||||
"POT-Creation-Date: 2012-07-02 09:06+0200\n"
|
||||
"PO-Revision-Date: 2012-02-13 12:43+0000\n"
|
||||
"Last-Translator: luis tobar <Unknown>\n"
|
||||
"Language-Team: Spanish <es@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2012-06-14 04:40+0000\n"
|
||||
"X-Generator: Launchpad (build 15405)\n"
|
||||
"X-Launchpad-Export-Date: 2012-07-03 05:55+0000\n"
|
||||
"X-Generator: Launchpad (build 15531)\n"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:11
|
||||
#: addons/web_calendar/static/src/js/calendar.js:12
|
||||
msgid "Calendar"
|
||||
msgstr "Calendario"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:466
|
||||
#: addons/web_calendar/static/src/js/calendar.js:467
|
||||
msgid "Responsible"
|
||||
msgstr "Responsable"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:73
|
||||
msgid "Filter"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:504
|
||||
#: addons/web_calendar/static/src/js/calendar.js:505
|
||||
msgid "Navigator"
|
||||
msgstr "Navegador"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:139
|
||||
msgid "Today"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:5
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:6
|
||||
#: addons/web_calendar/static/src/js/calendar.js:140
|
||||
msgid "Day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:141
|
||||
msgid "Week"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:142
|
||||
msgid "Month"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:143
|
||||
msgid "New event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:144
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:145
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:146
|
||||
msgid "Details"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:147
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:148
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:150
|
||||
msgid "Event will be deleted permanently, are you sure?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:151
|
||||
#: addons/web_calendar/static/src/js/calendar.js:164
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:152
|
||||
msgid "Time period"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:153
|
||||
msgid "Full day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:156
|
||||
msgid "Do you want to edit the whole set of repeated events?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:157
|
||||
msgid "Repeat event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:158
|
||||
msgid "Disabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:159
|
||||
msgid "Enabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:162
|
||||
#: addons/web_calendar/static/src/js/calendar.js:170
|
||||
msgid "Agenda"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:163
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:167
|
||||
msgid "Year"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:8
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:9
|
||||
msgid " "
|
||||
msgstr " "
|
||||
|
||||
#~ msgid "Navigator"
|
||||
#~ msgstr "Navegador"
|
||||
|
|
|
@ -7,35 +7,138 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: openerp-web\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2012-02-06 17:33+0100\n"
|
||||
"POT-Creation-Date: 2012-07-02 09:06+0200\n"
|
||||
"PO-Revision-Date: 2012-04-14 15:13+0000\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: Spanish (Chile) <es_CL@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2012-06-14 04:40+0000\n"
|
||||
"X-Generator: Launchpad (build 15405)\n"
|
||||
"X-Launchpad-Export-Date: 2012-07-03 05:55+0000\n"
|
||||
"X-Generator: Launchpad (build 15531)\n"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:11
|
||||
#: addons/web_calendar/static/src/js/calendar.js:12
|
||||
msgid "Calendar"
|
||||
msgstr "Calendario"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:466
|
||||
#: addons/web_calendar/static/src/js/calendar.js:467
|
||||
msgid "Responsible"
|
||||
msgstr "Responsable"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:73
|
||||
msgid "Filter"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:504
|
||||
#: addons/web_calendar/static/src/js/calendar.js:505
|
||||
msgid "Navigator"
|
||||
msgstr "Navegador"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:139
|
||||
msgid "Today"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:5
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:6
|
||||
#: addons/web_calendar/static/src/js/calendar.js:140
|
||||
msgid "Day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:141
|
||||
msgid "Week"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:142
|
||||
msgid "Month"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:143
|
||||
msgid "New event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:144
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:145
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:146
|
||||
msgid "Details"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:147
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:148
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:150
|
||||
msgid "Event will be deleted permanently, are you sure?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:151
|
||||
#: addons/web_calendar/static/src/js/calendar.js:164
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:152
|
||||
msgid "Time period"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:153
|
||||
msgid "Full day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:156
|
||||
msgid "Do you want to edit the whole set of repeated events?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:157
|
||||
msgid "Repeat event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:158
|
||||
msgid "Disabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:159
|
||||
msgid "Enabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:162
|
||||
#: addons/web_calendar/static/src/js/calendar.js:170
|
||||
msgid "Agenda"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:163
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:167
|
||||
msgid "Year"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:8
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:9
|
||||
msgid " "
|
||||
msgstr " "
|
||||
|
||||
#~ msgid "Navigator"
|
||||
#~ msgstr "Navegador"
|
||||
|
|
|
@ -7,7 +7,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: openerp-web\n"
|
||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||
"POT-Creation-Date: 2012-02-06 17:33+0100\n"
|
||||
"POT-Creation-Date: 2012-07-02 09:06+0200\n"
|
||||
"PO-Revision-Date: 2012-02-16 21:34+0000\n"
|
||||
"Last-Translator: Carlos Vásquez (CLEARCORP) "
|
||||
"<carlos.vasquez@clearcorp.co.cr>\n"
|
||||
|
@ -15,29 +15,132 @@ msgstr ""
|
|||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2012-06-14 04:40+0000\n"
|
||||
"X-Generator: Launchpad (build 15405)\n"
|
||||
"X-Launchpad-Export-Date: 2012-07-03 05:55+0000\n"
|
||||
"X-Generator: Launchpad (build 15531)\n"
|
||||
"Language: es\n"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:11
|
||||
#: addons/web_calendar/static/src/js/calendar.js:12
|
||||
msgid "Calendar"
|
||||
msgstr "Calendario"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:466
|
||||
#: addons/web_calendar/static/src/js/calendar.js:467
|
||||
msgid "Responsible"
|
||||
msgstr "Responsable"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:73
|
||||
msgid "Filter"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:504
|
||||
#: addons/web_calendar/static/src/js/calendar.js:505
|
||||
msgid "Navigator"
|
||||
msgstr "Navegador"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:139
|
||||
msgid "Today"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:5
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:6
|
||||
#: addons/web_calendar/static/src/js/calendar.js:140
|
||||
msgid "Day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:141
|
||||
msgid "Week"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:142
|
||||
msgid "Month"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:143
|
||||
msgid "New event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:144
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:145
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:146
|
||||
msgid "Details"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:147
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:148
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:150
|
||||
msgid "Event will be deleted permanently, are you sure?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:151
|
||||
#: addons/web_calendar/static/src/js/calendar.js:164
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:152
|
||||
msgid "Time period"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:153
|
||||
msgid "Full day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:156
|
||||
msgid "Do you want to edit the whole set of repeated events?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:157
|
||||
msgid "Repeat event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:158
|
||||
msgid "Disabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:159
|
||||
msgid "Enabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:162
|
||||
#: addons/web_calendar/static/src/js/calendar.js:170
|
||||
msgid "Agenda"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:163
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:167
|
||||
msgid "Year"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:8
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:9
|
||||
msgid " "
|
||||
msgstr " "
|
||||
|
||||
#~ msgid "Navigator"
|
||||
#~ msgstr "Navegador"
|
||||
|
|
|
@ -7,35 +7,138 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: openerp-web\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2012-02-06 17:33+0100\n"
|
||||
"POT-Creation-Date: 2012-07-02 09:06+0200\n"
|
||||
"PO-Revision-Date: 2011-10-07 15:54+0000\n"
|
||||
"Last-Translator: Cristian Salamea (Gnuthink) <ovnicraft@gmail.com>\n"
|
||||
"Language-Team: Spanish (Ecuador) <es_EC@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2012-06-14 04:40+0000\n"
|
||||
"X-Generator: Launchpad (build 15405)\n"
|
||||
"X-Launchpad-Export-Date: 2012-07-03 05:55+0000\n"
|
||||
"X-Generator: Launchpad (build 15531)\n"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:11
|
||||
#: addons/web_calendar/static/src/js/calendar.js:12
|
||||
msgid "Calendar"
|
||||
msgstr "Calendario"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:466
|
||||
#: addons/web_calendar/static/src/js/calendar.js:467
|
||||
msgid "Responsible"
|
||||
msgstr "Responsable"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:73
|
||||
msgid "Filter"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:504
|
||||
#: addons/web_calendar/static/src/js/calendar.js:505
|
||||
msgid "Navigator"
|
||||
msgstr "Navegador"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:139
|
||||
msgid "Today"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:5
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:6
|
||||
#: addons/web_calendar/static/src/js/calendar.js:140
|
||||
msgid "Day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:141
|
||||
msgid "Week"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:142
|
||||
msgid "Month"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:143
|
||||
msgid "New event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:144
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:145
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:146
|
||||
msgid "Details"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:147
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:148
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:150
|
||||
msgid "Event will be deleted permanently, are you sure?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:151
|
||||
#: addons/web_calendar/static/src/js/calendar.js:164
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:152
|
||||
msgid "Time period"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:153
|
||||
msgid "Full day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:156
|
||||
msgid "Do you want to edit the whole set of repeated events?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:157
|
||||
msgid "Repeat event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:158
|
||||
msgid "Disabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:159
|
||||
msgid "Enabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:162
|
||||
#: addons/web_calendar/static/src/js/calendar.js:170
|
||||
msgid "Agenda"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:163
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:167
|
||||
msgid "Year"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:8
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:9
|
||||
msgid " "
|
||||
msgstr " "
|
||||
|
||||
#~ msgid "Navigator"
|
||||
#~ msgstr "Navegador"
|
||||
|
|
|
@ -7,35 +7,135 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: openerp-web\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2012-02-06 17:33+0100\n"
|
||||
"POT-Creation-Date: 2012-07-02 09:06+0200\n"
|
||||
"PO-Revision-Date: 2011-10-10 19:20+0000\n"
|
||||
"Last-Translator: Aare Vesi <Unknown>\n"
|
||||
"Language-Team: Estonian <et@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2012-06-14 04:40+0000\n"
|
||||
"X-Generator: Launchpad (build 15405)\n"
|
||||
"X-Launchpad-Export-Date: 2012-07-03 05:55+0000\n"
|
||||
"X-Generator: Launchpad (build 15531)\n"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:11
|
||||
#: addons/web_calendar/static/src/js/calendar.js:12
|
||||
msgid "Calendar"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:466
|
||||
#: addons/web_calendar/static/src/js/calendar.js:467
|
||||
msgid "Responsible"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:73
|
||||
msgid "Filter"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:504
|
||||
#: addons/web_calendar/static/src/js/calendar.js:505
|
||||
msgid "Navigator"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:139
|
||||
msgid "Today"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:5
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:6
|
||||
#: addons/web_calendar/static/src/js/calendar.js:140
|
||||
msgid "Day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:141
|
||||
msgid "Week"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:142
|
||||
msgid "Month"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:143
|
||||
msgid "New event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:144
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:145
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:146
|
||||
msgid "Details"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:147
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:148
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:150
|
||||
msgid "Event will be deleted permanently, are you sure?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:151
|
||||
#: addons/web_calendar/static/src/js/calendar.js:164
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:152
|
||||
msgid "Time period"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:153
|
||||
msgid "Full day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:156
|
||||
msgid "Do you want to edit the whole set of repeated events?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:157
|
||||
msgid "Repeat event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:158
|
||||
msgid "Disabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:159
|
||||
msgid "Enabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:162
|
||||
#: addons/web_calendar/static/src/js/calendar.js:170
|
||||
msgid "Agenda"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:163
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:167
|
||||
msgid "Year"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:8
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:9
|
||||
msgid " "
|
||||
msgstr " "
|
||||
|
|
|
@ -7,35 +7,138 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: openerp-web\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2012-02-06 17:33+0100\n"
|
||||
"POT-Creation-Date: 2012-07-02 09:06+0200\n"
|
||||
"PO-Revision-Date: 2012-02-08 07:27+0000\n"
|
||||
"Last-Translator: Daniel Campos <Unknown>\n"
|
||||
"Language-Team: Basque <eu@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2012-06-14 04:40+0000\n"
|
||||
"X-Generator: Launchpad (build 15405)\n"
|
||||
"X-Launchpad-Export-Date: 2012-07-03 05:55+0000\n"
|
||||
"X-Generator: Launchpad (build 15531)\n"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:11
|
||||
#: addons/web_calendar/static/src/js/calendar.js:12
|
||||
msgid "Calendar"
|
||||
msgstr "Egutegia"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:466
|
||||
#: addons/web_calendar/static/src/js/calendar.js:467
|
||||
msgid "Responsible"
|
||||
msgstr "Arduraduna"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:73
|
||||
msgid "Filter"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:504
|
||||
#: addons/web_calendar/static/src/js/calendar.js:505
|
||||
msgid "Navigator"
|
||||
msgstr "Nabigatzailea"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:139
|
||||
msgid "Today"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:5
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:6
|
||||
#: addons/web_calendar/static/src/js/calendar.js:140
|
||||
msgid "Day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:141
|
||||
msgid "Week"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:142
|
||||
msgid "Month"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:143
|
||||
msgid "New event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:144
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:145
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:146
|
||||
msgid "Details"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:147
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:148
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:150
|
||||
msgid "Event will be deleted permanently, are you sure?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:151
|
||||
#: addons/web_calendar/static/src/js/calendar.js:164
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:152
|
||||
msgid "Time period"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:153
|
||||
msgid "Full day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:156
|
||||
msgid "Do you want to edit the whole set of repeated events?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:157
|
||||
msgid "Repeat event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:158
|
||||
msgid "Disabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:159
|
||||
msgid "Enabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:162
|
||||
#: addons/web_calendar/static/src/js/calendar.js:170
|
||||
msgid "Agenda"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:163
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:167
|
||||
msgid "Year"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:8
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:9
|
||||
msgid " "
|
||||
msgstr " "
|
||||
|
||||
#~ msgid "Navigator"
|
||||
#~ msgstr "Nabigatzailea"
|
||||
|
|
|
@ -7,35 +7,138 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: openerp-web\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2012-02-06 17:33+0100\n"
|
||||
"POT-Creation-Date: 2012-07-02 09:06+0200\n"
|
||||
"PO-Revision-Date: 2012-03-19 12:03+0000\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: Finnish <fi@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2012-06-14 04:40+0000\n"
|
||||
"X-Generator: Launchpad (build 15405)\n"
|
||||
"X-Launchpad-Export-Date: 2012-07-03 05:55+0000\n"
|
||||
"X-Generator: Launchpad (build 15531)\n"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:11
|
||||
#: addons/web_calendar/static/src/js/calendar.js:12
|
||||
msgid "Calendar"
|
||||
msgstr "kalenteri"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:466
|
||||
#: addons/web_calendar/static/src/js/calendar.js:467
|
||||
msgid "Responsible"
|
||||
msgstr "Vastuuhenkilö"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:73
|
||||
msgid "Filter"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:504
|
||||
#: addons/web_calendar/static/src/js/calendar.js:505
|
||||
msgid "Navigator"
|
||||
msgstr "Navigaattori"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:139
|
||||
msgid "Today"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:5
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:6
|
||||
#: addons/web_calendar/static/src/js/calendar.js:140
|
||||
msgid "Day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:141
|
||||
msgid "Week"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:142
|
||||
msgid "Month"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:143
|
||||
msgid "New event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:144
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:145
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:146
|
||||
msgid "Details"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:147
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:148
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:150
|
||||
msgid "Event will be deleted permanently, are you sure?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:151
|
||||
#: addons/web_calendar/static/src/js/calendar.js:164
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:152
|
||||
msgid "Time period"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:153
|
||||
msgid "Full day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:156
|
||||
msgid "Do you want to edit the whole set of repeated events?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:157
|
||||
msgid "Repeat event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:158
|
||||
msgid "Disabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:159
|
||||
msgid "Enabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:162
|
||||
#: addons/web_calendar/static/src/js/calendar.js:170
|
||||
msgid "Agenda"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:163
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:167
|
||||
msgid "Year"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:8
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:9
|
||||
msgid " "
|
||||
msgstr " "
|
||||
|
||||
#~ msgid "Navigator"
|
||||
#~ msgstr "Navigaattori"
|
||||
|
|
|
@ -7,35 +7,138 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: openerp-web\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2012-02-06 17:33+0100\n"
|
||||
"POT-Creation-Date: 2012-07-02 09:06+0200\n"
|
||||
"PO-Revision-Date: 2012-02-15 10:37+0000\n"
|
||||
"Last-Translator: Fabrice (OpenERP) <Unknown>\n"
|
||||
"Language-Team: French <fr@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2012-06-14 04:40+0000\n"
|
||||
"X-Generator: Launchpad (build 15405)\n"
|
||||
"X-Launchpad-Export-Date: 2012-07-03 05:55+0000\n"
|
||||
"X-Generator: Launchpad (build 15531)\n"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:11
|
||||
#: addons/web_calendar/static/src/js/calendar.js:12
|
||||
msgid "Calendar"
|
||||
msgstr "Calendrier"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:466
|
||||
#: addons/web_calendar/static/src/js/calendar.js:467
|
||||
msgid "Responsible"
|
||||
msgstr "Responsable"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:73
|
||||
msgid "Filter"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:504
|
||||
#: addons/web_calendar/static/src/js/calendar.js:505
|
||||
msgid "Navigator"
|
||||
msgstr "Navigateur"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:139
|
||||
msgid "Today"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:5
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:6
|
||||
#: addons/web_calendar/static/src/js/calendar.js:140
|
||||
msgid "Day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:141
|
||||
msgid "Week"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:142
|
||||
msgid "Month"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:143
|
||||
msgid "New event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:144
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:145
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:146
|
||||
msgid "Details"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:147
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:148
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:150
|
||||
msgid "Event will be deleted permanently, are you sure?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:151
|
||||
#: addons/web_calendar/static/src/js/calendar.js:164
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:152
|
||||
msgid "Time period"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:153
|
||||
msgid "Full day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:156
|
||||
msgid "Do you want to edit the whole set of repeated events?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:157
|
||||
msgid "Repeat event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:158
|
||||
msgid "Disabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:159
|
||||
msgid "Enabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:162
|
||||
#: addons/web_calendar/static/src/js/calendar.js:170
|
||||
msgid "Agenda"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:163
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:167
|
||||
msgid "Year"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:8
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:9
|
||||
msgid " "
|
||||
msgstr " "
|
||||
|
||||
#~ msgid "Navigator"
|
||||
#~ msgstr "Navigateur"
|
||||
|
|
|
@ -7,35 +7,138 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: openerp-web\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2012-02-06 17:33+0100\n"
|
||||
"POT-Creation-Date: 2012-07-02 09:06+0200\n"
|
||||
"PO-Revision-Date: 2012-02-09 14:24+0000\n"
|
||||
"Last-Translator: Vicente <jviares@gmail.com>\n"
|
||||
"Language-Team: Galician <gl@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2012-06-14 04:40+0000\n"
|
||||
"X-Generator: Launchpad (build 15405)\n"
|
||||
"X-Launchpad-Export-Date: 2012-07-03 05:55+0000\n"
|
||||
"X-Generator: Launchpad (build 15531)\n"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:11
|
||||
#: addons/web_calendar/static/src/js/calendar.js:12
|
||||
msgid "Calendar"
|
||||
msgstr "Calendario"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:466
|
||||
#: addons/web_calendar/static/src/js/calendar.js:467
|
||||
msgid "Responsible"
|
||||
msgstr "Responsable"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:73
|
||||
msgid "Filter"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:504
|
||||
#: addons/web_calendar/static/src/js/calendar.js:505
|
||||
msgid "Navigator"
|
||||
msgstr "Navegador"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:139
|
||||
msgid "Today"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:5
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:6
|
||||
#: addons/web_calendar/static/src/js/calendar.js:140
|
||||
msgid "Day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:141
|
||||
msgid "Week"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:142
|
||||
msgid "Month"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:143
|
||||
msgid "New event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:144
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:145
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:146
|
||||
msgid "Details"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:147
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:148
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:150
|
||||
msgid "Event will be deleted permanently, are you sure?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:151
|
||||
#: addons/web_calendar/static/src/js/calendar.js:164
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:152
|
||||
msgid "Time period"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:153
|
||||
msgid "Full day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:156
|
||||
msgid "Do you want to edit the whole set of repeated events?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:157
|
||||
msgid "Repeat event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:158
|
||||
msgid "Disabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:159
|
||||
msgid "Enabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:162
|
||||
#: addons/web_calendar/static/src/js/calendar.js:170
|
||||
msgid "Agenda"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:163
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:167
|
||||
msgid "Year"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:8
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:9
|
||||
msgid " "
|
||||
msgstr " "
|
||||
|
||||
#~ msgid "Navigator"
|
||||
#~ msgstr "Navegador"
|
||||
|
|
|
@ -7,35 +7,138 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: openerp-web\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2012-02-06 17:33+0100\n"
|
||||
"POT-Creation-Date: 2012-07-02 09:06+0200\n"
|
||||
"PO-Revision-Date: 2011-12-19 16:06+0000\n"
|
||||
"Last-Translator: Goran Kliska <gkliska@gmail.com>\n"
|
||||
"Language-Team: Croatian <hr@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2012-06-14 04:40+0000\n"
|
||||
"X-Generator: Launchpad (build 15405)\n"
|
||||
"X-Launchpad-Export-Date: 2012-07-03 05:55+0000\n"
|
||||
"X-Generator: Launchpad (build 15531)\n"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:11
|
||||
#: addons/web_calendar/static/src/js/calendar.js:12
|
||||
msgid "Calendar"
|
||||
msgstr "Kalendar"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:466
|
||||
#: addons/web_calendar/static/src/js/calendar.js:467
|
||||
msgid "Responsible"
|
||||
msgstr "Odgovoran"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:73
|
||||
msgid "Filter"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:504
|
||||
#: addons/web_calendar/static/src/js/calendar.js:505
|
||||
msgid "Navigator"
|
||||
msgstr "Navigator"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:139
|
||||
msgid "Today"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:5
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:6
|
||||
#: addons/web_calendar/static/src/js/calendar.js:140
|
||||
msgid "Day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:141
|
||||
msgid "Week"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:142
|
||||
msgid "Month"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:143
|
||||
msgid "New event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:144
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:145
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:146
|
||||
msgid "Details"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:147
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:148
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:150
|
||||
msgid "Event will be deleted permanently, are you sure?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:151
|
||||
#: addons/web_calendar/static/src/js/calendar.js:164
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:152
|
||||
msgid "Time period"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:153
|
||||
msgid "Full day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:156
|
||||
msgid "Do you want to edit the whole set of repeated events?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:157
|
||||
msgid "Repeat event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:158
|
||||
msgid "Disabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:159
|
||||
msgid "Enabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:162
|
||||
#: addons/web_calendar/static/src/js/calendar.js:170
|
||||
msgid "Agenda"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:163
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:167
|
||||
msgid "Year"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:8
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:9
|
||||
msgid " "
|
||||
msgstr " "
|
||||
|
||||
#~ msgid "Navigator"
|
||||
#~ msgstr "Navigator"
|
||||
|
|
|
@ -7,35 +7,138 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: openerp-web\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2012-02-06 17:33+0100\n"
|
||||
"POT-Creation-Date: 2012-07-02 09:06+0200\n"
|
||||
"PO-Revision-Date: 2012-02-08 14:59+0000\n"
|
||||
"Last-Translator: Budi Iskandar <Unknown>\n"
|
||||
"Language-Team: Indonesian <id@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2012-06-14 04:40+0000\n"
|
||||
"X-Generator: Launchpad (build 15405)\n"
|
||||
"X-Launchpad-Export-Date: 2012-07-03 05:55+0000\n"
|
||||
"X-Generator: Launchpad (build 15531)\n"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:11
|
||||
#: addons/web_calendar/static/src/js/calendar.js:12
|
||||
msgid "Calendar"
|
||||
msgstr "Kalender"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:466
|
||||
#: addons/web_calendar/static/src/js/calendar.js:467
|
||||
msgid "Responsible"
|
||||
msgstr "Yang Bertanggung Jawab"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:73
|
||||
msgid "Filter"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:504
|
||||
#: addons/web_calendar/static/src/js/calendar.js:505
|
||||
msgid "Navigator"
|
||||
msgstr "Pengarah"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:139
|
||||
msgid "Today"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:5
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:6
|
||||
#: addons/web_calendar/static/src/js/calendar.js:140
|
||||
msgid "Day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:141
|
||||
msgid "Week"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:142
|
||||
msgid "Month"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:143
|
||||
msgid "New event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:144
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:145
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:146
|
||||
msgid "Details"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:147
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:148
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:150
|
||||
msgid "Event will be deleted permanently, are you sure?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:151
|
||||
#: addons/web_calendar/static/src/js/calendar.js:164
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:152
|
||||
msgid "Time period"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:153
|
||||
msgid "Full day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:156
|
||||
msgid "Do you want to edit the whole set of repeated events?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:157
|
||||
msgid "Repeat event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:158
|
||||
msgid "Disabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:159
|
||||
msgid "Enabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:162
|
||||
#: addons/web_calendar/static/src/js/calendar.js:170
|
||||
msgid "Agenda"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:163
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:167
|
||||
msgid "Year"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:8
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:9
|
||||
msgid " "
|
||||
msgstr " "
|
||||
|
||||
#~ msgid "Navigator"
|
||||
#~ msgstr "Pengarah"
|
||||
|
|
|
@ -7,35 +7,138 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: openerp-web\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2012-02-06 17:33+0100\n"
|
||||
"POT-Creation-Date: 2012-07-02 09:06+0200\n"
|
||||
"PO-Revision-Date: 2012-02-16 21:55+0000\n"
|
||||
"Last-Translator: Davide Corio - agilebg.com <davide.corio@agilebg.com>\n"
|
||||
"Language-Team: Italian <it@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2012-06-14 04:40+0000\n"
|
||||
"X-Generator: Launchpad (build 15405)\n"
|
||||
"X-Launchpad-Export-Date: 2012-07-03 05:55+0000\n"
|
||||
"X-Generator: Launchpad (build 15531)\n"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:11
|
||||
#: addons/web_calendar/static/src/js/calendar.js:12
|
||||
msgid "Calendar"
|
||||
msgstr "Calendario"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:466
|
||||
#: addons/web_calendar/static/src/js/calendar.js:467
|
||||
msgid "Responsible"
|
||||
msgstr "Responsabile"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:73
|
||||
msgid "Filter"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:504
|
||||
#: addons/web_calendar/static/src/js/calendar.js:505
|
||||
msgid "Navigator"
|
||||
msgstr "Navigatore"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:139
|
||||
msgid "Today"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:5
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:6
|
||||
#: addons/web_calendar/static/src/js/calendar.js:140
|
||||
msgid "Day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:141
|
||||
msgid "Week"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:142
|
||||
msgid "Month"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:143
|
||||
msgid "New event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:144
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:145
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:146
|
||||
msgid "Details"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:147
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:148
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:150
|
||||
msgid "Event will be deleted permanently, are you sure?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:151
|
||||
#: addons/web_calendar/static/src/js/calendar.js:164
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:152
|
||||
msgid "Time period"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:153
|
||||
msgid "Full day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:156
|
||||
msgid "Do you want to edit the whole set of repeated events?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:157
|
||||
msgid "Repeat event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:158
|
||||
msgid "Disabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:159
|
||||
msgid "Enabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:162
|
||||
#: addons/web_calendar/static/src/js/calendar.js:170
|
||||
msgid "Agenda"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:163
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:167
|
||||
msgid "Year"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:8
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:9
|
||||
msgid " "
|
||||
msgstr " "
|
||||
|
||||
#~ msgid "Navigator"
|
||||
#~ msgstr "Navigatore"
|
||||
|
|
|
@ -7,35 +7,138 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: openerp-web\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2012-02-06 17:33+0100\n"
|
||||
"POT-Creation-Date: 2012-07-02 09:06+0200\n"
|
||||
"PO-Revision-Date: 2012-02-22 02:18+0000\n"
|
||||
"Last-Translator: Masaki Yamaya <Unknown>\n"
|
||||
"Language-Team: Japanese <ja@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2012-06-14 04:40+0000\n"
|
||||
"X-Generator: Launchpad (build 15405)\n"
|
||||
"X-Launchpad-Export-Date: 2012-07-03 05:55+0000\n"
|
||||
"X-Generator: Launchpad (build 15531)\n"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:11
|
||||
#: addons/web_calendar/static/src/js/calendar.js:12
|
||||
msgid "Calendar"
|
||||
msgstr "カレンダー"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:466
|
||||
#: addons/web_calendar/static/src/js/calendar.js:467
|
||||
msgid "Responsible"
|
||||
msgstr "責任担当"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:73
|
||||
msgid "Filter"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:504
|
||||
#: addons/web_calendar/static/src/js/calendar.js:505
|
||||
msgid "Navigator"
|
||||
msgstr "ナビゲータ"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:139
|
||||
msgid "Today"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:5
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:6
|
||||
#: addons/web_calendar/static/src/js/calendar.js:140
|
||||
msgid "Day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:141
|
||||
msgid "Week"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:142
|
||||
msgid "Month"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:143
|
||||
msgid "New event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:144
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:145
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:146
|
||||
msgid "Details"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:147
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:148
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:150
|
||||
msgid "Event will be deleted permanently, are you sure?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:151
|
||||
#: addons/web_calendar/static/src/js/calendar.js:164
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:152
|
||||
msgid "Time period"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:153
|
||||
msgid "Full day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:156
|
||||
msgid "Do you want to edit the whole set of repeated events?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:157
|
||||
msgid "Repeat event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:158
|
||||
msgid "Disabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:159
|
||||
msgid "Enabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:162
|
||||
#: addons/web_calendar/static/src/js/calendar.js:170
|
||||
msgid "Agenda"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:163
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:167
|
||||
msgid "Year"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:8
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:9
|
||||
msgid " "
|
||||
msgstr " "
|
||||
|
||||
#~ msgid "Navigator"
|
||||
#~ msgstr "ナビゲータ"
|
||||
|
|
|
@ -7,35 +7,138 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: openerp-web\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2012-02-06 17:33+0100\n"
|
||||
"POT-Creation-Date: 2012-07-02 09:06+0200\n"
|
||||
"PO-Revision-Date: 2012-03-15 18:25+0000\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: Georgian <ka@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2012-06-14 04:40+0000\n"
|
||||
"X-Generator: Launchpad (build 15405)\n"
|
||||
"X-Launchpad-Export-Date: 2012-07-03 05:55+0000\n"
|
||||
"X-Generator: Launchpad (build 15531)\n"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:11
|
||||
#: addons/web_calendar/static/src/js/calendar.js:12
|
||||
msgid "Calendar"
|
||||
msgstr "კალენდარი"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:466
|
||||
#: addons/web_calendar/static/src/js/calendar.js:467
|
||||
msgid "Responsible"
|
||||
msgstr "პასუხისმგებელი"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:73
|
||||
msgid "Filter"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:504
|
||||
#: addons/web_calendar/static/src/js/calendar.js:505
|
||||
msgid "Navigator"
|
||||
msgstr "ნავიგატორი"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:139
|
||||
msgid "Today"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:5
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:6
|
||||
#: addons/web_calendar/static/src/js/calendar.js:140
|
||||
msgid "Day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:141
|
||||
msgid "Week"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:142
|
||||
msgid "Month"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:143
|
||||
msgid "New event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:144
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:145
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:146
|
||||
msgid "Details"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:147
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:148
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:150
|
||||
msgid "Event will be deleted permanently, are you sure?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:151
|
||||
#: addons/web_calendar/static/src/js/calendar.js:164
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:152
|
||||
msgid "Time period"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:153
|
||||
msgid "Full day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:156
|
||||
msgid "Do you want to edit the whole set of repeated events?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:157
|
||||
msgid "Repeat event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:158
|
||||
msgid "Disabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:159
|
||||
msgid "Enabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:162
|
||||
#: addons/web_calendar/static/src/js/calendar.js:170
|
||||
msgid "Agenda"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:163
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:167
|
||||
msgid "Year"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:8
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:9
|
||||
msgid " "
|
||||
msgstr " "
|
||||
|
||||
#~ msgid "Navigator"
|
||||
#~ msgstr "ნავიგატორი"
|
||||
|
|
|
@ -7,35 +7,138 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: openerp-web\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2012-02-06 17:33+0100\n"
|
||||
"POT-Creation-Date: 2012-07-02 09:06+0200\n"
|
||||
"PO-Revision-Date: 2012-02-08 11:05+0000\n"
|
||||
"Last-Translator: Nikola Stojanoski <nstojanoski@vion.mk>\n"
|
||||
"Language-Team: Macedonian <mk@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2012-06-14 04:40+0000\n"
|
||||
"X-Generator: Launchpad (build 15405)\n"
|
||||
"X-Launchpad-Export-Date: 2012-07-03 05:55+0000\n"
|
||||
"X-Generator: Launchpad (build 15531)\n"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:11
|
||||
#: addons/web_calendar/static/src/js/calendar.js:12
|
||||
msgid "Calendar"
|
||||
msgstr "Календар"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:466
|
||||
#: addons/web_calendar/static/src/js/calendar.js:467
|
||||
msgid "Responsible"
|
||||
msgstr "Одговорен"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:73
|
||||
msgid "Filter"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:504
|
||||
#: addons/web_calendar/static/src/js/calendar.js:505
|
||||
msgid "Navigator"
|
||||
msgstr "Навигатор"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:139
|
||||
msgid "Today"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:5
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:6
|
||||
#: addons/web_calendar/static/src/js/calendar.js:140
|
||||
msgid "Day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:141
|
||||
msgid "Week"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:142
|
||||
msgid "Month"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:143
|
||||
msgid "New event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:144
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:145
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:146
|
||||
msgid "Details"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:147
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:148
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:150
|
||||
msgid "Event will be deleted permanently, are you sure?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:151
|
||||
#: addons/web_calendar/static/src/js/calendar.js:164
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:152
|
||||
msgid "Time period"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:153
|
||||
msgid "Full day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:156
|
||||
msgid "Do you want to edit the whole set of repeated events?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:157
|
||||
msgid "Repeat event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:158
|
||||
msgid "Disabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:159
|
||||
msgid "Enabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:162
|
||||
#: addons/web_calendar/static/src/js/calendar.js:170
|
||||
msgid "Agenda"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:163
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:167
|
||||
msgid "Year"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:8
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:9
|
||||
msgid " "
|
||||
msgstr " "
|
||||
|
||||
#~ msgid "Navigator"
|
||||
#~ msgstr "Навигатор"
|
||||
|
|
|
@ -7,35 +7,138 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: openerp-web\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2012-02-06 17:33+0100\n"
|
||||
"POT-Creation-Date: 2012-07-02 09:06+0200\n"
|
||||
"PO-Revision-Date: 2012-06-13 17:27+0000\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: Mongolian <mn@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2012-06-14 04:40+0000\n"
|
||||
"X-Generator: Launchpad (build 15405)\n"
|
||||
"X-Launchpad-Export-Date: 2012-07-03 05:55+0000\n"
|
||||
"X-Generator: Launchpad (build 15531)\n"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:11
|
||||
#: addons/web_calendar/static/src/js/calendar.js:12
|
||||
msgid "Calendar"
|
||||
msgstr "Цаглабар"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:466
|
||||
#: addons/web_calendar/static/src/js/calendar.js:467
|
||||
msgid "Responsible"
|
||||
msgstr "Хариуцагч"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:73
|
||||
msgid "Filter"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:504
|
||||
#: addons/web_calendar/static/src/js/calendar.js:505
|
||||
msgid "Navigator"
|
||||
msgstr "Жолоо"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:139
|
||||
msgid "Today"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:5
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:6
|
||||
#: addons/web_calendar/static/src/js/calendar.js:140
|
||||
msgid "Day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:141
|
||||
msgid "Week"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:142
|
||||
msgid "Month"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:143
|
||||
msgid "New event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:144
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:145
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:146
|
||||
msgid "Details"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:147
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:148
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:150
|
||||
msgid "Event will be deleted permanently, are you sure?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:151
|
||||
#: addons/web_calendar/static/src/js/calendar.js:164
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:152
|
||||
msgid "Time period"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:153
|
||||
msgid "Full day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:156
|
||||
msgid "Do you want to edit the whole set of repeated events?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:157
|
||||
msgid "Repeat event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:158
|
||||
msgid "Disabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:159
|
||||
msgid "Enabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:162
|
||||
#: addons/web_calendar/static/src/js/calendar.js:170
|
||||
msgid "Agenda"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:163
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:167
|
||||
msgid "Year"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:8
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:9
|
||||
msgid " "
|
||||
msgstr " "
|
||||
|
||||
#~ msgid "Navigator"
|
||||
#~ msgstr "Жолоо"
|
||||
|
|
|
@ -7,35 +7,138 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: openerp-web\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2012-02-06 17:33+0100\n"
|
||||
"POT-Creation-Date: 2012-07-02 09:06+0200\n"
|
||||
"PO-Revision-Date: 2012-03-28 13:05+0000\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: Norwegian Bokmal <nb@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2012-06-14 04:40+0000\n"
|
||||
"X-Generator: Launchpad (build 15405)\n"
|
||||
"X-Launchpad-Export-Date: 2012-07-03 05:55+0000\n"
|
||||
"X-Generator: Launchpad (build 15531)\n"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:11
|
||||
#: addons/web_calendar/static/src/js/calendar.js:12
|
||||
msgid "Calendar"
|
||||
msgstr "Kalender"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:466
|
||||
#: addons/web_calendar/static/src/js/calendar.js:467
|
||||
msgid "Responsible"
|
||||
msgstr "Ansvarlig"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:73
|
||||
msgid "Filter"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:504
|
||||
#: addons/web_calendar/static/src/js/calendar.js:505
|
||||
msgid "Navigator"
|
||||
msgstr "Navigator"
|
||||
#: addons/web_calendar/static/src/js/calendar.js:139
|
||||
msgid "Today"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:5
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:6
|
||||
#: addons/web_calendar/static/src/js/calendar.js:140
|
||||
msgid "Day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:141
|
||||
msgid "Week"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:142
|
||||
msgid "Month"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:143
|
||||
msgid "New event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:144
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:145
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:146
|
||||
msgid "Details"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:147
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:148
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:150
|
||||
msgid "Event will be deleted permanently, are you sure?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:151
|
||||
#: addons/web_calendar/static/src/js/calendar.js:164
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:152
|
||||
msgid "Time period"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:153
|
||||
msgid "Full day"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:156
|
||||
msgid "Do you want to edit the whole set of repeated events?"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:157
|
||||
msgid "Repeat event"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:158
|
||||
msgid "Disabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:159
|
||||
msgid "Enabled"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:162
|
||||
#: addons/web_calendar/static/src/js/calendar.js:170
|
||||
msgid "Agenda"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:163
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/js/calendar.js:167
|
||||
msgid "Year"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:8
|
||||
#: addons/web_calendar/static/src/xml/web_calendar.xml:9
|
||||
msgid " "
|
||||
msgstr " "
|
||||
|
||||
#~ msgid "Navigator"
|
||||
#~ msgstr "Navigator"
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue