The migration to 18.0 anchored the settings block inside the
"General Settings" app (after Contacts). In 18.0 the settings side
menu is built exclusively from ``<app>`` elements
(``web/static/src/webclient/settings_form_view/settings_form_compiler.js``),
so the block rendered but the dedicated "GogoCarto" menu entry the
16.0 view provided (``app_settings_block`` with ``data-key``) was
gone.
Declare a dedicated ``<app>`` injected at form level (same pattern as
core ``calendar``), which restores the menu entry; the block and its
translatable strings are unchanged. The ``base_setup`` dependency is
no longer needed and is dropped.
Add a regression test asserting the app exists in the combined arch.
Verified on a local 18.0 instance: 10 tests, 0 failed, 0 error, and
the combined form arch exposes the app at top level.
Add unit tests on the parser/domain helpers and end-to-end tests of
the public JSON endpoint:
- ``tests/test_res_partner.py``: pins the Gogocarto data contract
(default domain and field set, company-selected fields, parser
mapping of scalar/relational/binary/unsupported ttypes). A silent
regression there corrupts the map feed while the endpoint keeps
answering 200.
- ``tests/test_controller.py``: anonymous ``HttpCase`` calls on
``/web/<company_id>/get_http_gogocarto_elements`` covering the
flagged-partners payload, the exclusion of unflagged partners and
the graceful degradation on unknown company ids.
Verified on a local 18.0 instance: 9 tests, 0 failed, 0 error.