Skip to content

Commit

Permalink
Merge PR #1396 into 11.0
Browse files Browse the repository at this point in the history
Signed-off-by jbeficent
  • Loading branch information
OCA-git-bot committed Oct 13, 2019
2 parents cc35baf + 060aca3 commit fb61c41
Show file tree
Hide file tree
Showing 15 changed files with 775 additions and 0 deletions.
88 changes: 88 additions & 0 deletions web_view_calendar_column/README.rst
@@ -0,0 +1,88 @@
========================
Web View Calendar Column
========================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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%2Fweb-lightgray.png?logo=github
:target: https://github.com/OCA/web/tree/11.0/web_view_calendar_column
:alt: OCA/web
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/web-11-0/web-11-0-web_view_calendar_column
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/162/11.0
:alt: Try me on Runbot

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

This module allows to configure multiple columns on calendar daily views.

This module only changes the daily view, weekly view and monthly view will
not change.

**Table of contents**

.. contents::
:local:

Usage
=====

In order to define columns, we must access the action of the menu and edit the
context.
We should add the item column with the name of the field to use.

If we want to define a set of options, we can use `force_columns` on the
context.
With the force column, we will define a dictionary with the field value as key
and column name as value.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/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 <https://github.com/OCA/web/issues/new?body=module:%20web_view_calendar_column%0Aversion:%2011.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
~~~~~~~

* Creu Blanca

Contributors
~~~~~~~~~~~~

* Enric Tobella <etobella@creublanca.es>

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.

This module is part of the `OCA/web <https://github.com/OCA/web/tree/11.0/web_view_calendar_column>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file.
18 changes: 18 additions & 0 deletions web_view_calendar_column/__manifest__.py
@@ -0,0 +1,18 @@
# Copyright 2019 Creu Blanca
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
'name': 'Web View Calendar Column',
'summary': """
Allow to define columns on calendars""",
'version': '11.0.1.0.0',
'license': 'AGPL-3',
'author': 'Creu Blanca,Odoo Community Association (OCA)',
'website': 'https://github.com/OCA/web',
'depends': [
'web',
],
'data': [
'views/assets.xml',
],
}
1 change: 1 addition & 0 deletions web_view_calendar_column/readme/CONTRIBUTORS.rst
@@ -0,0 +1 @@
* Enric Tobella <etobella@creublanca.es>
4 changes: 4 additions & 0 deletions web_view_calendar_column/readme/DESCRIPTION.rst
@@ -0,0 +1,4 @@
This module allows to configure multiple columns on calendar daily views.

This module only changes the daily view, weekly view and monthly view will
not change.
8 changes: 8 additions & 0 deletions web_view_calendar_column/readme/USAGE.rst
@@ -0,0 +1,8 @@
In order to define columns, we must access the action of the menu and edit the
context.
We should add the item column with the name of the field to use.

If we want to define a set of options, we can use `force_columns` on the
context.
With the force column, we will define a dictionary with the field value as key
and column name as value.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fb61c41

Please sign in to comment.