res_partner_mastodon_link

in social · source on GitHub

Add mastodon url at partner model

GRAP · OCA France · AGPL-3

16.0×Not in this series
17.0×Not in this series
18.0✗Install error
19.0×Not in this series
20.0×Not in this series
SeriesStatusDetailsCode
16.0—Not testedno branch
17.0—Not testedno branch
18.0✗Install errorThe field does not exist in this version: rc.social_mastodon · run 2026-08-27on GitHub
19.0—Not testedno branch
20.0—Not testedno branch

The module’s code on 18.0

Lines of codepython 60 · xml 107
Testsno
Migration scriptsno
Models0 new · 2 extensions
Raw SQL1 × cr.execute

Lines are physical, blanks and comments included, as wc -l. Tests are test_*.py files under tests/. Models are lines holding _name = and _inherit =. These are facts about the code, not a judgement: more lines is neither better nor worse. Measured 2026-08-28 on tree 0d61d94ff6b9.

Depends on

ModuleStatusChecked
base_fontawesome✓Installs2026-08-20

History

Last change2026-06-17
Code commits, 12 months1
Most activeSylvain LE GAL
Files22

Translation and bot commits are excluded from the commit count.

Install log 18.0

Warn: Can't find .pfb for face 'Courier'
2026-08-27 08:10:14,255 1 ERROR job_8b0bb61dceda odoo.sql_db: bad query: b'\n        UPDATE res_partner rp\n            SET social_mastodon = rc.social_mastodon\n            FROM res_company rc\n            WHERE rc.partner_id = rp.id\n            AND rc.social_mastodon is not null;\n        '
ERROR: column rc.social_mastodon does not exist
LINE 6:             AND rc.social_mastodon is not null;
                        ^
HINT:  Perhaps you meant to reference the column "rp.social_mastodon".
 
2026-08-27 08:10:14,263 1 WARNING job_8b0bb61dceda odoo.modules.loading: Transient module states were reset 
2026-08-27 08:10:14,264 1 ERROR job_8b0bb61dceda odoo.modules.registry: Failed to load registry 
2026-08-27 08:10:14,264 1 CRITICAL job_8b0bb61dceda odoo.service.server: Failed to initialize database `job_8b0bb61dceda`. 
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 1414, in preload_registries
    registry = Registry.new(dbname, update_module=update_module)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/decorator.py", line 232, in fun
    return caller(func, *(extras + args), **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/odoo/tools/func.py", line 97, in locked
    return func(inst, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 118, in new
    odoo.modules.load_modules(registry, force_demo, status, update_module)
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 489, in load_modules
    processed_modules += load_marked_modules(env, graph,
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 365, in load_marked_modules
    loaded, processed = load_module_graph(
                        ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 246, in load_module_graph
    getattr(py_module, post_init)(env)
  File "/mnt/pool/res_partner_mastodon_link/hooks.py", line 7, in post_init_hook
    env.cr.execute("""
  File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 371, in execute
    res = self._obj.execute(query, params)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
psycopg2.errors.UndefinedColumn: column rc.social_mastodon does not exist
LINE 6:             AND rc.social_mastodon is not null;
                        ^
HINT:  Perhaps you meant to reference the column "rp.social_mastodon".

Result looks wrong? Tell us — we will show the log or run it again. Report a wrong result

Get told when this module changes state

Data updated 2026-10-07 14:00 UTC · build 4aa2dbe · we publish the install log with a date, not a vendor rating · CSV and JSON are open

Questions or a wrong result: open an issue or hello@allservices.one

Privacy · Terms

Independent project. Not affiliated with Odoo S.A. or the Odoo Community Association.