Skip to content

Instantly share code, notes, and snippets.

@bistaray
Created November 17, 2015 00:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bistaray/d82b03068a86b42aabf8 to your computer and use it in GitHub Desktop.
Save bistaray/d82b03068a86b42aabf8 to your computer and use it in GitHub Desktop.
SQL
select number from account_invoice where move_id in (select move_id from account_move_line where amount_currency <> 0 and (amount_currency <> debit and amount_currency <> -credit));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment