7.0 refactoring

You better have to use parenthesis instead of \, example:

````
if (date(2014, 1, 1) > date_invoice.date() and
        sale_order.payment_method_id and 
        sale_order.payment_method_id.account_id):
````

(no comment on the test in itself ;-))