[MERGE] Merged from openerp-web.
bzr revid: psa@tinyerp.com-20120711061408-0isdrpv5lndk04jp
This commit is contained in:
commit
2a1350bd7a
|
@ -194,7 +194,9 @@ class WebClient(openerpweb.Controller):
|
|||
if mods is not None:
|
||||
path += '?mods=' + mods
|
||||
return [path]
|
||||
return ['%s?debug=%s' % (wp, os.path.getmtime(fp)) for fp, wp in self.manifest_glob(req, mods, extension)]
|
||||
# old code to force cache reloading
|
||||
#return ['%s?debug=%s' % (wp, os.path.getmtime(fp)) for fp, wp in self.manifest_glob(req, mods, extension)]
|
||||
return [el[1] for el in self.manifest_glob(req, mods, extension)]
|
||||
|
||||
@openerpweb.jsonrequest
|
||||
def csslist(self, req, mods=None):
|
||||
|
|
|
@ -386,8 +386,11 @@
|
|||
visibility: hidden;
|
||||
}
|
||||
.openerp .oe_button_box {
|
||||
width: 200px;
|
||||
text-align: center;
|
||||
width: 38%;
|
||||
text-align: right;
|
||||
}
|
||||
.openerp .oe_button_box button {
|
||||
margin: 4px;
|
||||
}
|
||||
.openerp .oe_avatar {
|
||||
margin: 0 16px 0 0;
|
||||
|
@ -536,7 +539,7 @@
|
|||
cursor: pointer;
|
||||
}
|
||||
.openerp .oe_dropdown_toggle {
|
||||
color: #888888;
|
||||
color: #404040;
|
||||
font-weight: normal;
|
||||
}
|
||||
.openerp .oe_dropdown_hover:hover .oe_dropdown_menu, .openerp .oe_dropdown_menu.oe_opened {
|
||||
|
@ -545,7 +548,8 @@
|
|||
.openerp .oe_dropdown_menu {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: 32px;
|
||||
top: 26px;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
border: 1px solid #afafb6;
|
||||
background: white;
|
||||
|
@ -1733,6 +1737,9 @@
|
|||
.openerp .oe_form_readonly .oe_edit_only, .openerp .oe_form_readonly .oe_form_field:empty {
|
||||
display: none !important;
|
||||
}
|
||||
.openerp .oe_form_readonly .oe_form .oe_form_field_date {
|
||||
width: auto;
|
||||
}
|
||||
.openerp .oe_form_nosheet {
|
||||
margin-left: 10px;
|
||||
margin-right: 10px;
|
||||
|
@ -1854,19 +1861,22 @@
|
|||
.openerp .oe_form td.oe_form_group_cell_label label {
|
||||
line-height: 18px;
|
||||
display: block;
|
||||
min-width: 120px;
|
||||
min-width: 110px;
|
||||
}
|
||||
.openerp .oe_form td.oe_form_group_cell + .oe_form_group_cell {
|
||||
padding-left: 8px;
|
||||
padding-left: 6px;
|
||||
}
|
||||
.openerp .oe_form .oe_form_group {
|
||||
width: 100%;
|
||||
margin: 4px 0 4px 0;
|
||||
}
|
||||
.openerp .oe_form .oe_form_group .oe_group_right > tbody > tr > td:first-child {
|
||||
padding-left: 18px;
|
||||
}
|
||||
.openerp .oe_form .oe_form_label_help[for], .openerp .oe_form .oe_form_label[for] {
|
||||
font-weight: bold;
|
||||
white-space: nowrap;
|
||||
padding-right: 8px;
|
||||
padding-right: 6px;
|
||||
}
|
||||
.openerp .oe_form .oe_form_label_help[for] span, .openerp .oe_form .oe_form_label[for] span {
|
||||
font-size: 80%;
|
||||
|
@ -1923,9 +1933,10 @@
|
|||
}
|
||||
.openerp .oe_form .oe_form_field_char input,
|
||||
.openerp .oe_form .oe_form_field_url input,
|
||||
.openerp .oe_form .oe_form_field_email input,
|
||||
.openerp .oe_form .oe_form_field_text textarea,
|
||||
.openerp .oe_form .oe_form_field_selection select {
|
||||
width: inherit;
|
||||
width: 100%;
|
||||
}
|
||||
.openerp .oe_form .oe_form_field_text.oe_inline, .openerp .oe_form .oe_form_field_text.oe_inline > textarea {
|
||||
width: 500px;
|
||||
|
@ -1962,7 +1973,7 @@
|
|||
width: 180px;
|
||||
}
|
||||
.openerp .oe_form .oe_form_field_date {
|
||||
width: 7em;
|
||||
width: 7.5em;
|
||||
}
|
||||
.openerp .oe_form .oe_form_field_datetime {
|
||||
width: 11em;
|
||||
|
@ -1995,15 +2006,6 @@
|
|||
-webkit-border-radius: 0px;
|
||||
border-radius: 0px;
|
||||
}
|
||||
.openerp .oe_form .oe_form_field_many2one input, .openerp .oe_form .oe_form_field_binary input, .openerp .oe_form .oe_form_field_binary input, .openerp .oe_form .oe_form_field_url input {
|
||||
border-right: none;
|
||||
-webkit-border-top-right-radius: 0px;
|
||||
-webkit-border-bottom-right-radius: 0px;
|
||||
-moz-border-radius-topright: 0px;
|
||||
-moz-border-radius-bottomright: 0px;
|
||||
border-top-right-radius: 0px;
|
||||
border-bottom-right-radius: 0px;
|
||||
}
|
||||
.openerp .oe_form .oe_form_field_url button img {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
@ -2067,10 +2069,19 @@
|
|||
right: 5px;
|
||||
top: 3px;
|
||||
}
|
||||
.openerp .oe_form .oe_form_field_with_button input {
|
||||
width: 100%;
|
||||
.openerp .oe_form .oe_form_field_with_button.oe_no_button > .oe_button {
|
||||
display: none;
|
||||
}
|
||||
.openerp .oe_form .oe_form_field_with_button > .oe_button {
|
||||
.openerp .oe_form .oe_form_field_with_button:not(.oe_no_button) input {
|
||||
border-right: none;
|
||||
-webkit-border-top-right-radius: 0px;
|
||||
-webkit-border-bottom-right-radius: 0px;
|
||||
-moz-border-radius-topright: 0px;
|
||||
-moz-border-radius-bottomright: 0px;
|
||||
border-top-right-radius: 0px;
|
||||
border-bottom-right-radius: 0px;
|
||||
}
|
||||
.openerp .oe_form .oe_form_field_with_button:not(.oe_no_button) > .oe_button {
|
||||
float: right;
|
||||
-moz-border-radius: 0;
|
||||
-webkit-border-radius: 0;
|
||||
|
@ -2078,6 +2089,9 @@
|
|||
border-bottom-left-radius: 0px;
|
||||
height: 22px;
|
||||
}
|
||||
.openerp .oe_form .oe_form_field_with_button input {
|
||||
width: 100%;
|
||||
}
|
||||
.openerp .oe_form .oe_form_field_with_button > div {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
|
@ -2132,8 +2146,8 @@
|
|||
}
|
||||
.openerp .oe_form_field_many2one span.oe_m2o_drop_down_button {
|
||||
position: absolute;
|
||||
top: 3px;
|
||||
right: 2px;
|
||||
top: 1px;
|
||||
right: 0px;
|
||||
}
|
||||
.openerp .oe_form .oe_form_field_one2many > .oe_view_manager .oe_list_pager_single_page {
|
||||
display: none;
|
||||
|
@ -2347,6 +2361,12 @@
|
|||
.kitten-mode-activated > * {
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
div.ui-widget-overlay {
|
||||
background: black;
|
||||
filter: alpha(opacity=30);
|
||||
opacity: 0.3;
|
||||
}
|
||||
.openerp .oe_bounce_button_left {
|
||||
float: left;
|
||||
margin-right: 4px;
|
||||
|
|
|
@ -330,8 +330,10 @@ $sheet-max-width: 860px
|
|||
clear: both
|
||||
visibility: hidden
|
||||
.oe_button_box
|
||||
width: 200px
|
||||
text-align: center
|
||||
width: 38%
|
||||
text-align: right
|
||||
button
|
||||
margin: 4px
|
||||
.oe_avatar
|
||||
margin: 0 16px 0 0
|
||||
img
|
||||
|
@ -432,14 +434,15 @@ $sheet-max-width: 860px
|
|||
position: relative
|
||||
cursor: pointer
|
||||
.oe_dropdown_toggle
|
||||
color: #888
|
||||
color: #404040
|
||||
font-weight: normal
|
||||
.oe_dropdown_hover:hover .oe_dropdown_menu, .oe_dropdown_menu.oe_opened
|
||||
display: block
|
||||
.oe_dropdown_menu
|
||||
display: none
|
||||
position: absolute
|
||||
top: 32px
|
||||
top: 26px
|
||||
left: 0
|
||||
z-index: 1
|
||||
border: 1px solid #afafb6
|
||||
background: white
|
||||
|
@ -1351,6 +1354,8 @@ $sheet-max-width: 860px
|
|||
.oe_form_readonly
|
||||
.oe_edit_only, .oe_form_field:empty
|
||||
display: none !important
|
||||
.oe_form .oe_form_field_date
|
||||
width: auto
|
||||
.oe_form_nosheet
|
||||
margin-left: 10px
|
||||
margin-right: 10px
|
||||
|
@ -1447,19 +1452,22 @@ $sheet-max-width: 860px
|
|||
label
|
||||
line-height: 18px
|
||||
display: block
|
||||
min-width: 120px
|
||||
min-width: 110px
|
||||
td.oe_form_group_cell + .oe_form_group_cell
|
||||
padding-left: 8px
|
||||
padding-left: 6px
|
||||
.oe_form_group
|
||||
width: 100%
|
||||
margin: 4px 0 4px 0
|
||||
.oe_group_right
|
||||
> tbody > tr > td:first-child
|
||||
padding-left: 18px
|
||||
// }}}
|
||||
// FormView.label {{{
|
||||
.oe_form
|
||||
.oe_form_label_help[for], .oe_form_label[for]
|
||||
font-weight: bold
|
||||
white-space: nowrap
|
||||
padding-right: 8px
|
||||
padding-right: 6px
|
||||
span
|
||||
font-size: 80%
|
||||
color: darkGreen
|
||||
|
@ -1507,9 +1515,10 @@ $sheet-max-width: 860px
|
|||
width: 100%
|
||||
.oe_form_field_char input,
|
||||
.oe_form_field_url input,
|
||||
.oe_form_field_email input,
|
||||
.oe_form_field_text textarea,
|
||||
.oe_form_field_selection select
|
||||
width: inherit
|
||||
width: 100%
|
||||
.oe_form_field_text.oe_inline, .oe_form_field_text.oe_inline > textarea
|
||||
width: 500px
|
||||
.oe_form_field_float input
|
||||
|
@ -1535,7 +1544,7 @@ $sheet-max-width: 860px
|
|||
.oe_form_field_float
|
||||
width: 180px
|
||||
.oe_form_field_date
|
||||
width: 7em
|
||||
width: 7.5em
|
||||
.oe_form_field_datetime
|
||||
width: 11em
|
||||
input[type="text"], input[type="password"], input[type="file"], select
|
||||
|
@ -1555,14 +1564,6 @@ $sheet-max-width: 860px
|
|||
padding-left: 8px
|
||||
@include box-shadow(none)
|
||||
@include radius(0px)
|
||||
.oe_form_field_many2one input, .oe_form_field_binary input, .oe_form_field_binary input, .oe_form_field_url input
|
||||
border-right: none
|
||||
-webkit-border-top-right-radius: 0px
|
||||
-webkit-border-bottom-right-radius: 0px
|
||||
-moz-border-radius-topright: 0px
|
||||
-moz-border-radius-bottomright: 0px
|
||||
border-top-right-radius: 0px
|
||||
border-bottom-right-radius: 0px
|
||||
.oe_form_field_url button img
|
||||
vertical-align: top
|
||||
.oe_form_field_date,
|
||||
|
@ -1613,14 +1614,25 @@ $sheet-max-width: 860px
|
|||
filter: alpha(opacity=50)
|
||||
right: 5px
|
||||
top: 3px
|
||||
.oe_form_field_with_button
|
||||
.oe_form_field_with_button.oe_no_button > .oe_button
|
||||
display: none
|
||||
.oe_form_field_with_button:not(.oe_no_button)
|
||||
input
|
||||
width: 100%
|
||||
border-right: none
|
||||
-webkit-border-top-right-radius: 0px
|
||||
-webkit-border-bottom-right-radius: 0px
|
||||
-moz-border-radius-topright: 0px
|
||||
-moz-border-radius-bottomright: 0px
|
||||
border-top-right-radius: 0px
|
||||
border-bottom-right-radius: 0px
|
||||
> .oe_button
|
||||
float: right
|
||||
@include radius(0)
|
||||
border-bottom-left-radius: 0px
|
||||
height: 22px
|
||||
.oe_form_field_with_button
|
||||
input
|
||||
width: 100%
|
||||
> div
|
||||
position: relative
|
||||
overflow: hidden
|
||||
|
@ -1675,8 +1687,8 @@ $sheet-max-width: 860px
|
|||
position: relative
|
||||
span.oe_m2o_drop_down_button
|
||||
position: absolute
|
||||
top: 3px
|
||||
right: 2px
|
||||
top: 1px
|
||||
right: 0px
|
||||
// }}}
|
||||
// FormView.one2many {{{
|
||||
.oe_form .oe_form_field_one2many > .oe_view_manager
|
||||
|
@ -1850,5 +1862,8 @@ $sheet-max-width: 860px
|
|||
opacity: 0.70
|
||||
// }}}
|
||||
|
||||
div.ui-widget-overlay
|
||||
background: black
|
||||
@include opacity(0.3)
|
||||
// au BufWritePost,FileWritePost *.sass :!sass --style expanded --line-numbers <afile> > "%:p:r.css"
|
||||
// vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker:
|
||||
|
|
|
@ -1198,6 +1198,10 @@ instance.web.form.FormRenderingEngine = instance.web.form.FormRenderingEngineInt
|
|||
if (!$tr || row_cols < colspan) {
|
||||
$tr = $('<tr/>').addClass('oe_form_group_row').appendTo($table);
|
||||
row_cols = cols;
|
||||
} else if (tagName==='group') {
|
||||
// When <group> <group/><group/> </group>, we need a spacing between the two groups
|
||||
$child.addClass('oe_group_right')
|
||||
|
||||
}
|
||||
row_cols -= colspan;
|
||||
|
||||
|
@ -2569,6 +2573,7 @@ instance.web.form.FieldMany2One = instance.web.form.AbstractField.extend(instanc
|
|||
this.last_search = [];
|
||||
this.floating = false;
|
||||
this.inhibit_on_change = false;
|
||||
this.current_display = null;
|
||||
},
|
||||
start: function() {
|
||||
this._super();
|
||||
|
@ -2620,11 +2625,15 @@ instance.web.form.FieldMany2One = instance.web.form.AbstractField.extend(instanc
|
|||
});
|
||||
|
||||
// some behavior for input
|
||||
this.$input.keyup(function() {
|
||||
if (self.$input.val() === "") {
|
||||
self.set({value: false});
|
||||
} else {
|
||||
self.floating = true;
|
||||
this.$input.keydown(function() {
|
||||
if (self.current_display !== self.$input.val()) {
|
||||
self.current_display = self.$input.val();
|
||||
if (self.$input.val() === "") {
|
||||
self.set({value: false});
|
||||
self.floating = false;
|
||||
} else {
|
||||
self.floating = true;
|
||||
}
|
||||
}
|
||||
});
|
||||
this.$drop_down.click(function() {
|
||||
|
@ -2662,7 +2671,7 @@ instance.web.form.FieldMany2One = instance.web.form.AbstractField.extend(instanc
|
|||
}
|
||||
self.floating = false;
|
||||
}
|
||||
if (used) {
|
||||
if (used && self.get("value") === false) {
|
||||
tip_def.reject();
|
||||
untip_def.reject();
|
||||
tip_def = $.Deferred();
|
||||
|
@ -2717,7 +2726,7 @@ instance.web.form.FieldMany2One = instance.web.form.AbstractField.extend(instanc
|
|||
this.$input.autocomplete("widget").addClass("openerp");
|
||||
// used to correct a bug when selecting an element by pushing 'enter' in an editable list
|
||||
this.$input.keyup(function(e) {
|
||||
if (e.which === 13) {
|
||||
if (e.which === 13) { // ENTER
|
||||
if (isSelecting)
|
||||
e.stopPropagation();
|
||||
}
|
||||
|
@ -2749,6 +2758,7 @@ instance.web.form.FieldMany2One = instance.web.form.AbstractField.extend(instanc
|
|||
var self = this;
|
||||
if (!this.get("effective_readonly")) {
|
||||
this.$input.val(str.split("\n")[0]);
|
||||
this.current_display = this.$input.val();
|
||||
} else {
|
||||
str = _.escape(str).split("\n").join("<br />");
|
||||
this.$element.find('a')
|
||||
|
|
|
@ -146,7 +146,7 @@ instance.web.ActionManager = instance.web.Widget.extend({
|
|||
this.dialog.dialog_title = action.name;
|
||||
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_viewmanager.$element.addClass("oe_view_manager_" + (action.target || 'current'));
|
||||
this.dialog.open();
|
||||
} else {
|
||||
this.dialog_stop();
|
||||
|
@ -159,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_" + action.target);
|
||||
this.inner_viewmanager.$element.addClass("oe_view_manager_" + (action.target || 'current'));
|
||||
}
|
||||
},
|
||||
ir_actions_act_window_close: function (action, on_closed) {
|
||||
|
|
|
@ -863,7 +863,7 @@
|
|||
</ul>
|
||||
</t>
|
||||
<t t-name="FieldChar">
|
||||
<span t-att-class="'oe_form_field '+widget.widget_class">
|
||||
<span t-att-class="'oe_form_field '+widget.widget_class" t-att-style="widget.node.attrs.style">
|
||||
<t t-if="!widget.get('effective_readonly')">
|
||||
<input t-att-type="widget.password ? 'password' : 'text'"
|
||||
t-att-id="widget.id_for_label"
|
||||
|
@ -875,7 +875,7 @@
|
|||
</span>
|
||||
</t>
|
||||
<t t-name="FieldEmail">
|
||||
<span class="oe_form_field oe_form_field_email oe_form_field_with_button">
|
||||
<span class="oe_form_field oe_form_field_email" t-att-style="widget.node.attrs.style">
|
||||
<a t-if="widget.get('effective_readonly')" href="#" class="oe_form_uri" target="_blank"/>
|
||||
<t t-if="!widget.get('effective_readonly')">
|
||||
<div>
|
||||
|
@ -893,14 +893,9 @@
|
|||
<t t-jquery="span:first">
|
||||
this.removeClass('oe_form_field_email').addClass('oe_form_field_url');
|
||||
</t>
|
||||
<t t-jquery="button.oe_button" t-operation="replace">
|
||||
<button class="oe_button" tabindex="-1" type="button" title="Open this resource">
|
||||
<img t-att-src='_s + "/web/static/src/img/icons/gtk-ok.png"'/>
|
||||
</button>
|
||||
</t>
|
||||
</t>
|
||||
<t t-name="FieldText">
|
||||
<div class="oe_form_field oe_form_field_text">
|
||||
<div class="oe_form_field oe_form_field_text" t-att-style="widget.node.attrs.style">
|
||||
<textarea rows="6"
|
||||
t-att-name="widget.name"
|
||||
class="field_text"
|
||||
|
@ -925,13 +920,13 @@
|
|||
</span>
|
||||
</t>
|
||||
<t t-name="FieldDate">
|
||||
<span class="oe_form_field oe_datepicker_root oe_form_field_date"/>
|
||||
<span class="oe_form_field oe_datepicker_root oe_form_field_date" t-att-style="widget.node.attrs.style"/>
|
||||
</t>
|
||||
<t t-name="FieldDatetime">
|
||||
<span class="oe_form_field oe_datepicker_root oe_form_field_datetime"/>
|
||||
<span class="oe_form_field oe_datepicker_root oe_form_field_datetime" t-att-style="widget.node.attrs.style"/>
|
||||
</t>
|
||||
<t t-name="FieldSelection">
|
||||
<span class="oe_form_field oe_form_field_selection">
|
||||
<span class="oe_form_field oe_form_field_selection" t-att-style="widget.node.attrs.style">
|
||||
<select t-if="!widget.get('effective_readonly')"
|
||||
t-att-name="widget.name"
|
||||
t-att-tabindex="widget.node.attrs.tabindex"
|
||||
|
@ -944,7 +939,7 @@
|
|||
</span>
|
||||
</t>
|
||||
<t t-name="FieldMany2One">
|
||||
<span class="oe_form_field oe_form_field_many2one oe_form_field_with_button">
|
||||
<span class="oe_form_field oe_form_field_many2one oe_form_field_with_button" t-att-style="widget.node.attrs.style">
|
||||
<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">
|
||||
|
@ -965,7 +960,7 @@
|
|||
</span>
|
||||
</t>
|
||||
<t t-name="FieldMany2ManyTags">
|
||||
<div class="oe_form_field oe_form_field_many2manytags">
|
||||
<div class="oe_form_field oe_form_field_many2manytags" t-att-style="widget.node.attrs.style">
|
||||
<t t-if="! widget.get('effective_readonly')">
|
||||
<textarea rows="1" style="width: 100%"
|
||||
t-att-placeholder="widget.node.attrs.placeholder"></textarea>
|
||||
|
@ -982,7 +977,7 @@
|
|||
</t>
|
||||
</t>
|
||||
<t t-name="FieldReference">
|
||||
<table class="oe_form_field oe_form_field_reference" border="0" cellpadding="0" cellspacing="0">
|
||||
<table class="oe_form_field oe_form_field_reference" border="0" cellpadding="0" cellspacing="0" t-att-style="widget.node.attrs.style">
|
||||
<tr>
|
||||
<td t-attf-class="oe_form_frame_cell oe_form_selection">
|
||||
<span t-attf-class="oe_form_view_reference_selection"/>
|
||||
|
@ -994,7 +989,7 @@
|
|||
</table>
|
||||
</t>
|
||||
<t t-name="FieldBoolean">
|
||||
<span class="oe_form_field oe_form_field_boolean">
|
||||
<span class="oe_form_field oe_form_field_boolean" t-att-style="widget.node.attrs.style">
|
||||
<input type="checkbox"
|
||||
t-att-id="widget.id_for_label"
|
||||
t-att-name="widget.name"
|
||||
|
@ -1004,12 +999,12 @@
|
|||
</span>
|
||||
</t>
|
||||
<t t-name="FieldProgressBar">
|
||||
<span class="oe_form_field oe_form_field_progressbar" t-opentag="true">
|
||||
<span class="oe_form_field oe_form_field_progressbar" t-att-style="widget.node.attrs.style">
|
||||
<span></span>
|
||||
</span>
|
||||
</t>
|
||||
<t t-name="FieldStatus">
|
||||
<ul class="oe_form_steps"/>
|
||||
<ul class="oe_form_steps" t-att-style="widget.node.attrs.style"/>
|
||||
</t>
|
||||
<t t-name="FieldStatus.content">
|
||||
<t t-set="size" t-value="widget.to_show.length"/>
|
||||
|
@ -1021,7 +1016,7 @@
|
|||
</t>
|
||||
</t>
|
||||
<t t-name="FieldBinaryImage">
|
||||
<span class="oe_form_field oe_form_field_image">
|
||||
<span class="oe_form_field oe_form_field_image" t-att-style="widget.node.attrs.style">
|
||||
<div class="oe_form_field_image_controls oe_edit_only">
|
||||
<t t-call="HiddenInputFile">
|
||||
<t t-set="fileupload_id" t-value="widget.fileupload_id"/>
|
||||
|
@ -1049,7 +1044,7 @@
|
|||
</t>
|
||||
<t t-name="FieldBinaryFile">
|
||||
<t t-if="!widget.get('effective_readonly')">
|
||||
<table class="oe_form_field oe_form_field_binary" cellpadding="0" cellspacing="0" border="0">
|
||||
<table class="oe_form_field oe_form_field_binary" cellpadding="0" cellspacing="0" border="0" t-att-style="widget.node.attrs.style">
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" size="1" readonly="readonly"
|
||||
|
@ -1097,7 +1092,7 @@
|
|||
</table>
|
||||
</t>
|
||||
<t t-if="widget.get('effective_readonly')">
|
||||
<span>
|
||||
<span t-att-style="widget.node.attrs.style">
|
||||
<a href="javascript:void(0)" class="oe_form_uri"/>
|
||||
</span>
|
||||
</t>
|
||||
|
@ -1116,6 +1111,7 @@
|
|||
</t>
|
||||
<t t-name="WidgetButton">
|
||||
<button type="button" class="oe_button oe_form_button"
|
||||
t-att-style="widget.node.attrs.style"
|
||||
t-att-tabindex="widget.node.attrs.tabindex"
|
||||
t-att-autofocus="widget.node.attrs.autofocus">
|
||||
<img t-if="widget.node.attrs.icon" t-att-src="_s + '/web/static/src/img/icons/' + widget.node.attrs.icon + '.png'" width="16" height="16"/>
|
||||
|
|
|
@ -0,0 +1,95 @@
|
|||
# Bulgarian translation for openerp-web
|
||||
# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012
|
||||
# This file is distributed under the same license as the openerp-web package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2012.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: openerp-web\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2012-07-02 09:06+0200\n"
|
||||
"PO-Revision-Date: 2012-07-09 13:18+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-07-10 05:41+0000\n"
|
||||
"X-Generator: Launchpad (build 15558)\n"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_dashboard/static/src/js/dashboard.js:61
|
||||
msgid "Edit Layout"
|
||||
msgstr "Редакция План"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_dashboard/static/src/js/dashboard.js:107
|
||||
msgid "Are you sure you want to remove this item ?"
|
||||
msgstr "Сигурни ли сте, че искате да изтриете този елемент ?"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_dashboard/static/src/xml/web_dashboard.xml:4
|
||||
msgid "Reset Layout.."
|
||||
msgstr "Връщане в начално състояние Подредба.."
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_dashboard/static/src/xml/web_dashboard.xml:6
|
||||
msgid "Reset"
|
||||
msgstr "Връщане в начално състояние"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_dashboard/static/src/xml/web_dashboard.xml:8
|
||||
msgid "Change Layout.."
|
||||
msgstr "Смяна Подредба.."
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_dashboard/static/src/xml/web_dashboard.xml:10
|
||||
msgid "Change Layout"
|
||||
msgstr "Промяна Подредба"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_dashboard/static/src/xml/web_dashboard.xml:27
|
||||
msgid " "
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_dashboard/static/src/xml/web_dashboard.xml:28
|
||||
msgid "Create"
|
||||
msgstr "Създаване"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_dashboard/static/src/xml/web_dashboard.xml:39
|
||||
msgid "Choose dashboard layout"
|
||||
msgstr "Избери подредба на табло"
|
||||
|
||||
#, python-format
|
||||
#~ msgid "Execute task \"%s\""
|
||||
#~ msgstr "Изпълни задача \"%s\""
|
||||
|
||||
#~ msgid "Uncategorized"
|
||||
#~ msgstr "Без категория"
|
||||
|
||||
#~ msgid "Remember to bookmark"
|
||||
#~ msgstr "Запомни като отметка"
|
||||
|
||||
#~ msgid "This url"
|
||||
#~ msgstr "Този url"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Click on the functionalites listed below to launch them and configure your "
|
||||
#~ "system"
|
||||
#~ msgstr ""
|
||||
#~ "Кликнете върху фунциите изброени по-долу за да ги изпълните и конфигурирате "
|
||||
#~ "системата"
|
||||
|
||||
#~ msgid "Welcome to OpenERP"
|
||||
#~ msgstr "Добре дошли в OpenERP"
|
||||
|
||||
#~ msgid "Your login:"
|
||||
#~ msgstr "Вашето потребителско име:"
|
||||
|
||||
#~ msgid "progress:"
|
||||
#~ msgstr "обработка:"
|
||||
|
||||
#~ msgid "Mark this task as done"
|
||||
#~ msgstr "Маркирай задачата като приключена"
|
|
@ -0,0 +1,98 @@
|
|||
# Bulgarian translation for openerp-web
|
||||
# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012
|
||||
# This file is distributed under the same license as the openerp-web package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2012.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: openerp-web\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2012-07-02 09:06+0200\n"
|
||||
"PO-Revision-Date: 2012-07-09 12:54+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-07-10 05:41+0000\n"
|
||||
"X-Generator: Launchpad (build 15558)\n"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_graph/static/src/js/graph.js:22
|
||||
msgid "Graph"
|
||||
msgstr "Диаграма"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_graph/static/src/xml/web_graph.xml:5
|
||||
msgid "Graph Options"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_graph/static/src/xml/web_graph.xml:7
|
||||
msgid "Graph Mode"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_graph/static/src/xml/web_graph.xml:11
|
||||
msgid "Pie"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_graph/static/src/xml/web_graph.xml:12
|
||||
msgid "Bars"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_graph/static/src/xml/web_graph.xml:14
|
||||
msgid "Lines"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_graph/static/src/xml/web_graph.xml:15
|
||||
msgid "Areas"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_graph/static/src/xml/web_graph.xml:18
|
||||
msgid "Radar"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_graph/static/src/xml/web_graph.xml:20
|
||||
msgid "Legend"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_graph/static/src/xml/web_graph.xml:24
|
||||
msgid "Hidden"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_graph/static/src/xml/web_graph.xml:25
|
||||
msgid "Inside"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_graph/static/src/xml/web_graph.xml:26
|
||||
msgid "Top"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_graph/static/src/xml/web_graph.xml:28
|
||||
msgid "Actions"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_graph/static/src/xml/web_graph.xml:32
|
||||
msgid "Switch Axis"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_graph/static/src/xml/web_graph.xml:33
|
||||
msgid "Show Data"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_graph/static/src/xml/web_graph.xml:34
|
||||
msgid "Download as PNG"
|
||||
msgstr ""
|
|
@ -29,7 +29,7 @@
|
|||
color: gold;
|
||||
}
|
||||
.openerp .oe_kanban_view .oe_kanban_content div:first-child {
|
||||
margin-right: 12px;
|
||||
margin-right: 16px;
|
||||
}
|
||||
.openerp .oe_kanban_view .oe_kanban_button_new {
|
||||
color: white;
|
||||
|
@ -49,6 +49,7 @@
|
|||
.openerp .oe_kanban_view .oe_kanban_group_title {
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
min-height: 30px;
|
||||
color: #333333;
|
||||
text-shadow: 0 1px 0 white;
|
||||
}
|
||||
|
@ -58,7 +59,7 @@
|
|||
}
|
||||
.openerp .oe_kanban_view .oe_kanban_column, .openerp .oe_kanban_view .oe_kanban_group_header {
|
||||
vertical-align: top;
|
||||
padding: 6px 7px 0 6px;
|
||||
padding: 6px 6px 6px 5px;
|
||||
}
|
||||
.openerp .oe_kanban_view .oe_kanban_column.oe_kanban_grouped, .openerp .oe_kanban_view .oe_kanban_group_header {
|
||||
background: #f0eeee;
|
||||
|
@ -374,6 +375,35 @@
|
|||
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
|
||||
-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
.openerp .oe_kanban_view .oe_kanban_footer_left {
|
||||
margin-top: 2px;
|
||||
}
|
||||
.openerp .oe_kanban_view .oe_kanban_footer_left > span {
|
||||
margin-top: 2px;
|
||||
display: inline-block;
|
||||
background: #e6e6e6;
|
||||
border: 1px solid #b9b9b9;
|
||||
color: #666666;
|
||||
padding: 0 2px;
|
||||
line-height: 16px;
|
||||
-moz-border-radius: 3px;
|
||||
-webkit-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.openerp .oe_kanban_view .oe_kanban_footer_left > span .oe_e {
|
||||
line-height: 12px;
|
||||
font-size: 22px;
|
||||
}
|
||||
.openerp .oe_kanban_view .oe_kanban_footer_left .oe_kanban_mail_new {
|
||||
line-height: 18px;
|
||||
position: relative;
|
||||
top: -1px;
|
||||
}
|
||||
.openerp .oe_kanban_view .oe_kanban_bottom_right {
|
||||
float: right;
|
||||
position: relative;
|
||||
top: 2px;
|
||||
}
|
||||
.openerp .oe_kanban_view .oe_kanban_status {
|
||||
display: inline-block;
|
||||
height: 12px;
|
||||
|
@ -426,6 +456,7 @@
|
|||
}
|
||||
.openerp .oe_kanban_view .oe_dropdown_kanban .oe_dropdown_menu {
|
||||
left: 0;
|
||||
top: 28px;
|
||||
min-width: 160px;
|
||||
}
|
||||
.openerp .oe_kanban_view .oe_kanban_colorpicker {
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
.oe_star_on
|
||||
color: gold
|
||||
div:first-child
|
||||
margin-right: 12px
|
||||
margin-right: 16px
|
||||
.oe_kanban_button_new
|
||||
color: white
|
||||
background: #DC5F59
|
||||
|
@ -63,6 +63,7 @@
|
|||
.oe_kanban_group_title
|
||||
font-size: 16px
|
||||
font-weight: bold
|
||||
min-height: 30px
|
||||
color: #333333
|
||||
text-shadow: 0 1px 0 white
|
||||
> span
|
||||
|
@ -71,7 +72,7 @@
|
|||
|
||||
.oe_kanban_column, .oe_kanban_group_header
|
||||
vertical-align: top
|
||||
padding: 6px 7px 0 6px
|
||||
padding: 6px 6px 6px 5px
|
||||
|
||||
.oe_kanban_column.oe_kanban_grouped, .oe_kanban_group_header
|
||||
background: #f0eeee
|
||||
|
@ -317,8 +318,29 @@
|
|||
.oe_kanban_avatar
|
||||
@include radius(3px)
|
||||
@include box-shadow(0 1px 2px rgba(0,0,0,0.2))
|
||||
//.oe_kanban_footer_left
|
||||
// float: left
|
||||
.oe_kanban_footer_left
|
||||
margin-top: 2px
|
||||
> span
|
||||
margin-top: 2px
|
||||
display: inline-block
|
||||
background: #E6E6E6
|
||||
border: 1px solid #B9B9B9
|
||||
color: #666
|
||||
padding: 0 2px
|
||||
line-height: 16px
|
||||
@include radius(3px)
|
||||
.oe_e
|
||||
line-height: 12px
|
||||
font-size: 22px
|
||||
.oe_kanban_mail_new
|
||||
line-height: 18px
|
||||
position: relative
|
||||
top: -1px
|
||||
.oe_kanban_bottom_right
|
||||
float: right
|
||||
position: relative
|
||||
top: 2px
|
||||
|
||||
.oe_kanban_status
|
||||
display: inline-block
|
||||
height: 12px
|
||||
|
@ -352,6 +374,7 @@
|
|||
text-decoration: none
|
||||
.oe_dropdown_menu
|
||||
left: 0
|
||||
top: 28px
|
||||
min-width: 160px
|
||||
// }}}
|
||||
// KanbanColorPicker {{{
|
||||
|
|
|
@ -0,0 +1,118 @@
|
|||
# Bulgarian translation for openerp-web
|
||||
# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012
|
||||
# This file is distributed under the same license as the openerp-web package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2012.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: openerp-web\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2012-07-02 09:06+0200\n"
|
||||
"PO-Revision-Date: 2012-07-09 12:29+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-07-10 05:41+0000\n"
|
||||
"X-Generator: Launchpad (build 15558)\n"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_process/static/src/js/process.js:261
|
||||
msgid "Cancel"
|
||||
msgstr "Отказ"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_process/static/src/js/process.js:262
|
||||
msgid "Save"
|
||||
msgstr "Запис"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_process/static/src/xml/web_process.xml:6
|
||||
msgid "Process View"
|
||||
msgstr "Изглед на процеса"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_process/static/src/xml/web_process.xml:19
|
||||
msgid "Documentation"
|
||||
msgstr "Документация"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_process/static/src/xml/web_process.xml:19
|
||||
msgid "Read Documentation Online"
|
||||
msgstr "Прочети документацията онлайн"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_process/static/src/xml/web_process.xml:25
|
||||
msgid "Forum"
|
||||
msgstr "Форум"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_process/static/src/xml/web_process.xml:25
|
||||
msgid "Community Discussion"
|
||||
msgstr "Обща дискусия"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_process/static/src/xml/web_process.xml:31
|
||||
msgid "Books"
|
||||
msgstr "Книги"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_process/static/src/xml/web_process.xml:31
|
||||
msgid "Get the books"
|
||||
msgstr "Вземи книгите"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_process/static/src/xml/web_process.xml:37
|
||||
msgid "OpenERP Enterprise"
|
||||
msgstr "OpenERP Enterprise"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_process/static/src/xml/web_process.xml:37
|
||||
msgid "Purchase OpenERP Enterprise"
|
||||
msgstr "Купи OpenERP Enterprise"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_process/static/src/xml/web_process.xml:52
|
||||
msgid "Process"
|
||||
msgstr "Процес"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_process/static/src/xml/web_process.xml:56
|
||||
msgid "Notes:"
|
||||
msgstr "Бележки"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_process/static/src/xml/web_process.xml:59
|
||||
msgid "Last modified by:"
|
||||
msgstr "Последно модифицирано от:"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_process/static/src/xml/web_process.xml:59
|
||||
msgid "N/A"
|
||||
msgstr ""
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_process/static/src/xml/web_process.xml:62
|
||||
msgid "Subflows:"
|
||||
msgstr "Междинен поток"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_process/static/src/xml/web_process.xml:75
|
||||
msgid "Related:"
|
||||
msgstr "Свързани"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_process/static/src/xml/web_process.xml:88
|
||||
msgid "Select Process"
|
||||
msgstr "Избор Процес"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_process/static/src/xml/web_process.xml:98
|
||||
msgid "Select"
|
||||
msgstr "Избор"
|
||||
|
||||
#. openerp-web
|
||||
#: addons/web_process/static/src/xml/web_process.xml:109
|
||||
msgid "Edit Process"
|
||||
msgstr "Редакция Процес"
|
Loading…
Reference in New Issue