Skip to content

Commit

Permalink
Pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneDeGeeter committed Mar 20, 2024
1 parent 5b95883 commit 947c456
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 4 additions & 2 deletions account_reconcile_oca/models/account_reconcile_abstract.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ class AccountReconcileAbstract(models.AbstractModel):
)
currency_id = fields.Many2one("res.currency", readonly=True)
foreign_currency_id = fields.Many2one("res.currency")
company_currency_id = fields.Many2one(string="Company Currency",
comodel_name="res.currency", related="company_id.currency_id"
company_currency_id = fields.Many2one(
string="Company Currency",
comodel_name="res.currency",
related="company_id.currency_id",
)

def _get_reconcile_line(
Expand Down
5 changes: 1 addition & 4 deletions project_role/models/project_role.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@ class ProjectRole(models.Model):
active = fields.Boolean(
default=True,
)
parent_path = fields.Char(
index=True,
unaccent=False
)
parent_path = fields.Char(index=True, unaccent=False)
parent_id = fields.Many2one(
string="Parent Role",
comodel_name="project.role",
Expand Down

0 comments on commit 947c456

Please sign in to comment.