Added name to ENUM for compatibility with postgresql
Do not use debt if sales module not found