[FIX] point_of_sale: remove useless code

Introduced at 36e7327f as a patch for stable and 1d2ca932 fixed in master.
Maybe the capslock was not big enough, will use <blink/> next time.
This commit is contained in:
Martin Trigaux
2017-04-26 12:09:00 +02:00
parent 5f7fc56b7a
commit 3b2ad20d24
@@ -236,10 +236,6 @@ class PosSession(models.Model):
@api.multi
def action_pos_session_closing_control(self):
for session in self:
#DO NOT FORWARD-PORT
if session.state == 'closing_control':
session.action_pos_session_close()
continue
for statement in session.statement_ids:
if (statement != session.cash_register_id) and (statement.balance_end != statement.balance_end_real):
statement.write({'balance_end_real': statement.balance_end})