-
-
Save ivanporras/53353b884616ab4b0b6e2e7e557ed297 to your computer and use it in GitHub Desktop.
Odoo no muestra iconos | |
2017-11-04 19:40:31,137 8614 WARNING ODAvicampo odoo.models.schema: Table 'res_company': unable to set a NOT NULL constraint on column 'regname' ! | |
If you want to have it, you should update the records and execute manually: | |
ALTER TABLE res_company ALTER COLUMN regname SET NOT NULL | |
2017-11-04 19:40:31,174 8614 WARNING ODAvicampo odoo.models.schema: Table 'res_company': unable to set a NOT NULL constraint on column 'rfc' ! | |
If you want to have it, you should update the records and execute manually: | |
ALTER TABLE res_company ALTER COLUMN rfc SET NOT NULL |
2017-11-04 19:40:31,137 8614 WARNING ODAvicampo odoo.models.schema: Table 'res_company': unable to set a NOT NULL constraint on column 'regname' !
If you want to have it, you should update the records and execute manually:
ALTER TABLE res_company ALTER COLUMN regname SET NOT NULL
2017-11-04 19:40:31,174 8614 WARNING ODAvicampo odoo.models.schema: Table 'res_company': unable to set a NOT NULL constraint on column 'rfc' !
If you want to have it, you should update the records and execute manually:
ALTER TABLE res_company ALTER COLUMN rfc SET NOT NULL
sudo su - postgres
psql -d ODAvicampo
execute this queries.
ALTER TABLE res_company ALTER COLUMN regname SET NOT NULL
ALTER TABLE res_company ALTER COLUMN rfc SET NOT NULL
LISTO SE REALIZO EL ROLLBACK
ROLLBACK TO THESE QUERIES PLEASE !!!!!
Librerías Necesarias para LM
sudo apt-get install subversion git bzr bzrtools python-pip postgresql python-all-dev python-dev python-setuptools libxml2-dev libxslt1-dev libevent-dev libsasl2-dev libldap2-dev pkg-config libtiff5-dev libjpeg8-dev libjpeg-dev zlib1g-dev libfreetype6-dev liblcms2-dev liblcms2-utils libwebp-dev tcl8.6-dev tk8.6-dev python-tk libyaml-dev fontconfig node-less python-pip gdebi-core python-dateutil python-feedparser python-ldap python-libxslt1 python-lxml python-mako python-openid python-psycopg2 python-pybabel python-pychart python-pydot python-pyparsing python-reportlab python-simplejson python-tz python-vatnumber python-vobject python-webdav python-werkzeug python-xlwt python-yaml python-zsi python-docutils python-psutil python-mock python-unittest2 python-jinja2 python-pypdf python-decorator python-requests python-passlib python-pil –y
Requieres instalar también:
brew install zbar
brew install pillow
Otra librería (Solución para instalar Modulo del PAC SIFEI):
sudo apt-get install libzbar-dev
SE REFRESCO EL MODULO BASE Y EL MODULO WEB
pip install requests-toolbelt
File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 180, in run_wsgi
execute(self.server.app)
File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 168, in execute
application_iter = app(environ, start_response)
File "/odoo/odoo-server/odoo/service/server.py", line 246, in app
return self.app(e, s)
File "/odoo/odoo-server/odoo/service/wsgi_server.py", line 186, in application
return application_unproxied(environ, start_response)
File "/odoo/odoo-server/odoo/service/wsgi_server.py", line 172, in application_unproxied
result = handler(environ, start_response)
File "/odoo/odoo-server/odoo/http.py", line 1307, in call
self.load_addons()
File "/odoo/odoo-server/odoo/http.py", line 1328, in load_addons
m = import('odoo.addons.' + module)
File "/odoo/odoo-server/odoo/modules/module.py", line 81, in load_module
execfile(modfile, new_mod.dict)
File "/odoo/custom/odoo-mexico-localization/l10n_mx_einvoice_pac_sf/init.py", line 5, in
import metodos
File "metodos.py", line 23, in
sudo apt-get install libzbar-dev
sudo pip install zbar
download xsltproc
https://www.ubuntuupdates.org/package/core/precise/main/base/xsltproc
4 install xsltproc
pip install --upgrade pip
--- Missing qrtools
[sudo] pip install pypng
[sudo] pip install zbar
[sudo] pip install pillow
git clone https://github.com/primetang/qrtools.git
cd qrtools
[sudo] python setup.py install
[sudo] pip install qrtools