Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actualización tasa manualmente desde contabilidad #113

Open
Cesar250101 opened this issue Oct 6, 2020 · 0 comments
Open

Actualización tasa manualmente desde contabilidad #113

Cesar250101 opened this issue Oct 6, 2020 · 0 comments

Comments

@Cesar250101
Copy link

2020-10-06 14:19:23,439 849 INFO Demo odoo.addons.base.models.ir_cron: Starting job Cron de envío y consulta estado documento en el sii.
2020-10-06 14:19:23,484 849 INFO Demo odoo.addons.base.models.ir_cron: Job Cron de envío y consulta estado documento en el sii done.
2020-10-06 14:19:23,486 849 INFO Demo odoo.addons.base.models.ir_cron: Starting job Cron AutoReponer CAF.
2020-10-06 14:19:23,515 849 INFO Demo odoo.addons.base.models.ir_cron: Job Cron AutoReponer CAF done.
2020-10-06 14:19:26,764 849 INFO ? odoo.service.server: Initiating shutdown
2020-10-06 14:19:26,765 849 INFO ? odoo.service.server: Hit CTRL-C again or send a second signal to force the shutdown.
2020-10-06 14:19:29,889 31406 INFO ? odoo: Odoo version 12.0-20200921
2020-10-06 14:19:29,890 31406 INFO ? odoo: Using configuration file at /etc/odoo/odoo.conf
2020-10-06 14:19:29,890 31406 INFO ? odoo: addons paths: ['/var/lib/odoo/.local/share/Odoo/addons/12.0', '/opt/odoo/addons', '/usr/lib/python3/dist-packages/odoo/addons']
2020-10-06 14:19:29,891 31406 INFO ? odoo: database: odoo@default:default
2020-10-06 14:19:30,172 31406 INFO ? odoo.addons.base.models.ir_actions_report: Will use the Wkhtmltopdf binary at /usr/local/bin/wkhtmltopdf
2020-10-06 14:19:30,506 31406 INFO ? odoo.service.server: HTTP service (werkzeug) running on ubuntu:8069
2020-10-06 14:19:53,779 31406 INFO ? odoo.http: HTTP Configuring static files
2020-10-06 14:19:53,808 31406 INFO MethodERP odoo.modules.loading: loading 1 modules...
2020-10-06 14:19:53,828 31406 INFO MethodERP odoo.modules.loading: 1 modules loaded in 0.02s, 0 queries
2020-10-06 14:19:53,905 31406 INFO MethodERP odoo.modules.loading: loading 111 modules...
2020-10-06 14:19:54,738 31406 WARNING MethodERP odoo.models: The model global.search.fields has no _description
2020-10-06 14:19:54,739 31406 WARNING MethodERP odoo.models: The model o2m.global.search.fields has no _description
2020-10-06 14:19:54,935 31406 INFO MethodERP odoo.addons.sms.wizard.send_sms: The phonenumbers Python module is not available. Phone number validation will be skipped. Try pip3 install phonenumbers to install it.
2020-10-06 14:19:56,662 31406 INFO MethodERP facturacion_electronica.conexion: <class 'Exception'>
2020-10-06 14:19:57,086 31406 INFO MethodERP odoo.modules.loading: 111 modules loaded in 3.18s, 0 queries
2020-10-06 14:19:58,032 31406 WARNING MethodERP odoo.fields: Field sii.dte.claim.order_id with unknown comodel_name 'pos.order'
2020-10-06 14:19:58,398 31406 INFO MethodERP odoo.modules.loading: Modules loaded.
2020-10-06 14:19:58,410 31406 INFO MethodERP odoo.addons.base.models.ir_http: Generating routing map
2020-10-06 14:19:58,743 31406 INFO MethodERP werkzeug: 127.0.0.1 - - [06/Oct/2020 14:19:58] "POST /web/dataset/search_read HTTP/1.0" 200 - 114 0.114 4.847
2020-10-06 14:19:59,203 31406 INFO MethodERP werkzeug: 127.0.0.1 - - [06/Oct/2020 14:19:59] "POST /web/webclient/version_info HTTP/1.0" 200 - 1 0.000 0.004
2020-10-06 14:20:03,159 31406 INFO MethodERP werkzeug: 127.0.0.1 - - [06/Oct/2020 14:20:03] "POST /web/dataset/search_read HTTP/1.0" 200 - 52 0.112 0.132
2020-10-06 14:20:03,406 31406 INFO MethodERP werkzeug: 127.0.0.1 - - [06/Oct/2020 14:20:03] "POST /account/account_dashboard_onboarding HTTP/1.0" 200 - 4 0.013 0.020
2020-10-06 14:20:05,735 31406 INFO MethodERP werkzeug: 127.0.0.1 - - [06/Oct/2020 14:20:05] "POST /web/dataset/search_read HTTP/1.0" 200 - 23 0.019 0.017
2020-10-06 14:20:10,216 31406 INFO MethodERP werkzeug: 127.0.0.1 - - [06/Oct/2020 14:20:10] "POST /web/dataset/call_kw/res.currency/read HTTP/1.0" 200 - 4 0.003 0.008
2020-10-06 14:20:12,593 31406 INFO MethodERP odoo.addons.l10n_cl_currency_rate_sbif.models.res_currency: http://api.sbif.cl/api-sbifv3/recursos_api/dolar?apikey=34b29938ba6bbb93fa879d4abc34088ac9f4575f&formato=json
2020-10-06 14:20:12,832 31406 INFO MethodERP odoo.addons.l10n_cl_currency_rate_sbif.models.res_currency: {'Dolares': [{'Valor': '794,34', 'Fecha': '2020-10-06'}]}
2020-10-06 14:20:12,832 31406 INFO MethodERP odoo.addons.l10n_cl_currency_rate_sbif.models.res_currency: Currency: base.USD
2020-10-06 14:20:12,833 31406 INFO MethodERP odoo.addons.l10n_cl_currency_rate_sbif.models.res_currency: Updating Dolares
2020-10-06 14:20:12,833 31406 INFO MethodERP odoo.addons.l10n_cl_currency_rate_sbif.models.res_currency: currency: res.currency(188,) result: {'Dolares': [{'Valor': '794,34', 'Fecha': '2020-10-06'}]}
2020-10-06 14:20:12,836 31406 INFO MethodERP odoo.addons.l10n_cl_currency_rate_sbif.models.res_currency: {'rate': 0.001258906765364957, 'company_id': 1, 'currency_id': 188}
2020-10-06 14:20:12,836 31406 INFO MethodERP odoo.addons.l10n_cl_currency_rate_sbif.models.res_currency: Trying to create currency rate...
2020-10-06 14:20:12,842 31406 ERROR MethodERP odoo.sql_db: bad query: INSERT INTO "res_currency_rate" ("id", "create_uid", "create_date", "write_uid", "write_date", "company_id", "currency_id", "name", "rate") VALUES (nextval('res_currency_rate_id_seq'), 2, (now() at time zone 'UTC'), 2, (now() at time zone 'UTC'), 1, 188, '2020-10-06', '0.00') RETURNING id
ERROR: new row for relation "res_currency_rate" violates check constraint "res_currency_rate_currency_rate_check"
DETAIL: Failing row contains (36, 2020-10-06, 0.00, 188, 1, 2, 2020-10-06 14:20:12.585815, 2, 2020-10-06 14:20:12.585815).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant