[Stoq-devel] [Bug 3283] O campo percentual do cadastro de transportadora não está sendo utilizado
bugzilla-daemon at async.com.br
bugzilla-daemon at async.com.br
Thu Jun 21 15:04:02 BRT 2007
http://bugs.async.com.br/show_bug.cgi?id=3283
Johan Dahlin <jdahlin at async.com.br> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #4182|review?(jdahlin at async.com.br|review-
Flag|) |
--- Comment #2 from Johan Dahlin <jdahlin at async.com.br> 2007-06-21 15:04:01 BRT ---
(From update of attachment 4182)
>Index: stoqlib/domain/purchase.py
>+ def get_freight(self):
>+ type_freight = self.get_freight_type_name()
>+ if type_freight == "FOB":
>+ return self.freight
>+ elif type_freight == "CIF" and self.transporter:
>+ return self.transporter.freight_percentage or currency(0)
>+ else:
>+ return currency(0)
falta documentação!
>Index: stoqlib/gui/dialogs/purchasedetails.py
>- data_func=payment_value_colorize),
>+ data_func=payment_value_colorize),
Esse mudança tem nada ve com seu bug.
--
Configure bugmail: http://bugs.async.com.br/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the Stoq-devel
mailing list