fix(test): fix create sale api test.

This commit is contained in:
Mono Mono 2024-11-11 16:08:20 -05:00
parent 4f0f899c70
commit 99f2f77b78

View File

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