diff --git a/app/main.py b/app/main.py index 24c8fee..85c8c9b 100644 --- a/app/main.py +++ b/app/main.py @@ -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: