Skip to content

Commit

Permalink
[IMP]sale_commission_check_deposit: test requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
matteonext committed Dec 18, 2024
1 parent a37da41 commit 08ea69a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
5 changes: 1 addition & 4 deletions sale_commission_check_deposit/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
5 changes: 3 additions & 2 deletions sale_commission_check_deposit/wizard/wizard_check_settle.py
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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),
Expand Down
2 changes: 1 addition & 1 deletion test-requirements.txt
Original file line number Diff line number Diff line change
@@ -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
odoo-addon-account_check_deposit @ git+https://github.com/OCA/account-financial-tools.git@refs/pull/1907/head#subdirectory=setup/account_check_deposit

0 comments on commit 08ea69a

Please sign in to comment.