minor fix
This commit is contained in:
parent
88a819f415
commit
48a0300cc3
|
@ -782,7 +782,7 @@ class AppWindow(FrontWindow):
|
|||
cash_received = Decimal(text.replace(',', ''))
|
||||
|
||||
# FIXME
|
||||
if self._commission_activated:
|
||||
if self._commission_activated and self.enviroment == 'retail':
|
||||
if self._journals[self.field_journal_id]['kind'] == 'payment':
|
||||
agent_id = None
|
||||
if self.field_agent_id:
|
||||
|
|
Loading…
Reference in New Issue