1
0
forked from erp-dev/erp

feat: log formatted

This commit is contained in:
2026-06-26 17:03:54 +08:00
parent e8bf4b5e49
commit cb6589c884
26 changed files with 1410 additions and 50 deletions

View File

@@ -188,6 +188,7 @@ class PrintingJobByCustomerAPITest(TestCase):
product=self.product,
quantity=10,
unit='',
sub_id=11,
)
printing_models.PrintingJob.objects.filter(id=self.job_in_range.id).update(created_at=in_range)
@@ -253,6 +254,7 @@ class PrintingJobByCustomerAPITest(TestCase):
self.assertEqual(len(resp.data), 1)
self.assertEqual(resp.data[0]['id'], self.job_in_range.id)
self.assertEqual(resp.data[0]['external_order_id'], 'KD20410611')
self.assertEqual(resp.data[0]['sub_id'], 11)
self.assertEqual(resp.data[0]['billed_quantity'], '20.00')
def test_filter_by_printing_order(self):