Browse Source

[IMP] : black, isort, prettier

14.0
Pedro M. Baeza 4 years ago
parent
commit
97ef1fb668
  1. 467
      base_location/static/description/icon.svg
  2. 3
      base_location/views/res_city_view.xml
  3. 6
      base_location/views/res_company_view.xml
  4. 1
      base_location/views/res_country_view.xml
  5. 1
      setup/base_location/odoo/addons/base_location
  6. 6
      setup/base_location/setup.py

467
base_location/static/description/icon.svg
File diff suppressed because it is too large
View File

3
base_location/views/res_city_view.xml

@ -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>

6
base_location/views/res_company_view.xml

@ -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>

1
base_location/views/res_country_view.xml

@ -23,6 +23,7 @@
context="{'default_country_id': active_id, 'search_default_country_id': active_id}"
string="Zips"
>
</button>
</xpath>
</field>

1
setup/base_location/odoo/addons/base_location

@ -0,0 +1 @@
../../../../base_location

6
setup/base_location/setup.py

@ -0,0 +1,6 @@
import setuptools
setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
Loading…
Cancel
Save