fix(api): remove SaleWithLinesViewSet.
This commit is contained in:
@@ -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}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user