You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Satchmo users
I need to be able to make a customer (dealer or institution) tax- exempt, so I was thinking of either adding the auth.user to an auth.group or adding a ContactRole that could be checked for and then setting up a listener. But what signal would I listen for?
davis
unread,
Dec 23, 2009, 11:57:03 AM12/23/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Satchmo users
Anybody know offhand what signal to listen for to change the tax amount during checkout?
Just thought I'd ask before reading through the code.
Bruce Kroeze
unread,
Dec 23, 2009, 12:10:44 PM12/23/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to satchm...@googlegroups.com
On Wed, Dec 23, 2009 at 8:57 AM, davis <dv...@yahoo.com> wrote:
Anybody know offhand what signal to listen for to change the tax
amount during checkout?
Just thought I'd ask before reading through the code.
I think the easiest solution for you would be to write a variant of one of the existing tax modules, then add it to the livesetting TAX.MODULE.choices. In its get_rate function, you could check whether the customer is tax-exempt, and if so, return Decimal('0.00')
That way you'd always be certain that they aren't getting taxed, and you could skip tracking down all signals and such.