Closed Alvezgr closed 2 years ago
I'm recently fetched all point of sales from AFIP for a given taxpayer and all of them appear blocked, although I didn't found where the blocked field for PointOfSales model is being used, I'm wondering if the following line it's causing this confusion https://github.com/WhyNotHugo/django-afip/blob/ce6229c8c9d41f998022b4e5bd7426cbcac71b86/django_afip/models.py#L486 It shouldn't be python "blocked": pos_data.Bloqueado == "S" ?
blocked
PointOfSales
python "blocked": pos_data.Bloqueado == "S"
Yes, you're quite right. Do you want to send a PR fixing this?
Nothing has broken so far because we don't use this field; it's merely informative.
Thanks! I'll close this issue and send you a PR.
I'm recently fetched all point of sales from AFIP for a given taxpayer and all of them appear blocked, although I didn't found where the
blocked
field forPointOfSales
model is being used, I'm wondering if the following line it's causing this confusion https://github.com/WhyNotHugo/django-afip/blob/ce6229c8c9d41f998022b4e5bd7426cbcac71b86/django_afip/models.py#L486 It shouldn't bepython "blocked": pos_data.Bloqueado == "S"
?