Skip to content

Commit

Permalink
[BOT] post-merge updates
Browse files Browse the repository at this point in the history
  • Loading branch information
OCA-git-bot committed Mar 14, 2024
1 parent 729959b commit 6c397b4
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 21 deletions.
20 changes: 10 additions & 10 deletions date_range/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Date Range
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:7ac329a54e4115f5c8dbd5632b367441f95e916f546be892a7424d5c0e75bd90
!! source digest: sha256:fcb4914984d93331ee3ae029338cb648e6c9eea9b97eeeb84515f12c08c977dd
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png
Expand Down Expand Up @@ -61,7 +61,7 @@ inherit from `date.range.search.mixin`:
This will make a `Period` field show up in the search view:

.. figure:: https://raw.githubusercontent.com/OCA/server-tools/12.0/date_range/static/description/date_range_many2one_search_field.png
.. figure:: https://raw.githubusercontent.com/OCA/server-ux/16.0/date_range/static/description/date_range_many2one_search_field.png
:scale: 80 %
:alt: Date range Many2one search field

Expand All @@ -80,53 +80,53 @@ To configure this module, you need to:
* Go to Settings > Technical > Date ranges > Date Range Types where
you can create types of date ranges.

.. figure:: https://raw.githubusercontent.com/OCA/server-tools/14.0/date_range/static/description/date_range_type_create.png
.. figure:: https://raw.githubusercontent.com/OCA/server-ux/16.0/date_range/static/description/date_range_type_create.png
:scale: 80 %
:alt: Create a type of date range

* Go to Settings > Technical > Date ranges > Date Ranges where
you can create date ranges.

.. figure:: https://raw.githubusercontent.com/OCA/server-tools/14.0/date_range/static/description/date_range_create.png
.. figure:: https://raw.githubusercontent.com/OCA/server-ux/16.0/date_range/static/description/date_range_create.png
:scale: 80 %
:alt: Date range creation

It's also possible to launch a wizard from the 'Generate Date Ranges' menu.

.. figure:: https://raw.githubusercontent.com/OCA/server-tools/14.0/date_range/static/description/date_range_wizard.png
.. figure:: https://raw.githubusercontent.com/OCA/server-ux/16.0/date_range/static/description/date_range_wizard.png
:scale: 80 %
:alt: Date range wizard

The wizard is useful to generate recurring periods. Set an end date or enter the number of ranges to create.

.. figure:: https://raw.githubusercontent.com/OCA/server-tools/14.0/date_range/static/description/date_range_wizard_result.png
.. figure:: https://raw.githubusercontent.com/OCA/server-ux/16.0/date_range/static/description/date_range_wizard_result.png
:scale: 80 %
:alt: Date range wizard result

* Your date ranges are now available in the search filter for any date or datetime fields

Date range types are proposed as a filter operator

.. figure:: https://raw.githubusercontent.com/OCA/server-tools/14.0/date_range/static/description/date_range_type_as_filter.png
.. figure:: https://raw.githubusercontent.com/OCA/server-ux/16.0/date_range/static/description/date_range_type_as_filter.png
:scale: 80 %
:alt: Date range type available as filter operator

Once a type is selected, date ranges of this type are porposed as a filter value

.. figure:: https://raw.githubusercontent.com/OCA/server-tools/14.0/date_range/static/description/date_range_as_filter.png
.. figure:: https://raw.githubusercontent.com/OCA/server-ux/16.0/date_range/static/description/date_range_as_filter.png
:scale: 80 %
:alt: Date range as filter value

And the dates specified into the date range are used to filter your result.

.. figure:: https://raw.githubusercontent.com/OCA/server-tools/14.0/date_range/static/description/date_range_as_filter_result.png
.. figure:: https://raw.githubusercontent.com/OCA/server-ux/16.0/date_range/static/description/date_range_as_filter_result.png
:scale: 80 %
:alt: Date range as filter result

* You can configure date range types with default values for the generation wizard on the `Generation` tab.
In the same tab you can also configure date range types for auto-generation. New ranges for types configured for this are generated by a scheduled task that runs daily.

.. figure:: https://raw.githubusercontent.com/OCA/server-tools/14.0/date_range/static/description/date_range_type_autogeneration.png
.. figure:: https://raw.githubusercontent.com/OCA/server-ux/16.0/date_range/static/description/date_range_type_autogeneration.png
:scale: 80 %
:alt: Configure a date range for auto-generaton

Expand Down
21 changes: 10 additions & 11 deletions date_range/static/description/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
Expand Down Expand Up @@ -367,7 +366,7 @@ <h1 class="title">Date Range</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:7ac329a54e4115f5c8dbd5632b367441f95e916f546be892a7424d5c0e75bd90
!! source digest: sha256:fcb4914984d93331ee3ae029338cb648e6c9eea9b97eeeb84515f12c08c977dd
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Mature" src="https://img.shields.io/badge/maturity-Mature-brightgreen.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/server-ux/tree/16.0/date_range"><img alt="OCA/server-ux" src="https://img.shields.io/badge/github-OCA%2Fserver--ux-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/server-ux-16-0/server-ux-16-0-date_range"><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/server-ux&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module lets you define global date ranges that can be used to filter
Expand Down Expand Up @@ -407,7 +406,7 @@ <h1><a class="toc-backref" href="#toc-entry-2">Configuration</a></h1>
<p>This will make a <cite>Period</cite> field show up in the search view:</p>
<blockquote>
<div class="figure">
<img alt="Date range Many2one search field" src="https://raw.githubusercontent.com/OCA/server-tools/12.0/date_range/static/description/date_range_many2one_search_field.png" />
<img alt="Date range Many2one search field" src="https://raw.githubusercontent.com/OCA/server-ux/16.0/date_range/static/description/date_range_many2one_search_field.png" />
</div>
</blockquote>
<p>By default, the mixin works on the <cite>date</cite> field. If you want the mixin to work
Expand All @@ -423,41 +422,41 @@ <h1><a class="toc-backref" href="#toc-entry-3">Usage</a></h1>
<li><p class="first">Go to Settings &gt; Technical &gt; Date ranges &gt; Date Range Types where
you can create types of date ranges.</p>
<div class="figure">
<img alt="Create a type of date range" src="https://raw.githubusercontent.com/OCA/server-tools/14.0/date_range/static/description/date_range_type_create.png" />
<img alt="Create a type of date range" src="https://raw.githubusercontent.com/OCA/server-ux/16.0/date_range/static/description/date_range_type_create.png" />
</div>
</li>
<li><p class="first">Go to Settings &gt; Technical &gt; Date ranges &gt; Date Ranges where
you can create date ranges.</p>
<div class="figure">
<img alt="Date range creation" src="https://raw.githubusercontent.com/OCA/server-tools/14.0/date_range/static/description/date_range_create.png" />
<img alt="Date range creation" src="https://raw.githubusercontent.com/OCA/server-ux/16.0/date_range/static/description/date_range_create.png" />
</div>
<p>It’s also possible to launch a wizard from the ‘Generate Date Ranges’ menu.</p>
<div class="figure">
<img alt="Date range wizard" src="https://raw.githubusercontent.com/OCA/server-tools/14.0/date_range/static/description/date_range_wizard.png" />
<img alt="Date range wizard" src="https://raw.githubusercontent.com/OCA/server-ux/16.0/date_range/static/description/date_range_wizard.png" />
</div>
<p>The wizard is useful to generate recurring periods. Set an end date or enter the number of ranges to create.</p>
<div class="figure">
<img alt="Date range wizard result" src="https://raw.githubusercontent.com/OCA/server-tools/14.0/date_range/static/description/date_range_wizard_result.png" />
<img alt="Date range wizard result" src="https://raw.githubusercontent.com/OCA/server-ux/16.0/date_range/static/description/date_range_wizard_result.png" />
</div>
</li>
<li><p class="first">Your date ranges are now available in the search filter for any date or datetime fields</p>
<p>Date range types are proposed as a filter operator</p>
<div class="figure">
<img alt="Date range type available as filter operator" src="https://raw.githubusercontent.com/OCA/server-tools/14.0/date_range/static/description/date_range_type_as_filter.png" />
<img alt="Date range type available as filter operator" src="https://raw.githubusercontent.com/OCA/server-ux/16.0/date_range/static/description/date_range_type_as_filter.png" />
</div>
<p>Once a type is selected, date ranges of this type are porposed as a filter value</p>
<div class="figure">
<img alt="Date range as filter value" src="https://raw.githubusercontent.com/OCA/server-tools/14.0/date_range/static/description/date_range_as_filter.png" />
<img alt="Date range as filter value" src="https://raw.githubusercontent.com/OCA/server-ux/16.0/date_range/static/description/date_range_as_filter.png" />
</div>
<p>And the dates specified into the date range are used to filter your result.</p>
<div class="figure">
<img alt="Date range as filter result" src="https://raw.githubusercontent.com/OCA/server-tools/14.0/date_range/static/description/date_range_as_filter_result.png" />
<img alt="Date range as filter result" src="https://raw.githubusercontent.com/OCA/server-ux/16.0/date_range/static/description/date_range_as_filter_result.png" />
</div>
</li>
<li><p class="first">You can configure date range types with default values for the generation wizard on the <cite>Generation</cite> tab.
In the same tab you can also configure date range types for auto-generation. New ranges for types configured for this are generated by a scheduled task that runs daily.</p>
<div class="figure">
<img alt="Configure a date range for auto-generaton" src="https://raw.githubusercontent.com/OCA/server-tools/14.0/date_range/static/description/date_range_type_autogeneration.png" />
<img alt="Configure a date range for auto-generaton" src="https://raw.githubusercontent.com/OCA/server-ux/16.0/date_range/static/description/date_range_type_autogeneration.png" />
</div>
</li>
</ul>
Expand Down

0 comments on commit 6c397b4

Please sign in to comment.