[Stoq-devel] [Bug 2811] New: - Problemas ao setar surcharge para uma venda

bugzilla-daemon at async.com.br bugzilla-daemon at async.com.br
Mon Sep 4 11:38:59 BRT 2006


http://bugs.async.com.br/show_bug.cgi?id=2811  

           Summary: Problemas ao setar surcharge para uma venda
           Product: Stoq
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: (unset)
          Priority: (unset)
         Component: APP: POS
        AssignedTo: nobody at async.com.br
        ReportedBy: lincoln at async.com.br
         QAContact: stoq-devel at async.com.br
OtherBugsDependingO 2295
             nThis:
   Estimated Hours: 0.0


Ao definir surcharge para uma venda e tentar confirmá-la temos o traceback:

Traceback (most recent call last):
  File "/home/lincoln/devel/stoq_packages/stoq/stoq/gui/pos/pos.py", line 609,
in on_checkout_button__clicked
    self._checkout()
  File "/home/lincoln/devel/stoq_packages/stoq/stoq/gui/pos/pos.py", line 410,
in _checkout
    if not self._finish_coupon():
  File "/home/lincoln/devel/stoq_packages/stoq/stoq/gui/pos/pos.py", line 441,
in _finish_coupon
    totalize = self._coupon.totalize()
  File "/home/lincoln/devel/stoqlib/lib/drivers.py", line 422, in totalize
    self.printer.totalize(discount, surcharge, TAX_NONE)
  File "/home/lincoln/devel/kiwi/argcheck.py", line 180, in wrapper
    return func(*args, **kwargs)
  File "/home/lincoln/devel/stoqdrivers/devices/printers/fiscal.py", line 135,
in totalize
    raise ValueError("to specify a surcharge you need specify its "
ValueError: to specify a surcharge you need specify its tax code

Baseado no e-mail de Carlos Barros para stoq-devel, referência:
http://www.async.com.br/pipermail/stoq-devel/2006-August/007338.html


More information about the Stoq-devel mailing list