Remove prints
This commit is contained in:
parent
6bfdf2056f
commit
c988c92953
|
@ -36,12 +36,10 @@ class ButtonsFunction(QGridLayout):
|
|||
columns = 5
|
||||
if panel:
|
||||
name_style = 'toolbar'
|
||||
print('Name style :', name_style)
|
||||
|
||||
positions = [(i, j) for i in range(rows) for j in range(columns)]
|
||||
for position, value in zip(positions, self.values):
|
||||
name_icon = value[0][7:]
|
||||
print('Name icon > ', name_icon)
|
||||
button = CustomButton(
|
||||
parent,
|
||||
id=value[0],
|
||||
|
|
|
@ -451,7 +451,6 @@ if __name__ == "__main__":
|
|||
else: #TEST = 'jsonrpc'
|
||||
conn = set_jsonrpc(url[:-1])
|
||||
User = conn.get_proxy('res.user')
|
||||
print("Super:", User)
|
||||
user = User.search_read([], 0, None, None, ['name'], {})
|
||||
#Party = conn.get_proxy('party.party')
|
||||
#res = Party.search_read([], 0, None, None, ['name'], conn.context)
|
||||
|
|
|
@ -58,7 +58,6 @@ class CustomButton(QPushButton):
|
|||
|
||||
self.setStyleSheet(''.join(styles))
|
||||
self.setObjectName(name_style)
|
||||
print(title, name_style)
|
||||
rows = []
|
||||
if icon:
|
||||
if not title:
|
||||
|
|
|
@ -59,7 +59,6 @@ class Image(QLabel):
|
|||
screen_width = screen.width()
|
||||
screen_height = screen.height()
|
||||
size = self.pixmap.size()
|
||||
print("image size", size.width(), size.height())
|
||||
self.parent.setGeometry(
|
||||
(screen_width / 2) - (size.width() / 2),
|
||||
(screen_height / 2) - (size.height() / 2),
|
||||
|
|
|
@ -296,5 +296,4 @@ class TrytonModel(object):
|
|||
|
||||
def method(self, name):
|
||||
# TODO Add reuse self context (*values, self._context)
|
||||
print('Se ejecuta este metodo...', name)
|
||||
return getattr(self._proxy, name)
|
||||
|
|
|
@ -72,8 +72,6 @@ class LocalStore(object):
|
|||
return rows_
|
||||
|
||||
def update_products(self, products, local_products):
|
||||
len_products = len(products)
|
||||
print('------- Creating %d products -------' % len_products)
|
||||
to_create = []
|
||||
to_update = []
|
||||
for p in products:
|
||||
|
|
Loading…
Reference in New Issue