Skip to content

Commit

Permalink
[IMP] : black, isort, prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrobaeza committed Oct 18, 2020
1 parent a1e37ec commit 97ef1fb
Show file tree
Hide file tree
Showing 6 changed files with 216 additions and 268 deletions.
467 changes: 203 additions & 264 deletions base_location/static/description/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion base_location/views/res_city_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
/>
<field name="help">
Display and manage the list of all cities that can be assigned to
your partner records. Note that an option can be set on each country separately
your partner records. Note that an option can be set on each country
separately
to enforce any address of it to have a city in this list.
</field>
</record>
Expand Down
6 changes: 3 additions & 3 deletions base_location/views/res_company_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
/>
</field>
<field name="city" position="attributes">
<attribute
name="invisible"
>[('country_enforce_cities', '=', True)]</attribute>
<attribute name="invisible">
[('country_enforce_cities', '=', True)]
</attribute>
</field>
</field>
</record>
Expand Down
1 change: 1 addition & 0 deletions base_location/views/res_country_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
context="{'default_country_id': active_id, 'search_default_country_id': active_id}"
string="Zips"
>

</button>
</xpath>
</field>
Expand Down
1 change: 1 addition & 0 deletions setup/base_location/odoo/addons/base_location
6 changes: 6 additions & 0 deletions setup/base_location/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,
)

0 comments on commit 97ef1fb

Please sign in to comment.