While calculating trip allowance, per diem expenses with the default per diem rates will be automatically added to the associated expense report.
To enable this,
Switch to the Admin View.
Navigate to Settings.
Select Modules under Customization.
Go to Trips. In the Trip Allowance section, select the type of trip that you would like to auto create trip allowance for from the dropdown and click Save.