[FIX] stock_account: fix invoice_state on create stock picking

Hello,

When a sale is confirmed check first procurement.rule_id.invoice_state is this is none, don't check procurement.invoice_state. So, the stock.picking invoice_state is not aplicable.

Greetings


I know that I can do this. My first solution was this, but it ignore rule_id, so I write this solution.