Merge pull request #9554 from mbauskar/sales-register

[minor] fixed AttributeError: 'dict' object has no attribute 'company' in sales register