Skip to content

Commit

Permalink
[IMP] shopinvader: black, isort, prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
hparfr committed Jul 9, 2021
1 parent fa3089e commit 1129fa2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ exclude: |
^shopinvader_guest_mode/|
^shopinvader_import_image/|
^shopinvader_lead/|
^shopinvader_locomotive_algolia/|
^shopinvader_locomotive_contact_company/|
^shopinvader_locomotive_elasticsearch/|
^shopinvader_locomotive_guest_mode/|
Expand Down
6 changes: 6 additions & 0 deletions setup/shopinvader_locomotive_algolia/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
4 changes: 1 addition & 3 deletions shopinvader_locomotive_algolia/models/se_backend_algolia.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ class SeBackendAlgolia(models.Model):
_inherit = "se.backend.algolia"

# change help msg
algolia_api_key = fields.Char(
help="Admin API key with rights to write on indexes"
)
algolia_api_key = fields.Char(help="Admin API key with rights to write on indexes")
algolia_api_key_public = fields.Char(
string="Public API KEY",
help="Readonly API key with rights to search only",
Expand Down

0 comments on commit 1129fa2

Please sign in to comment.