Browse Source

PEP8

pull/437/head
Alexis de Lattre 10 years ago
committed by Sylvain LE GAL
parent
commit
9d6691a78f
  1. 6
      pos_customer_display/pos_customer_display.py

6
pos_customer_display/pos_customer_display.py

@ -59,10 +59,12 @@ class PosConfig(models.Model):
if self.customer_display_line_length: if self.customer_display_line_length:
maxsize = self.customer_display_line_length maxsize = self.customer_display_line_length
to_check = { to_check = {
_('Next Customer (top line)'): self.customer_display_msg_next_l1,
_('Next Customer (top line)'):
self.customer_display_msg_next_l1,
_('Next Customer (bottom line)'): _('Next Customer (bottom line)'):
self.customer_display_msg_next_l2, self.customer_display_msg_next_l2,
_('POS Closed (top line)'): self.customer_display_msg_closed_l1,
_('POS Closed (top line)'):
self.customer_display_msg_closed_l1,
_('POS Closed (bottom line)'): _('POS Closed (bottom line)'):
self.customer_display_msg_closed_l2, self.customer_display_msg_closed_l2,
} }

Loading…
Cancel
Save