Open lukio opened 9 years ago
Today, we validate the certificate when we saved the company record. So, we should not check if the certificate is valid, we should check if the company.pyafip_cert_mode is != 'n/a'. That implies that it has a valid certificate, and we can have a point of sale of type electronic.
No debe poder crear facturas electrónicas si no se han completado los datos de AfipWS en la empresa. Además, el certificado debe ser válido para poder crear el punto de venta electrónico.