add field 'bookingtype', optimize form/list
This commit is contained in:
parent
d800b17561
commit
69b2a387ee
7 changed files with 148 additions and 30 deletions
|
@ -39,7 +39,8 @@ class PlannerTestCase(object):
|
|||
job, = Planner.create([{
|
||||
'cashbook': book.id,
|
||||
'name': name,
|
||||
'start_date': date(2022, 5, 1)}])
|
||||
'start_date': date(2022, 5, 1),
|
||||
'bookingtype': 'out'}])
|
||||
# check applied defaults
|
||||
self.assertEqual(job.rec_name, 'Job 1')
|
||||
self.assertEqual(job.start_date, date(2022, 5, 1))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue