Update SQL query with "and communication is null"

This commit is contained in:
Alexis de Lattre
2014-03-25 07:46:32 +01:00
parent b7345de4d5
commit 50dd73443a

View File

@@ -28,4 +28,5 @@ def migrate(cr, version):
"WHERE payment_line.order_id = payment_order.id "
"AND payment_order.state in ('draft', 'open') "
"AND payment_line.state = 'normal' "
"AND communication is null"
"AND communication2 is not null")