|
|
|
@ -78,7 +78,7 @@ class InvoiceList(MyTreeView): |
|
|
|
self.update() |
|
|
|
self.update() |
|
|
|
|
|
|
|
|
|
|
|
def update_item(self, key, req): |
|
|
|
def update_item(self, key, req): |
|
|
|
model = self.model() |
|
|
|
model = self.std_model |
|
|
|
for row in range(0, model.rowCount()): |
|
|
|
for row in range(0, model.rowCount()): |
|
|
|
item = model.item(row, 0) |
|
|
|
item = model.item(row, 0) |
|
|
|
if item.data(ROLE_REQUEST_ID) == key: |
|
|
|
if item.data(ROLE_REQUEST_ID) == key: |
|
|
|
|