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

Problema al crear certificado csr - Certificados - Tecnico #61

Open
rlsoluttionscr opened this issue Jul 10, 2023 · 0 comments
Open

Problema al crear certificado csr - Certificados - Tecnico #61

rlsoluttionscr opened this issue Jul 10, 2023 · 0 comments

Comments

@rlsoluttionscr
Copy link

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

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