Nguyễn Tuấn Anh
Nguyễn Tuấn Anh
``` def check_lines_quantity(variants, quantities, country): """Check if stock is sufficient for each line in the list of dicts.""" for variant, quantity in zip(variants, quantities): if quantity < 0: raise ValidationError(...
``` check_stock_quantity(variant, country, quantity) ``` absolutely here. you should check warehouse and country at dashboard repo.
i took 3hrs to debug raw queries. might be you are missing setup shipping zone and assign it.
can we use https://github.com/tfranzel/drf-spectacular ?
Or maybe external embedded ?
was that solved ? im stuck in there.
``` 2024-09-23 10:21:28 [scrapy-playwright] DEBUG: [Context=default] Request: (resource type: document) 2024-09-23 10:21:28 [scrapy-playwright] DEBUG: [Context=default] Response: 2024-09-23 10:21:28 [scrapy-playwright] DEBUG: [Context=default] Request: (resource type: document) 2024-09-23 10:21:28 [scrapy-playwright] DEBUG: [Context=default]...