Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
L
l10n_mx_facturae
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 4
    • Merge Requests 4
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • l10n_mx
  • l10n_mx_facturae
  • Issues
  • #11

Closed
Open
Opened 7 years ago by Alfonso Moreno@alfonso.morenoContributor
  • New issue

  • Report abuse

  • New issue

  • Report abuse

Error al momento de validar una factura cuando el cliente no tiene sujeto a IEPS chequeado

Closed

Error al momento de validar una factura cuando el cliente no tiene sujeto a IEPS chequeado

Hola buen día @agb80, @jose.maldonado, @cuauhtemoc.diaz como me comentaste ahora por la mañana que hiciera un issue para tratar de mandar un mensaje mas amigable al usuario cuando el cliente no tiene chequeado el sujeto a IEPS en su ficha tecnica y al momento de validar una factura que tiene consigo en sus partidas el impues IEPS marca el siguiente error

File "/opt/pyerp_master/parts/l10n_mx_facturae/l10n_mx_facturae/models/account_invoice.py", line 276, in sign_invoice_sat cfdi.action_validate() File "/opt/pyerp_master/parts/server/openerp/api.py", line 239, in wrapper return new_api(self, *args, **kwargs) File "/opt/pyerp_master/parts/facturacion/l10n_mx_ir_attachment_facturae/models/ir_attachment_facturae.py", line 438, in action_validate self.sign_cfdi_sat() File "/opt/pyerp_master/parts/server/openerp/api.py", line 239, in wrapper return new_api(self, *args, **kwargs) File "/opt/pyerp_master/parts/server/openerp/api.py", line 407, in new_api result = [method(rec, *args, **kwargs) for rec in self] File "/opt/pyerp_master/parts/facturacion/l10n_mx_ir_attachment_facturae/models/ir_attachment_facturae.py", line 746, in sign_cfdi_sat record.id, config.template_xml_sign, model=record._name, File "/opt/pyerp_master/parts/facturacion/l10n_mx_ir_attachment_facturae/models/ir_attachment_facturae.py", line 710, in create_report_xml xml_data = parse_xml_string(result.strip()) AttributeError: 'bool' object has no attribute 'strip'

Esto es parte de error pero en si sale porque si en la factura se usa IEPS y en el cliente no viene chequeado Sujeto a IEPS el sistema nos lanza el error Saludos

Please solve the reCAPTCHA

We want to be sure it is you, please confirm you are not a robot.

Edited 7 years ago
  1. Oh no!

    You are trying to upload something other than an image. Please upload a .png, .jpg, .jpeg, .gif, .bmp, .tiff or .ico.

    Incoming!

    Drop your designs to start your upload.

Linked issues
0

Related merge requests

  • Agustín Cruz @agb80 changed the description 7 years ago

    changed the description

  • Agustín Cruz
    Agustín Cruz @agb80 · 7 years ago
    Owner

    podrías confirmar si todavía sigue apareciendo el error en la versión 2.4.4 del módulo por favor?

  • Agustín Cruz @agb80 closed 7 years ago

    closed

  • José Atonaltzin Maldonado Ortiz @jose.maldonado mentioned in merge request !29 (closed) 7 years ago

    mentioned in merge request !29 (closed)

  • Agustín Cruz @agb80 reopened 7 years ago

    reopened

  • José Atonaltzin Maldonado Ortiz @jose.maldonado closed via commit 5f07348d 7 years ago

    closed via commit 5f07348d

  • Agustín Cruz @agb80 closed via merge request !26 (merged) 7 years ago

    closed via merge request !26 (merged)

  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply
0 Assignees
None
Assign to
None
Milestone
None
Assign milestone
None
Time tracking
No estimate or time spent
None
Due date
None
0
Labels
None
Assign labels
  • No matching results
  • Manage project labels
Confidentiality
Not confidential
Lock issue
Unlocked
4
4 participants
user avatar
user avatar
user avatar
user avatar
Reference: l10n_mx/l10n_mx_facturae#11