res_partner_mastodon_link
in social · source on GitHub
Add mastodon url at partner model
GRAP · OCA France · AGPL-3
| Series | Status | Details | Code |
|---|---|---|---|
| 16.0 | —Not tested | no branch | |
| 17.0 | —Not tested | no branch | |
| 18.0 | ✗Install error | The field does not exist in this version: rc.social_mastodon · run 2026-08-27 | on GitHub |
| 19.0 | —Not tested | no branch | |
| 20.0 | —Not tested | no branch |
The module’s code on 18.0
| Lines of code | python 60 · xml 107 |
| Tests | no |
| Migration scripts | no |
| Models | 0 new · 2 extensions |
| Raw SQL | 1 × 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
| Module | Status | Checked |
|---|---|---|
| base_fontawesome | ✓Installs | 2026-08-20 |
History
| Last change | 2026-06-17 |
| Code commits, 12 months | 1 |
| Most active | Sylvain LE GAL |
| Files | 22 |
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