Skip to content

Instantly share code, notes, and snippets.

@eneldoserrata
Last active October 8, 2016 01:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save eneldoserrata/971f7d793362dc9a9c60 to your computer and use it in GitHub Desktop.
Save eneldoserrata/971f7d793362dc9a9c60 to your computer and use it in GitHub Desktop.
DELETE FROM account_partial_reconcile;
delete from pos_order;
delete from pos_session;
DELETE FROM stock_pack_operation;
DELETE FROM stock_picking;
DELETE FROM stock_move;
DELETE FROM sale_order_line;
DELETE FROM sale_order;
DELETE FROM account_invoice_line;
DELETE FROM account_invoice;
DELETE FROM account_move_line;
DELETE FROM account_move;
DELETE FROM account_bank_statement_line;
DELETE FROM account_bank_statement;
DELETE FROM stock_quant;
DELETE FROM purchase_order_line;
DELETE FROM purchase_order;
delete from stock_inventory;
delete from account_payment;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment