Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
99 changes: 99 additions & 0 deletions website_social_media_link/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
===============================
Website - Company Mastodon Link
===============================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:d7a5434c29e78bf335bf89086723444174dc849ca812e65f6e9adef61ac03879
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fwebsite-lightgray.png?logo=github
:target: https://github.com/OCA/website/tree/18.0/website_social_media_link
:alt: OCA/website
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/website-18-0/website-18-0-website_social_media_link
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/website&target_branch=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module is a bugfix. In odoo, when creating a new website, the URLs
of the social media are copied from ``res.company`` model to ``website``
model. Once done, it is not possible to user to change data on
``website`` model, if an URL change, or a new social media is used.

This module adds Social Medial links on websites back-end form view.

|website|

.. |website| image:: https://raw.githubusercontent.com/OCA/website/18.0/website_social_media_link/static/description/website_form.png

**Table of contents**

.. contents::
:local:

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

We can stop use this module as soon as this patch has been reviewed and
merged https://github.com/odoo/odoo/pull/237668.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/website/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/website/issues/new?body=module:%20website_social_media_link%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* GRAP

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

- Sylvain LE GAL <sylvain.legal@grap.coop>

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

.. |maintainer-legalsylvain| image:: https://github.com/legalsylvain.png?size=40px
:target: https://github.com/legalsylvain
:alt: legalsylvain

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-legalsylvain|

This module is part of the `OCA/website <https://github.com/OCA/website/tree/18.0/website_social_media_link>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file.
14 changes: 14 additions & 0 deletions website_social_media_link/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright 2026 - Today: GRAP https://www.grap.coop
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
{
"name": "Website - Company Mastodon Link",
"summary": "Display Social Medial Links on Website" " back-end.",
Comment on lines +4 to +5

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"name": "Website - Company Mastodon Link",
"summary": "Display Social Medial Links on Website" " back-end.",
"name": "Website - Social media link",
"summary": "Display Social Medial Links on Website back-end.",

"version": "18.0.1.0.0",
"author": "GRAP, Odoo Community Association (OCA)",
"maintainers": ["legalsylvain"],
"website": "https://github.com/OCA/website",
"license": "AGPL-3",
"category": "Website",
"depends": ["website"],
"data": ["views/view_website.xml"],
}
20 changes: 20 additions & 0 deletions website_social_media_link/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_social_media_link
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 18.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: website_social_media_link
#: model_terms:ir.ui.view,arch_db:website_social_media_link.view_website_form
msgid "Social Media"
msgstr "Média Sociaux"
3 changes: 3 additions & 0 deletions website_social_media_link/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
1 change: 1 addition & 0 deletions website_social_media_link/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Sylvain LE GAL \<<sylvain.legal@grap.coop>\>
11 changes: 11 additions & 0 deletions website_social_media_link/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
This module is a bugfix.
In odoo, when creating a new website, the URLs of the social
media are copied from `res.company` model to `website` model.
Once done, it is not possible to user to change data
on `website` model, if an URL change, or a new social media
is used.

This module adds Social Medial links on websites back-end
form view.

![website](../static/description/website_form.png)
3 changes: 3 additions & 0 deletions website_social_media_link/readme/ROADMAP.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
We can stop use this module as soon as this patch has been reviewed
and merged https://github.com/odoo/odoo/pull/237668.

Loading