fix(api): remove SaleWithLinesViewSet.

This commit is contained in:
2024-09-08 22:33:41 -05:00
parent 5adf9a9ce7
commit 19a618a671
4 changed files with 6 additions and 25 deletions

View File

@@ -21,7 +21,7 @@ class TestAPI(APITestCase):
data = {
'customer': self.customer.id,
'date': '2024-09-02',
'lines': [
'saleline_set': [
{'product': self.product.id, 'quantity': 2, 'unit_price': 3000},
{'product': self.product.id, 'quantity': 3, 'unit_price': 5000}
],