Skip to content

Instantly share code, notes, and snippets.

@eneldoserrata
Last active September 13, 2016 14:45
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 eneldoserrata/c3ab6e49a11823f44973 to your computer and use it in GitHub Desktop.
Save eneldoserrata/c3ab6e49a11823f44973 to your computer and use it in GitHub Desktop.
odoo clean data
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 pos_order_line;
DELETE FROM pos_order;
DELETE FROM account_bank_statement_line;
DELETE FROM account_bank_statement;
DELETE FROM account_voucher_line;
DELETE FROM account_voucher;
DELETE FROM stock_quant;
DELETE FROM purchase_order_line;
DELETE FROM purchase_order;
DELETE FROM pos_session;
DELETE FROM payment_order;
DELETE FROM hr_expense_advances;
DELETE FROM hr_expense_expense;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment