merge
This commit is contained in:
commit
f39ecd0cef
3 files changed
+10
-1
No files matched your search
@@ -48,6 +48,11 @@ class Record(SignalEvent):
|
||||
(field.attrs.get('loading', 'eager')
|
||||
for field in self.group.fields.itervalues()),
|
||||
'eager')
|
||||
# Set a valid name for next loaded check
|
||||
for fname, field in self.group.fields.iteritems():
|
||||
if field.attrs.get('loading', 'eager') == loading:
|
||||
name = fname
|
||||
break
|
||||
else:
|
||||
loading = self.group.fields[name].attrs.get('loading', 'eager')
|
||||
if self in self.group and loading == 'eager':
|
||||
|
||||
@@ -12,6 +12,10 @@ import tryton.rpc as rpc
|
||||
|
||||
class Bar(Graph):
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(Bar, self).__init__(*args, **kwargs)
|
||||
self.bars = []
|
||||
|
||||
def drawGraph(self, cr, width, height):
|
||||
|
||||
def drawBar(bar):
|
||||
|
||||
@@ -481,7 +481,7 @@ class ViewList(ParserView):
|
||||
cell = self.widget_tree.cells[col.name]
|
||||
if cell.get_textual_value(record) != value:
|
||||
cell.value_from_text(record, value)
|
||||
if cell.get_textual_value(record) != value:
|
||||
if value and not cell.get_textual_value(record):
|
||||
# Stop setting value if a value is correctly set
|
||||
idx = len(group)
|
||||
break
|
||||
|
||||
Reference in new issue
Block a user