Initial Data
An accounting software requires some initial data for basic models before you can start using it. To make this data setup easier, these fixtures are provided that can be loaded based on your requirements. Select any number of fixtures suitable for your installation and load each of them with this command:
./manage.py loaddata FIXTURE_NAME
Note: Fixtures are mainly used for initial loading of data in an empty instance, and have fixed predefined primary key values. If there is existing data in your database, check for probable ID conflicts first or your existing data may be overwritten.
Generic Data
These are general data that are not accounting/company specific and are recommended in every setup:
ir_cities: List of major Iranian cities that are loaded toCitymodel. City data is mainly used for inputting addresses.
Default Data
These are basic accounting concepts and structures that are commonly used in different companies. It is recommended to import them except the company has specific and customized needs.
defaults1: Very common data that are usually defined similarly in system, except when very special customizations are needed.defaults2: Common data that are usually used in accounting systems, but many companies may also make changes in them based on their workflows. Requiresdefaults1.
Demo Data
These are example data that should not be imported in real instances, but are useful for manual testing and demo purposes.
demo1: Example data for the most common models that provide minimal data for checking system basic functionality. Requiresdefaults1,defaults2.demo2: Example data that is specifically constructed to demonstrate all features and special cases of system. Requiresdemo1.demo3: Example data with a larger number of records to simulate real operational data of non-trivial accounting system. Requiresdemo1.demo4: Example data based on a specific customer with small modifications, presented as a real world sample. Requiresdemo1.