Make payment term optional in draft and quotation states

issue3388
review10421002