[MOD] logic to set account and tax to XD and dead_heads

Merged Sebastian Kennedy requested to merge 8.0-xd_accounting into 8.0-stage

See RAF-33

Merge request reports