Warning al Validar Factura Cliente CFDI
Buenas tardes @agb80 @federico.cruz
Tenemos un detalle al generar Facturas de Clientes desde Ventas/Facturación/Albaranes a Facturar nos marca el warning de que el "UUID no se encontro en el SAT", sin embargo si queda validada, el xml y pdf quedan correctamente, y los asientos contables quedan bien.
Revisando encontre que al generar todo el proceso de validación/timbrado despues se lanza el validar ante el SAT el cfdi generado, y al parecer ahi aun no se encuentra.
Aqui está el log:
mage_medium&t=1492723559307&session_id=f653b245719640eaaec305ece6fc5c6a HTTP/1.1" 200 - 2017-04-20 21:26:15,954 1183 INFO SACSA werkzeug: 201.164.152.34 - - [20/Apr/2017 21:26:15] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2017-04-20 21:26:16,083 1183 INFO SACSA werkzeug: 201.164.152.34 - - [20/Apr/2017 21:26:16] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2017-04-20 21:26:16,143 1183 INFO SACSA werkzeug: 201.164.152.34 - - [20/Apr/2017 21:26:16] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2017-04-20 21:26:16,155 1183 INFO SACSA werkzeug: 201.164.152.34 - - [20/Apr/2017 21:26:16] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2017-04-20 21:26:16,158 1183 INFO SACSA werkzeug: 201.164.152.34 - - [20/Apr/2017 21:26:16] "POST /web/dataset/search_read HTTP/1.1" 200 - 2017-04-20 21:26:16,350 1183 INFO SACSA werkzeug: 201.164.152.34 - - [20/Apr/2017 21:26:16] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2017-04-20 21:26:16,430 1183 INFO SACSA werkzeug: 201.164.152.34 - - [20/Apr/2017 21:26:16] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2017-04-20 21:26:16,440 1183 INFO SACSA werkzeug: 201.164.152.34 - - [20/Apr/2017 21:26:16] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2017-04-20 21:26:16,520 1183 INFO SACSA werkzeug: 201.164.152.34 - - [20/Apr/2017 21:26:16] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2017-04-20 21:26:16,601 1183 INFO SACSA werkzeug: 201.164.152.34 - - [20/Apr/2017 21:26:16] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2017-04-20 21:26:17,086 1183 INFO SACSA werkzeug: 201.164.152.34 - - [20/Apr/2017 21:26:17] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2017-04-20 21:26:17,132 1183 INFO SACSA requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): timbrado.expidetufactura.com.mx 2017-04-20 21:26:17,809 1183 INFO SACSA werkzeug: 201.164.152.34 - - [20/Apr/2017 21:26:17] "POST /web/dataset/search_read HTTP/1.1" 200 - 2017-04-20 21:26:18,276 1183 INFO SACSA werkzeug: 189.186.16.245 - - [20/Apr/2017 21:26:18] "POST /web/action/load HTTP/1.1" 200 - 2017-04-20 21:26:18,445 1183 INFO SACSA werkzeug: 201.164.152.34 - - [20/Apr/2017 21:26:18] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2017-04-20 21:26:18,490 1183 INFO SACSA werkzeug: 189.186.16.245 - - [20/Apr/2017 21:26:18] "POST /web/menu/load_needaction HTTP/1.1" 200 - 2017-04-20 21:26:18,604 1183 INFO SACSA werkzeug: 201.164.152.34 - - [20/Apr/2017 21:26:18] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2017-04-20 21:26:18,616 1183 INFO SACSA werkzeug: 201.164.152.34 - - [20/Apr/2017 21:26:18] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2017-04-20 21:26:18,876 1183 INFO SACSA werkzeug: 189.186.16.245 - - [20/Apr/2017 21:26:18] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2017-04-20 21:26:19,079 1183 INFO SACSA werkzeug: 189.186.16.245 - - [20/Apr/2017 21:26:19] "POST /web/action/load HTTP/1.1" 200 - 2017-04-20 21:26:19,243 1183 INFO SACSA werkzeug: 189.186.16.245 - - [20/Apr/2017 21:26:19] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2017-04-20 21:26:19,395 1183 INFO SACSA werkzeug: 189.186.16.245 - - [20/Apr/2017 21:26:19] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2017-04-20 21:26:19,464 1183 INFO SACSA werkzeug: 189.186.16.245 - - [20/Apr/2017 21:26:19] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2017-04-20 21:26:19,567 1183 INFO SACSA werkzeug: 201.164.152.34 - - [20/Apr/2017 21:26:19] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2017-04-20 21:26:19,625 1183 INFO SACSA werkzeug: 201.164.152.34 - - [20/Apr/2017 21:26:19] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2017-04-20 21:26:19,693 1183 INFO SACSA werkzeug: 201.164.152.34 - - [20/Apr/2017 21:26:19] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2017-04-20 21:26:19,769 1183 INFO SACSA werkzeug: 201.164.152.34 - - [20/Apr/2017 21:26:19] "POST /web/dataset/search_read HTTP/1.1" 200 - 2017-04-20 21:26:19,783 1183 INFO SACSA werkzeug: 189.186.16.245 - - [20/Apr/2017 21:26:19] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2017-04-20 21:26:19,852 1183 INFO SACSA werkzeug: 201.164.152.34 - - [20/Apr/2017 21:26:19] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2017-04-20 21:26:21,010 1183 WARNING SACSA openerp.addons.document.std_index: Failed attempt to execute pdftotext. This program is necessary to index the file /tmp/tmpXLcFoI.pdf of MIME type application/pdf. Detailed error available at DEBUG level. 2017-04-20 21:26:21,466 1183 INFO SACSA werkzeug: 201.164.152.34 - - [20/Apr/2017 21:26:21] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2017-04-20 21:26:21,621 1183 INFO SACSA werkzeug: 201.164.152.34 - - [20/Apr/2017 21:26:21] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2017-04-20 21:26:21,643 1183 INFO SACSA werkzeug: 201.164.152.34 - - [20/Apr/2017 21:26:21] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2017-04-20 21:26:22,024 1183 WARNING SACSA openerp.osv.orm: Access Denied by record rules for operation: read, uid: 315, model: res.users 2017-04-20 21:26:22,025 1183 INFO SACSA openerp.osv.orm: Prefetching attempt for fields ['menu_id', 'alias_id', 'share', 'default_section_id', 'active', 'password', 'partner_id', 'id', 'login_date', 'company_id', 'branch', 'signature', 'login', 'action_id', 'ean13', 'alias_defaults', 'tz', 'opt_out', 'title', 'company_id', 'l10n_mx_city2', 'parent_id', 'last_reconciliation_date', 'employee', 'nacionality_diot', 'fax', 'l10n_mx_street3', 'l10n_mx_street4', 'name', 'debit_limit', 'signup_token', 'street', 'payment_next_action_date', 'alias_name', 'country_id', 'notification_email_send', 'supplier', 'ref', 'email', 'picking_warn', 'vat_split', 'street2', 'active', 'display_name', 'signup_expiration', 'zip', 'alias_user_id', 'payment_next_action', 'alias_model_id', 'payment_note', 'comment', 'sale_warn', 'purchase_warn', 'color', 'city', 'type_of_operation', 'user_id', 'alias_force_thread_id', 'regimen_fiscal_id', 'type', 'function', 'picking_warn_msg', 'phone', 'credit_limit', 'payment_responsible_id', 'customer', 'type_of_third', 'birthdate', 'vat', 'city_id', 'state_id', 'invoice_warn_msg', 'website', 'use_parent_address', 'signup_type', 'invoice_warn', 'is_company', 'vat_subjected', 'section_id', 'date', 'lang', 'sale_warn_msg', 'purchase_warn_msg', 'mobile'] on res.users failed for ids [230, 318], re-trying just for id 318 2017-04-20 21:26:22,159 1183 INFO SACSA werkzeug: 201.164.152.34 - - [20/Apr/2017 21:26:22] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2017-04-20 21:26:22,211 1183 INFO SACSA werkzeug: 201.164.152.34 - - [20/Apr/2017 21:26:22] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2017-04-20 21:26:22,244 1183 INFO SACSA werkzeug: 201.164.152.34 - - [20/Apr/2017 21:26:22] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2017-04-20 21:26:22,257 1183 INFO SACSA werkzeug: 201.164.152.34 - - [20/Apr/2017 21:26:22] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2017-04-20 21:26:22,322 1183 INFO SACSA werkzeug: 201.164.152.34 - - [20/Apr/2017 21:26:22] "POST /web/dataset/search_read HTTP/1.1" 200 - 2017-04-20 21:26:22,361 1183 WARNING SACSA openerp.osv.orm: No such field(s) in model mail.mail: attachments, partner_to. 2017-04-20 21:26:22,407 1183 INFO SACSA werkzeug: 201.164.152.34 - - [20/Apr/2017 21:26:22] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2017-04-20 21:26:22,740 1183 INFO SACSA werkzeug: 189.186.16.245 - - [20/Apr/2017 21:26:22] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2017-04-20 21:26:22,866 1183 INFO SACSA werkzeug: 189.186.16.245 - - [20/Apr/2017 21:26:22] "POST /web/dataset/call_kw HTTP/1.1" 200 - 2017-04-20 21:26:22,890 1183 WARNING SACSA openerp.osv.orm: Field res.partner.country is deprecated: This field will be removed as of OpenERP 7.1, use country_id instead 2017-04-20 21:26:22,900 1183 INFO SACSA werkzeug: 189.186.16.245 - - [20/Apr/2017 21:26:22] "POST /web/dataset/search_read HTTP/1.1" 200 - 2017-04-20 21:26:25,031 1183 ERROR SACSA openerp.netsvc: Error The CFDI provided did not passed the SAT validation The UUID sate on SAT servers is No Encontrado Traceback (most recent call last): File "/home/sacsa/pyerp_7/parts/server/openerp/netsvc.py", line 306, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/home/sacsa/pyerp_7/parts/server/openerp/service/web_services.py", line 632, in dispatch res = fn(db, uid, *params) File "/home/sacsa/pyerp_7/parts/server/openerp/osv/osv.py", line 193, in execute_kw return self.execute(db, uid, obj, method, *args, **kw or {}) File "/home/sacsa/pyerp_7/parts/server/openerp/osv/osv.py", line 133, in wrapper return f(self, dbname, *args, **kwargs) File "/home/sacsa/pyerp_7/parts/server/openerp/osv/osv.py", line 202, in execute res = self.execute_cr(cr, uid, obj, method, *args, **kw) File "/home/sacsa/pyerp_7/parts/server/openerp/osv/osv.py", line 190, in execute_cr return getattr(object, method)(cr, uid, *args, **kw) File "/home/sacsa/pyerp_7/parts/server/addons/account/account_invoice.py", line 570, in invoice_open self, cr=cr, uid=uid, ids=ids, context=context File "/home/sacsa/pyerp_7/eggs/blinker-1.4-py2.7.egg/blinker/base.py", line 267, in send for receiver in self.receivers_for(sender)] File "/home/sacsa/pyerp_7/parts/l10n_mx/l10n_mx_facturae_validate_cfdi/invoice.py", line 127, in invoice_validate validate_cfdi_folio_fiscal(data) File "/home/sacsa/pyerp_7/parts/l10n_mx/l10n_mx_facturae_validate_cfdi/invoice.py", line 101, in validate_cfdi_folio_fiscal 'The UUID sate on SAT servers is %s') % result) except_osv: ('Error', u'The CFDI provided did not passed the SAT validation\nThe UUID sate on SAT servers is No Encontrado')
Revisamos el XML ante el SAT y todo esta correcto, y está vigente, pienso que es con el SAT, pero en todo caso marcaria en otras empresas el problema, alguna idea?
Muchas Gracias
Saludos