[FIX] Make invoice lines editable only when state in draft or synchronized