[IMP] point_of_sale: Minor improvements.
bzr revid: uco@tinyerp.com-20111125094715-0ut1ehrr0mkamddf
This commit is contained in:
@@ -88,7 +88,7 @@ class pos_details(report_sxw.rml_parse):
|
||||
def _paid_total_2(self):
|
||||
return self.total or 0.0
|
||||
|
||||
def _get_sum_dis_2(self,form):
|
||||
def _get_sum_dis_2(self):
|
||||
return self.discount or 0.0
|
||||
|
||||
def _get_sum_discount(self, objects):
|
||||
|
||||
@@ -373,7 +373,7 @@
|
||||
<para style="terp_default_Bold_9">Total discount</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_default_Right_9_Bold">[[ formatLang(getsumdisc(data['form']), dp='Sale Price') ]] [[ company.currency_id.symbol ]]</para>
|
||||
<para style="terp_default_Right_9_Bold">[[ formatLang(getsumdisc(), dp='Sale Price') ]] [[ company.currency_id.symbol ]]</para>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user