Skip to content

Problema al crear certificado csr - Certificados - Tecnico  #61

@rlsoluttionscr

Description

@rlsoluttionscr

Al tratar de crear el certificado desde tecnico - certificados

Pasos para reproducir:

Se añaden los datos generales mo CUIT - PAIS - TIPO SERVICIO - TIPO - PROVINCIA - CUIDAD
Se confirman los datos y se visualiza la KEY

a la hora de crear y confirmar en crear certificado me aparece la siguiente informacion:

The operation cannot be completed:

  • Create/update: a mandatory field is not set.
  • Delete: another model requires the record being deleted. If possible, archive it instead.

Model: afipws.certificate (afipws.certificate)
Field: Certificate Alias (alias_id)

se revisaron todas las dependencias segun el documento de requirements.txt

el log arroja el siguiente error:

odoo.sql_db: bad query: INSERT INTO "afipws_certificate" ("create_date", "create_uid", "crt", "csr", "state", "write_date", "write_uid") VALUES ('2023-07-10 17:09:29.982571', 2, NULL, NULL, 'draft', '2023-07-10 17:09:29.982571', 2) RETURNING "id"
ERROR: null value in column "alias_id" of relation "afipws_certificate" violates not-null constraint
DETAIL: Failing row contains (7, null, 2, 2, draft, null, null, null, 2023-07-10 17:09:29.982571, 2023-07-10 17:09:29.982571).

2023-07-10 17:09:29,987 18955 WARNING gyssrl odoo.http: The operation cannot be completed:

  • Create/update: a mandatory field is not set.
  • Delete: another model requires the record being deleted. If possible, archive it instead.

Model: afipws.certificate (afipws.certificate)
Field: Certificate Alias (alias_id)

Version affectada:

  • 16.0

Lo que pasa actualmente:

Revisando versiones anteriores esta funcion generaba el csr para subirlo a afip y se confirmaba con el certificado devuelto

agradezco sus comentarios, y saludos desde Cordoba

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions