Skip to content

Commit

Permalink
fixing pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
hitrosol committed Aug 7, 2024
1 parent a2e3703 commit 09b640f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
3 changes: 3 additions & 0 deletions maintenance_location/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ Contributors
* Enric Tobella
* Kevin Luna
* Jaime Arroyo

* PT Solusi Agli Indonesia
* Panca Putra Pakpahan


Maintainers
Expand Down
6 changes: 2 additions & 4 deletions maintenance_location/models/maintenance_location.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ class MaintenanceLocation(models.Model):

name = fields.Char(required=True)
description = fields.Char()
complete_name = fields.Char(
"Complete Name", compute="_compute_complete_name", store=True
)
complete_name = fields.Char(compute="_compute_complete_name", store=True)

partner_id = fields.Many2one("res.partner")

Expand All @@ -33,7 +31,7 @@ class MaintenanceLocation(models.Model):
parent_path = fields.Char(index=True)
latitude = fields.Float(digits=(16, 5))
longitude = fields.Float(digits=(16, 5))
sequence = fields.Integer(string="Sequence", default=10)
sequence = fields.Integer(default=10)
active = fields.Boolean(default=True)

@api.depends("name", "parent_id.complete_name")
Expand Down
3 changes: 3 additions & 0 deletions maintenance_location/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@
* Enric Tobella
* Kevin Luna
* Jaime Arroyo

* PT Solusi Agli Indonesia
* Panca Putra Pakpahan

2 changes: 2 additions & 0 deletions maintenance_location/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,8 @@ <h2><a class="toc-backref" href="#toc-entry-4">Contributors</a></h2>
* Enric Tobella
* Kevin Luna
* Jaime Arroyo</li>
<li>PT Solusi Agli Indonesia
* Panca Putra Pakpahan</li>
</ul>
</div>
<div class="section" id="maintainers">
Expand Down

0 comments on commit 09b640f

Please sign in to comment.