Remove prints

This commit is contained in:
Oscar Alvarez 2020-12-09 11:07:29 -05:00
parent 6bfdf2056f
commit c988c92953
6 changed files with 0 additions and 8 deletions

View File

@ -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],

View File

@ -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)

View File

@ -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:

View File

@ -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),

View File

@ -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)

View File

@ -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: