SOLUTION
in addition to this
satchmo-tax-modules-percent
def by_price(self,taxclass,price):
if taxclass:
percent = config_value('TAX', 'PERCENT')
else:
percent = 0
p=price *(percent/100)
return p
in satchmo contact models.py def recalculate
line 573 itemprices.append(linetiem.unit_price_with_tax *
lineitem.quantity)
comment out lines 594
taxProcessor = tax.get_processor(self)
to line 607 incl
log.debug("recalc: etc
add
tax = 0
for lineitem in self.orderitem_set.all():
line_tax = lineitem.tax
tax = tax + line_tax
self.tax = tax
This then allows calculation of total and taxes of products with and
without sales tax applied
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Satchmo users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/satchmo-users?hl=en
-~----------~----~----~----~------~----~------~--~---