Price Rule doesent work

after setting up a price rule adding products to an invoice keeps creatin an error and it doesent work

update
price rule fails to work only if product discount is selected