Migrated from 16.0.1.0.1 following the OCA migration guidelines:
- ``with_context(force_company=...)`` replaced by ``.with_company(...)``
in the controller: the ``force_company`` context key is no longer
supported and logs a warning in 18.0.
- Settings view rewritten for the 17.0+ settings structure: the legacy
``<div class="app_settings_block">`` / ``hasclass('settings')`` anchor
is gone. The block now follows the ``<block>``/``<setting>`` idiom and
inherits ``base_setup.res_config_settings_view_form``; the
``base_setup`` dependency was added accordingly. Translatable strings
are kept verbatim so the ``fr.po`` catalog stays valid.
- Fixed the ``posiion`` -> ``position`` typo in the company form
inheritance (silently defaulted to ``inside`` since 16.0).
- Version bumped to ``18.0.1.0.0``; author normalized to a
comma-separated string (pylint manifest-author-string).
Dependencies verified on 18.0: ``jsonifier`` (OCA server-tools) still
provides ``jsonify(parser)``, ``server_action_mass_edit`` (OCA
server-ux) still provides ``ir.actions.server.mass.edit.line`` and the
core ``ir.actions.server.create_action`` used by the mass-edit record.
Verified on a local 18.0 instance: clean install, and
``GET /web/<company_id>/get_http_gogocarto_elements`` returns the
expected JSON payload (flagged partners only, unknown company yields
``[]``, no ``force_company`` warnings in logs).
66 lines
1.8 KiB
ReStructuredText
66 lines
1.8 KiB
ReStructuredText
============================
|
|
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. |