Skip to content

Instantly share code, notes, and snippets.

@erickgnavar
Created June 15, 2015 21:06
Show Gist options
  • Save erickgnavar/9343acd06e210f91e536 to your computer and use it in GitHub Desktop.
Save erickgnavar/9343acd06e210f91e536 to your computer and use it in GitHub Desktop.
how to use pdb in odoo
def create(self, values):
import pdb; pdb.set_trace() # this is your breakpoint
return super(SaleOrder, self).create(values)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment