diff --git a/sale_commission_check_deposit/__manifest__.py b/sale_commission_check_deposit/__manifest__.py index 80de05101..bda1d8284 100644 --- a/sale_commission_check_deposit/__manifest__.py +++ b/sale_commission_check_deposit/__manifest__.py @@ -5,10 +5,7 @@ "author": "Nextev Srl," "Odoo Community Association (OCA)", "category": "Sales Management", "license": "AGPL-3", - "depends": [ - "sale_commission", - "account_check_deposit" - ], + "depends": ["sale_commission", "account_check_deposit"], "website": "https://github.com/OCA/commission", "data": ["views/account_journal_view.xml"], "installable": True, diff --git a/sale_commission_check_deposit/wizard/wizard_check_settle.py b/sale_commission_check_deposit/wizard/wizard_check_settle.py index 6fe1931a5..c32f4fadd 100644 --- a/sale_commission_check_deposit/wizard/wizard_check_settle.py +++ b/sale_commission_check_deposit/wizard/wizard_check_settle.py @@ -1,7 +1,6 @@ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -import json from datetime import date, timedelta from odoo import models @@ -25,7 +24,9 @@ def _get_agent_lines(self, agent, date_to_agent): return agent_lines def get_move_ids(self, payments_widget): - account_move_ids = [content["move_id"] for content in payments_widget["content"]] + account_move_ids = [ + content["move_id"] for content in payments_widget["content"] + ] move_lines = self.env["account.move.line"].search( [ ("move_id", "in", account_move_ids), diff --git a/test-requirements.txt b/test-requirements.txt index daef0e687..0f1de2d4d 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1 +1 @@ -odoo-addon-account_check_deposit @ git+https://github.com/OCA/account-financial-tools.git@refs/pull/1907/head#subdirectory=setup/account_check_deposit \ No newline at end of file +odoo-addon-account_check_deposit @ git+https://github.com/OCA/account-financial-tools.git@refs/pull/1907/head#subdirectory=setup/account_check_deposit