rule changes : generate Invoice number only if order is paid
Merge pull request #1 from zzuutt/generate-invoice-number-only-if-order-is-paid

rule changes : generate Invoice number only if order is paid