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 Dec 9, 2023
1 parent 313b2ad commit d650568
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 13 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ addon | version | maintainers | summary
[base_name_search_improved](base_name_search_improved/) | 16.0.1.0.0 | | Friendlier search when typing in relation fields
[base_partition](base_partition/) | 16.0.1.0.0 | | Base module that provide the partition method on all models
[base_search_fuzzy](base_search_fuzzy/) | 16.0.1.0.0 | | Fuzzy search with the PostgreSQL trigram extension
[base_sequence_default](base_sequence_default/) | 16.0.1.0.1 | [![Shide](https://github.com/Shide.png?size=30px)](https://github.com/Shide) [![yajo](https://github.com/yajo.png?size=30px)](https://github.com/yajo) [![rafaelbn](https://github.com/rafaelbn.png?size=30px)](https://github.com/rafaelbn) | Use sequences for default values of fields when creating a new record
[base_sequence_default](base_sequence_default/) | 16.0.1.0.2 | [![Shide](https://github.com/Shide.png?size=30px)](https://github.com/Shide) [![yajo](https://github.com/yajo.png?size=30px)](https://github.com/yajo) [![rafaelbn](https://github.com/rafaelbn.png?size=30px)](https://github.com/rafaelbn) | Use sequences for default values of fields when creating a new record
[base_sequence_option](base_sequence_option/) | 16.0.1.0.0 | [![kittiu](https://github.com/kittiu.png?size=30px)](https://github.com/kittiu) | Alternative sequence options for specific models
[base_sparse_field_list_support](base_sparse_field_list_support/) | 16.0.1.0.0 | | add list support to convert_to_cache()
[base_technical_user](base_technical_user/) | 16.0.1.0.0 | | Add a technical user parameter on the company
Expand Down
16 changes: 9 additions & 7 deletions base_sequence_default/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Default Fields with Sequence
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:ff7d3aed37cb25905d2a42e95caa5434fd63ca836b1f894f53a8435b5454a489
!! source digest: sha256:30552d740f43d32a3643985156656c3d9917f363a22c3e46b3dc906cc2144d00
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
Expand Down Expand Up @@ -69,13 +69,14 @@ To configure this module, you need to:
sequenced name for new partners. Do not use ``{}`` when adding the
model and field name to the pattern.

.. image:: https://github.com/OCA/server-tools/assets/147538094/ebf4be69-85d4-4c28-a3ec-bbe930fd53cf
:alt: Setting the sequence code properly
|Setting the sequence code properly|

8. Configure the sequence at will.

.. image:: https://github.com/OCA/server-tools/assets/147538094/e3eb311b-738f-4fce-9af5-a1b592908704
:alt: Configuring a sequence to have date range sub-sequences
|Configuring a sequence to have date range sub-sequences|

.. |Setting the sequence code properly| image:: https://github.com/OCA/server-tools/assets/147538094/ebf4be69-85d4-4c28-a3ec-bbe930fd53cf
.. |Configuring a sequence to have date range sub-sequences| image:: https://github.com/OCA/server-tools/assets/147538094/e3eb311b-738f-4fce-9af5-a1b592908704

Usage
=====
Expand All @@ -93,8 +94,9 @@ To use this module, it is necessary to:
4. Check that the field defined in the sequence is set to the next value
in the sequence.

.. image:: https://github.com/OCA/server-tools/assets/147538094/82698762-6ac2-4ac0-89ba-7c9b32ea5909
:alt: The partner reference was auto-incremented as configured
|The partner reference was auto-incremented as configured|

.. |The partner reference was auto-incremented as configured| image:: https://github.com/OCA/server-tools/assets/147538094/82698762-6ac2-4ac0-89ba-7c9b32ea5909

Bug Tracker
===========
Expand Down
2 changes: 1 addition & 1 deletion base_sequence_default/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{
"name": "Default Fields with Sequence",
"summary": "Use sequences for default values of fields when creating a new record",
"version": "16.0.1.0.1",
"version": "16.0.1.0.2",
"development_status": "Alpha",
"category": "Tools",
"website": "https://github.com/OCA/server-tools",
Expand Down
8 changes: 4 additions & 4 deletions base_sequence_default/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ <h1 class="title">Default Fields with Sequence</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:ff7d3aed37cb25905d2a42e95caa5434fd63ca836b1f894f53a8435b5454a489
!! source digest: sha256:30552d740f43d32a3643985156656c3d9917f363a22c3e46b3dc906cc2144d00
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Alpha" src="https://img.shields.io/badge/maturity-Alpha-red.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/server-tools/tree/16.0/base_sequence_default"><img alt="OCA/server-tools" src="https://img.shields.io/badge/github-OCA%2Fserver--tools-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-base_sequence_default"><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-tools&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 extends the use of sequences. It will allow you to use them
Expand Down Expand Up @@ -417,10 +417,10 @@ <h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
<tt class="docutils literal">base_sequence_default.res.partner.fields.name</tt> to add a default
sequenced name for new partners. Do not use <tt class="docutils literal">{}</tt> when adding the
model and field name to the pattern.</p>
<img alt="Setting the sequence code properly" src="https://github.com/OCA/server-tools/assets/147538094/ebf4be69-85d4-4c28-a3ec-bbe930fd53cf" />
<p><img alt="Setting the sequence code properly" src="https://github.com/OCA/server-tools/assets/147538094/ebf4be69-85d4-4c28-a3ec-bbe930fd53cf" /></p>
</li>
<li><p class="first">Configure the sequence at will.</p>
<img alt="Configuring a sequence to have date range sub-sequences" src="https://github.com/OCA/server-tools/assets/147538094/e3eb311b-738f-4fce-9af5-a1b592908704" />
<p><img alt="Configuring a sequence to have date range sub-sequences" src="https://github.com/OCA/server-tools/assets/147538094/e3eb311b-738f-4fce-9af5-a1b592908704" /></p>
</li>
</ol>
</div>
Expand All @@ -438,7 +438,7 @@ <h1><a class="toc-backref" href="#toc-entry-2">Usage</a></h1>
</li>
<li><p class="first">Check that the field defined in the sequence is set to the next value
in the sequence.</p>
<img alt="The partner reference was auto-incremented as configured" src="https://github.com/OCA/server-tools/assets/147538094/82698762-6ac2-4ac0-89ba-7c9b32ea5909" />
<p><img alt="The partner reference was auto-incremented as configured" src="https://github.com/OCA/server-tools/assets/147538094/82698762-6ac2-4ac0-89ba-7c9b32ea5909" /></p>
</li>
</ol>
</div>
Expand Down

0 comments on commit d650568

Please sign in to comment.