[IMP] point_of_sale: Code cleaning.

bzr revid: uco@tinyerp.com-20100927083304-o1is7f525eawp2cz
This commit is contained in:
uco (Open ERP) 2010-09-27 14:03:04 +05:30
parent 218ea3854d
commit a808490e09
2 changed files with 0 additions and 4 deletions

View File

@ -125,10 +125,7 @@ class all_closed_cashbox_of_the_day(report_sxw.rml_parse):
return lst
def _get_net_total(self,user):
lst = []
res={}
total_ending_bal = 0.0
total_starting_bal = 0.0
sql = """select sum(absl.amount) as net_total from account_bank_statement as abs
LEFT JOIN account_bank_statement_line as absl ON abs.id = absl.statement_id
where abs.state IN ('confirm','open') and abs.user_id = %d

View File

@ -240,7 +240,6 @@ class add_product(osv.osv_memory):
data = data and data[0] or False
if active_id:
order_obj = self.pool.get('pos.order')
lines_obj = self.pool.get('pos.order.line')
picking_obj = self.pool.get('stock.picking')
stock_move_obj = self.pool.get('stock.move')
property_obj= self.pool.get("ir.property")