Mode of payment bug

an error if our session default setting using company A and then pos invoice will adapt using Company A either. It should follow the company of the POS profile, not the Session default setting