Update info
This commit is contained in:
parent
529b9076ef
commit
b72a947ae5
|
@ -1,6 +1,4 @@
|
|||
Copyright (C) 2012-2015 Oscar Alvarez.
|
||||
Copyright (C) 2008-2012 Cédric Krier.
|
||||
Copyright (C) 2008-2012 B2CK SPRL.
|
||||
Copyright (C) 2012-2020 Oscar Alvarez.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
|
12
INSTALL_es
12
INSTALL_es
|
@ -42,7 +42,7 @@ Tener en cuenta que algunos paquetes se deben instalar con pip para python3.
|
|||
Nota: el Cliente POS de momento ha sido testeado en Windows parcialmente, asi que
|
||||
no hay garantia de que funcione al 100% en este OS.
|
||||
|
||||
Se recomienda instalar Tryton 4.0 creando un ambiente virtual con
|
||||
Se recomienda instalar Tryton 5.0 creando un ambiente virtual con
|
||||
virtualenv.
|
||||
|
||||
Los siguientes módulos se deben instalar en la base de datos Tryton
|
||||
|
@ -77,8 +77,6 @@ anteriormente creado):
|
|||
|
||||
Modulos No Oficiales (Presik)
|
||||
----------------------------------------------------------------------------
|
||||
* trytonpsk_sale_payment (https://bitbucket.org/presik/trytonpsk_sale_payment)
|
||||
* trytonpsk_sale_w_tax (https://bitbucket.org/presik/trytonpsk_sale_w_tax)
|
||||
* trytonpsk_sale_shop (https://bitbucket.org/presik/trytonpsk_sale_shop)
|
||||
* trytonpsk_sale_pos (https://bitbucket.org/presik/trytonpsk_sale_pos)
|
||||
* trytonpsk_product_onebarcode (https://bitbucket.org/presik/trytonpsk_product_onebarcode)
|
||||
|
@ -91,7 +89,7 @@ anteriormente creado):
|
|||
|
||||
Sugerencia, descargar los paquetes desde bitbucket usando en el terminal:
|
||||
|
||||
$ hg clone paquete
|
||||
$ git clone paquete
|
||||
|
||||
Luego instalar:
|
||||
|
||||
|
@ -199,10 +197,10 @@ https://bitbucket.org/presik/neo
|
|||
Instalelo dentro de la carpeta principal de presik_pos,
|
||||
los directorios deben quedar así:
|
||||
|
||||
|__presik_pos
|
||||
|__psk_pos
|
||||
|__app
|
||||
|__doc
|
||||
|__neo
|
||||
|__commons
|
||||
|
||||
Poner la carpeta descargada en algun lugar de su directorio /home/usuario/miaplicacion
|
||||
|
||||
|
@ -284,7 +282,7 @@ Haga una venta desde Tryton sin POS
|
|||
-----------------------------------
|
||||
|
||||
Asi que en este punto sin necesidad del Cliente POS usted debería ser
|
||||
capaz a través del cliente Tryton 4.0, de hacer ventas:
|
||||
capaz a través del cliente Tryton 5.0, de hacer ventas:
|
||||
|
||||
>> Ventas > Ventas POS
|
||||
|
||||
|
|
2
TODO
2
TODO
|
@ -1,5 +1,5 @@
|
|||
TODO
|
||||
|
||||
- Adicionar funcionamiento del POS modo standlone
|
||||
- Adicionar funcionamiento del POS modo standalone
|
||||
|
||||
- Usar voz para informar al usuario
|
||||
|
|
|
@ -3,10 +3,9 @@
|
|||
import os
|
||||
import sys
|
||||
|
||||
from PyQt5.QtWidgets import QApplication, QStyleFactory
|
||||
from PyQt5.QtWidgets import QApplication
|
||||
from PyQt5.QtCore import QTranslator
|
||||
|
||||
from neox.commons.dblogin import Login
|
||||
from app.commons.dblogin import Login
|
||||
from app import mainwindow
|
||||
|
||||
try:
|
||||
|
@ -17,19 +16,17 @@ try:
|
|||
except NameError:
|
||||
pass
|
||||
|
||||
locale_app = os.path.join(os.path.abspath(
|
||||
os.path.dirname(__file__)), 'app', 'locale', 'i18n_es.qm')
|
||||
|
||||
|
||||
class Client(object):
|
||||
|
||||
def __init__(self, parent=None):
|
||||
self.app = QApplication(sys.argv)
|
||||
path_trans = os.path.join(os.path.abspath(
|
||||
os.path.dirname(__file__)), 'app', 'translations', 'i18n_es.qm')
|
||||
self.translator = QTranslator()
|
||||
self.translator.load(path_trans)
|
||||
# This is to make Qt use locale configuration; i.e. Standard Buttons
|
||||
# in your system's language.
|
||||
self.translator.load(locale_app)
|
||||
self.app.installTranslator(self.translator)
|
||||
self.app.setStyle(QStyleFactory.create('Fusion'))
|
||||
|
||||
def init_login(self):
|
||||
login = Login(file_config='config_pos.ini')
|
||||
|
|
4
setup.py
4
setup.py
|
@ -17,7 +17,7 @@ data_files = [
|
|||
('app', glob.glob('*.ini')),
|
||||
('app/frontend', glob.glob('pos/share/*.css')),
|
||||
('app/share', glob.glob('app/share/*.png')),
|
||||
('app/translations', glob.glob('app/translations/*.qm')),
|
||||
('app/locale', glob.glob('app/locale/*.qm')),
|
||||
]
|
||||
|
||||
if os.name == 'posix':
|
||||
|
@ -34,7 +34,7 @@ if os.name == 'posix':
|
|||
|
||||
|
||||
setup(name='presik_pos',
|
||||
version='5.0.1',
|
||||
version='5.0.2',
|
||||
description='POS Client for Tryton',
|
||||
author='Oscar Alvarez',
|
||||
author_email='gerente@presik.com',
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
hg pull && hg update
|
Loading…
Reference in New Issue