Files
partner-tools/partner_gogocarto_export_api
Stéphan Sainléger 9fc914ede2 [ADD] partner_gogocarto_export_api: add test suite
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.
2026-10-19 00:17:04 +02:00
..

============================
partner_gogocarto_export_api
============================

Gogocarto Export module, to export the partner data needed for a Gogocarto map.

This module allow the users to decide:

* the partners to be exported
* the fields exported for each partner (*name*, *partner_longitude* and *partner_latitude* automatically exported)


Installation
============

Use Odoo normal module installation procedure to install
``partner_gogocarto_export_api``, all dependencies will be installed by default.

Configuration
=============

To export partners data:

#. Set the fields you want to export in Settings / Gogocarto.
#. Check the field *"Export to Gogocarto"* in the partner form view.

And use the link *https://yourodoo.com/web/<company_id>/get_http_gogocarto_elements* in Gogocarto server import configuration (*https://video.colibris-outilslibres.org/videos/watch/c74fc469-c822-4ab8-82a7-a2555e49e576*)


Known issues / Roadmap
======================

None yet.

Bug Tracker
===========

Bugs are tracked on `our issues website <https://github.com/elabore-coop/partner-tools/issues>`_. In case of
trouble, please check there if your issue has already been
reported. If you spotted it first, help us smashing it by providing a
detailed and welcomed feedback.

Credits
=======

Contributors
------------

* Stéphan SAINLEGER <https://github.com/stephansainleger>
* Chloé Migayrou <https://github.com/MigayrouChloe>
* Nicolas Jeudy <https://github.com/njeudy>
* Lokavaluto Teams <https://lokavaluto.fr>

Funders
-------

The development of this module has been financially supported by:
* Lokavaluto (https://lokavaluto.fr)
* Mycéliandre (https://myceliandre.fr)
* Elabore (https://elabore.coop)


Maintainer
----------

This module is maintained by Elabore and Lokavaluto.