Merge pull request #1521 from xtuple/4_5_x

4 5 x
issue #23559: Syntax error on Sales Orders
Merge pull request #1530 from julesstp/23559-SOSyntaxError

issue #23559: Syntax error on Sales Orders