'A Point of Sale is paid when the sum
@return: True'

def test_paid(self):

    for order in self:
        if (order.lines and (not order.amount_total)):
            continue
        if ((not order.lines) or (not order.statement_ids) or (abs((order.amount_total - order.amount_paid)) > 1e-05)):
            return False
    return True
