Moved the sample data generation from the make-sample.py script to the test site. The sample data is generated at real time. This avoids the problem with pre-recorded sample data that the beginning of the months and weeks changes with the day resetting the sample data.
This commit is contained in:
@ -32,6 +32,18 @@ from . import db
|
||||
from .auth import User
|
||||
|
||||
|
||||
class Accounts:
|
||||
"""The shortcuts to the common accounts."""
|
||||
CASH: str = "1111-001"
|
||||
BANK: str = "1113-001"
|
||||
RECEIVABLE: str = "1141-001"
|
||||
MACHINERY: str = "1441-001"
|
||||
PAYABLE: str = "2141-001"
|
||||
SERVICE: str = "4611-001"
|
||||
RENT_EXPENSE: str = "6252-001"
|
||||
MEAL: str = "6272-001"
|
||||
|
||||
|
||||
class JournalEntryLineItemData:
|
||||
"""The journal entry line item data."""
|
||||
|
||||
|
Reference in New Issue
Block a user