From 0c7c464af27cbe0fc092730413dbb565ace59abe Mon Sep 17 00:00:00 2001 From: wilsongomez Date: Fri, 18 Feb 2022 16:07:21 -0500 Subject: [PATCH] minor fix --- app/main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/main.py b/app/main.py index e743da3..e8c6559 100644 --- a/app/main.py +++ b/app/main.py @@ -821,9 +821,8 @@ class AppWindow(FrontWindow): return cash_received = Decimal(text.replace(',', '')) - # FIXME if self._commission_activated and self.enviroment == 'retail': - if self._journals[self.field_journal_id]['kind'] == 'payment': + if self.journal['kind'] == 'payment': agent_id = None if self.field_agent_id: agent_id = self.field_agent_id