#NEWLINE# @ permission_required ( 'core.manage_shop' ) #NEWLINE# @ require_POST #NEWLINE# def delete_customer_tax( request , id ) : #NEWLINE# #INDENT# '\n    Deletes customer tax with passed id.\n    ' #NEWLINE# customer_tax = get_object_or_404 ( CustomerTax , pk = id ) #NEWLINE# customer_tax . delete ( ) #NEWLINE# return lfs . core . utils . set_message_cookie ( url = reverse ( 'lfs_manage_customer_taxes' ) , msg = _ ( 'Customer tax has been deleted.' ) )