[FIX] - account_invoice_payment_term_date_due_security: Module bug fixes.

Changes:
* Fixed unbound local error on method
* Added space in xml