mirror of https://github.com/OCA/social.git
[IMP] mail_activity_board: pre-commit auto fixes
parent
af9a41fde1
commit
86119fada0
|
@ -17,18 +17,19 @@ Mail Activity Board
|
||||||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
||||||
:alt: License: AGPL-3
|
:alt: License: AGPL-3
|
||||||
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsocial-lightgray.png?logo=github
|
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsocial-lightgray.png?logo=github
|
||||||
:target: https://github.com/OCA/social/tree/16.0/mail_activity_board
|
:target: https://github.com/OCA/social/tree/17.0/mail_activity_board
|
||||||
:alt: OCA/social
|
:alt: OCA/social
|
||||||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
||||||
:target: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_activity_board
|
:target: https://translation.odoo-community.org/projects/social-17-0/social-17-0-mail_activity_board
|
||||||
:alt: Translate me on Weblate
|
:alt: Translate me on Weblate
|
||||||
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
|
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
|
||||||
:target: https://runboat.odoo-community.org/builds?repo=OCA/social&target_branch=16.0
|
:target: https://runboat.odoo-community.org/builds?repo=OCA/social&target_branch=17.0
|
||||||
:alt: Try me on Runboat
|
:alt: Try me on Runboat
|
||||||
|
|
||||||
|badge1| |badge2| |badge3| |badge4| |badge5|
|
|badge1| |badge2| |badge3| |badge4| |badge5|
|
||||||
|
|
||||||
This module adds an activity board with form, tree, kanban, calendar, pivot, graph and search views.
|
This module adds an activity board with form, tree, kanban, calendar,
|
||||||
|
pivot, graph and search views.
|
||||||
|
|
||||||
**Table of contents**
|
**Table of contents**
|
||||||
|
|
||||||
|
@ -40,13 +41,14 @@ Usage
|
||||||
|
|
||||||
To use this module, you need to:
|
To use this module, you need to:
|
||||||
|
|
||||||
#. Access to the views from menu Boards.
|
1. Access to the views from menu Boards.
|
||||||
|
|
||||||
A smartButton of activities is added in the mail thread from form view.
|
A smartButton of activities is added in the mail thread from form view.
|
||||||
From this smartButton is linked to the activity board, to the view tree,
|
From this smartButton is linked to the activity board, to the view tree,
|
||||||
which shows the activities related to the opportunity.
|
which shows the activities related to the opportunity.
|
||||||
|
|
||||||
From the form view of the activity you can navigate to the origin of the activity.
|
From the form view of the activity you can navigate to the origin of the
|
||||||
|
activity.
|
||||||
|
|
||||||
Bug Tracker
|
Bug Tracker
|
||||||
===========
|
===========
|
||||||
|
@ -54,7 +56,7 @@ Bug Tracker
|
||||||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/social/issues>`_.
|
Bugs are tracked on `GitHub Issues <https://github.com/OCA/social/issues>`_.
|
||||||
In case of trouble, please check there if your issue has already been reported.
|
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
|
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
||||||
`feedback <https://github.com/OCA/social/issues/new?body=module:%20mail_activity_board%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
`feedback <https://github.com/OCA/social/issues/new?body=module:%20mail_activity_board%0Aversion:%2017.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.
|
Do not contact contributors directly about support or help with technical issues.
|
||||||
|
|
||||||
|
@ -62,7 +64,7 @@ Credits
|
||||||
=======
|
=======
|
||||||
|
|
||||||
Authors
|
Authors
|
||||||
~~~~~~~
|
-------
|
||||||
|
|
||||||
* SDi
|
* SDi
|
||||||
* David Juaneda
|
* David Juaneda
|
||||||
|
@ -70,26 +72,26 @@ Authors
|
||||||
* ACSONE SA/NV
|
* ACSONE SA/NV
|
||||||
|
|
||||||
Contributors
|
Contributors
|
||||||
~~~~~~~~~~~~
|
------------
|
||||||
|
|
||||||
* `SDI <https://www.sdi.es>`_:
|
- `SDI <https://www.sdi.es>`__:
|
||||||
|
|
||||||
* David Juaneda
|
- David Juaneda
|
||||||
|
|
||||||
* `ForgeFlow <https://www.forgeflow.com>`_:
|
- `ForgeFlow <https://www.forgeflow.com>`__:
|
||||||
|
|
||||||
* Miquel Raïch (miquel.raich@forgeflow.com)
|
- Miquel Raïch (miquel.raich@forgeflow.com)
|
||||||
|
|
||||||
* `Pesol <https://www.pesol.es>`_:
|
- `Pesol <https://www.pesol.es>`__:
|
||||||
|
|
||||||
* Pedro Gonzalez (pedro.gonzalez@pesol.es)
|
- Pedro Gonzalez (pedro.gonzalez@pesol.es)
|
||||||
|
|
||||||
* `ACSONE SA/NV <https://www.acsone.eu>`_
|
- `ACSONE SA/NV <https://www.acsone.eu>`__
|
||||||
|
|
||||||
* Laurent Mignon <laurent.mignon@acsone.eu>
|
- Laurent Mignon <laurent.mignon@acsone.eu>
|
||||||
|
|
||||||
Maintainers
|
Maintainers
|
||||||
~~~~~~~~~~~
|
-----------
|
||||||
|
|
||||||
This module is maintained by the OCA.
|
This module is maintained by the OCA.
|
||||||
|
|
||||||
|
@ -101,6 +103,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
|
||||||
mission is to support the collaborative development of Odoo features and
|
mission is to support the collaborative development of Odoo features and
|
||||||
promote its widespread use.
|
promote its widespread use.
|
||||||
|
|
||||||
This module is part of the `OCA/social <https://github.com/OCA/social/tree/16.0/mail_activity_board>`_ project on GitHub.
|
This module is part of the `OCA/social <https://github.com/OCA/social/tree/17.0/mail_activity_board>`_ project on GitHub.
|
||||||
|
|
||||||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
||||||
|
|
|
@ -28,7 +28,7 @@ class MailActivity(models.Model):
|
||||||
for record in self:
|
for record in self:
|
||||||
ref = False
|
ref = False
|
||||||
if record.res_id:
|
if record.res_id:
|
||||||
ref = "{},{}".format(record.res_model, record.res_id)
|
ref = f"{record.res_model},{record.res_id}"
|
||||||
record.related_model_instance = ref
|
record.related_model_instance = ref
|
||||||
|
|
||||||
@api.model
|
@api.model
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
[build-system]
|
||||||
|
requires = ["whool"]
|
||||||
|
build-backend = "whool.buildapi"
|
|
@ -0,0 +1,8 @@
|
||||||
|
- [SDI](https://www.sdi.es):
|
||||||
|
- David Juaneda
|
||||||
|
- [ForgeFlow](https://www.forgeflow.com):
|
||||||
|
- Miquel Raïch (<miquel.raich@forgeflow.com>)
|
||||||
|
- [Pesol](https://www.pesol.es):
|
||||||
|
- Pedro Gonzalez (<pedro.gonzalez@pesol.es>)
|
||||||
|
- [ACSONE SA/NV](https://www.acsone.eu)
|
||||||
|
- Laurent Mignon \<<laurent.mignon@acsone.eu>\>
|
|
@ -1,15 +0,0 @@
|
||||||
* `SDI <https://www.sdi.es>`_:
|
|
||||||
|
|
||||||
* David Juaneda
|
|
||||||
|
|
||||||
* `ForgeFlow <https://www.forgeflow.com>`_:
|
|
||||||
|
|
||||||
* Miquel Raïch (miquel.raich@forgeflow.com)
|
|
||||||
|
|
||||||
* `Pesol <https://www.pesol.es>`_:
|
|
||||||
|
|
||||||
* Pedro Gonzalez (pedro.gonzalez@pesol.es)
|
|
||||||
|
|
||||||
* `ACSONE SA/NV <https://www.acsone.eu>`_
|
|
||||||
|
|
||||||
* Laurent Mignon <laurent.mignon@acsone.eu>
|
|
|
@ -1 +1,2 @@
|
||||||
This module adds an activity board with form, tree, kanban, calendar, pivot, graph and search views.
|
This module adds an activity board with form, tree, kanban, calendar,
|
||||||
|
pivot, graph and search views.
|
|
@ -1,9 +1,10 @@
|
||||||
To use this module, you need to:
|
To use this module, you need to:
|
||||||
|
|
||||||
#. Access to the views from menu Boards.
|
1. Access to the views from menu Boards.
|
||||||
|
|
||||||
A smartButton of activities is added in the mail thread from form view.
|
A smartButton of activities is added in the mail thread from form view.
|
||||||
From this smartButton is linked to the activity board, to the view tree,
|
From this smartButton is linked to the activity board, to the view tree,
|
||||||
which shows the activities related to the opportunity.
|
which shows the activities related to the opportunity.
|
||||||
|
|
||||||
From the form view of the activity you can navigate to the origin of the activity.
|
From the form view of the activity you can navigate to the origin of the
|
||||||
|
activity.
|
|
@ -369,8 +369,9 @@ ul.auto-toc {
|
||||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
!! source digest: sha256:f7d5a8f20c6ac87af148f360f18d7ac8af6552bd4ab89cdcb971fea7f7a408aa
|
!! source digest: sha256:f7d5a8f20c6ac87af148f360f18d7ac8af6552bd4ab89cdcb971fea7f7a408aa
|
||||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
||||||
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/social/tree/16.0/mail_activity_board"><img alt="OCA/social" src="https://img.shields.io/badge/github-OCA%2Fsocial-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_activity_board"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/social&target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/social/tree/17.0/mail_activity_board"><img alt="OCA/social" src="https://img.shields.io/badge/github-OCA%2Fsocial-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/social-17-0/social-17-0-mail_activity_board"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/social&target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
||||||
<p>This module adds an activity board with form, tree, kanban, calendar, pivot, graph and search views.</p>
|
<p>This module adds an activity board with form, tree, kanban, calendar,
|
||||||
|
pivot, graph and search views.</p>
|
||||||
<p><strong>Table of contents</strong></p>
|
<p><strong>Table of contents</strong></p>
|
||||||
<div class="contents local topic" id="contents">
|
<div class="contents local topic" id="contents">
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
|
@ -393,14 +394,15 @@ ul.auto-toc {
|
||||||
<p>A smartButton of activities is added in the mail thread from form view.
|
<p>A smartButton of activities is added in the mail thread from form view.
|
||||||
From this smartButton is linked to the activity board, to the view tree,
|
From this smartButton is linked to the activity board, to the view tree,
|
||||||
which shows the activities related to the opportunity.</p>
|
which shows the activities related to the opportunity.</p>
|
||||||
<p>From the form view of the activity you can navigate to the origin of the activity.</p>
|
<p>From the form view of the activity you can navigate to the origin of the
|
||||||
|
activity.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="bug-tracker">
|
<div class="section" id="bug-tracker">
|
||||||
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
|
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
|
||||||
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/social/issues">GitHub Issues</a>.
|
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/social/issues">GitHub Issues</a>.
|
||||||
In case of trouble, please check there if your issue has already been reported.
|
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
|
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
||||||
<a class="reference external" href="https://github.com/OCA/social/issues/new?body=module:%20mail_activity_board%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
|
<a class="reference external" href="https://github.com/OCA/social/issues/new?body=module:%20mail_activity_board%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
|
||||||
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="credits">
|
<div class="section" id="credits">
|
||||||
|
@ -442,7 +444,7 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
|
||||||
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
|
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
|
||||||
mission is to support the collaborative development of Odoo features and
|
mission is to support the collaborative development of Odoo features and
|
||||||
promote its widespread use.</p>
|
promote its widespread use.</p>
|
||||||
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/social/tree/16.0/mail_activity_board">OCA/social</a> project on GitHub.</p>
|
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/social/tree/17.0/mail_activity_board">OCA/social</a> project on GitHub.</p>
|
||||||
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
|
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue