Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[18.0][MIG] sequence_reset_period: Migration to 18.0 #1020

Open
wants to merge 29 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
d1adfc0
[ADD] sequence_reset_period
etobella May 18, 2018
224e5fc
Added translation using Weblate (Español (España))
etobella Jul 13, 2018
8c7ae76
Translated using Weblate (Español (España))
etobella Jul 13, 2018
b64bf58
sequence_reset_period: fix summary and website in manifest.
alexis-via Dec 5, 2018
5fcdf28
[MIG] sequence_reset_period: Migration to 12.0
Sep 27, 2019
ad9860f
Added translation using Weblate (Croatian)
badbole Dec 4, 2019
9b63896
Translated using Weblate (Croatian)
badbole Dec 4, 2019
ce0246b
[IMP] sequence_reset_period: black, isort, prettier
ps-tubtim Sep 2, 2020
4c46973
[MIG] sequence_reset_period: Migration to 13.0
ps-tubtim Sep 2, 2020
8cba6c4
[UPD] Update sequence_reset_period.pot
oca-travis Jul 7, 2020
063750f
Added translation using Weblate (Chinese (Simplified))
dong-z Aug 16, 2020
ceaea24
Translated using Weblate (Chinese (Simplified))
dong-z Aug 16, 2020
fc551b8
Update translation files
oca-transbot Aug 16, 2020
0e00ae6
[IMP] sequence_reset_period: black, isort, prettier
schhatbar-initos Mar 4, 2021
0bb4653
[14.0][MIG]sequence_reset_period
schhatbar-initos Mar 4, 2021
dfa1ae9
Added translation using Weblate (French (France))
Yvesldff Apr 11, 2021
bd1eb86
Translated using Weblate (French (France))
Yvesldff Apr 11, 2021
8968e9f
[MIG] sequence_reset_period: Migration to 15.0
tupaq Apr 14, 2022
2d09a6b
[MIG] sequence_reset_period: Migration to 16.0
oihane Feb 2, 2023
3453b57
Translated using Weblate (Spanish)
Ivorra78 Aug 27, 2023
47bc1f8
Added translation using Weblate (Italian)
mymage Dec 29, 2023
e6df27f
Translated using Weblate (Italian)
mymage Dec 31, 2023
ae50d34
Translated using Weblate (Italian)
mymage Dec 31, 2023
e05439c
[IMP] sequence_reset_period: pre-commit auto fixes
AEstLo Mar 3, 2024
259247f
[MIG] sequence_reset_period: Migration to 17.0
AEstLo Mar 3, 2024
2db3ee7
[UPD] Update sequence_reset_period.pot
Mar 21, 2024
4993e5e
[BOT] post-merge updates
OCA-git-bot Mar 21, 2024
b8ce548
[IMP] sequence_reset_period: pre-commit auto fixes
absal-smile Feb 5, 2025
8168f11
[18.0][MIG] sequence_reset_period: Migration to 18.0
absal-smile Feb 5, 2025
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
86 changes: 86 additions & 0 deletions sequence_reset_period/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
=========================================
Reset Sequences on selected period ranges
=========================================

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

.. |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-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--ux-lightgray.png?logo=github
:target: https://github.com/OCA/server-ux/tree/18.0/sequence_reset_period
:alt: OCA/server-ux
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/server-ux-18-0/server-ux-18-0-sequence_reset_period
: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/server-ux&target_branch=18.0
:alt: Try me on Runboat

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

This module was written to reset the sequences on the specified times,
because by default they are reset yearly.

**Table of contents**

.. contents::
:local:

Usage
=====

- Access sequences and configurate the model to use.
- When sequence is computed, date_range will follow the specified rules

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-ux/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/server-ux/issues/new?body=module:%20sequence_reset_period%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
-------

* Creu Blanca

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

- Enric Tobella <etobella@creublanca.es>
- Jaume Planas <jaume.planas@minorisa.net>
- Pimolnat Suntian <pimolnats@ecosoft.co.th>
- Sunanda Chhatbar <sunanda.chhatbar@initos.com>

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/server-ux <https://github.com/OCA/server-ux/tree/18.0/sequence_reset_period>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions sequence_reset_period/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
16 changes: 16 additions & 0 deletions sequence_reset_period/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright (C) 2017 Creu Blanca
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).

{
"name": "Reset Sequences on selected period ranges",
"version": "18.0.1.0.0",
"category": "Reporting",
"website": "https://github.com/OCA/server-ux",
"author": "Creu Blanca, Odoo Community Association (OCA)",
"license": "LGPL-3",
"installable": True,
"application": False,
"summary": "Auto-generate yearly/monthly/weekly/daily sequence period ranges",
"depends": ["base"],
"data": ["views/sequence_views.xml"],
}
47 changes: 47 additions & 0 deletions sequence_reset_period/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sequence_reset_period
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-08-27 16:07+0000\n"
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
"Language-Team: none\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: sequence_reset_period
#: model:ir.model.fields.selection,name:sequence_reset_period.selection__ir_sequence__range_reset__daily
msgid "Daily"
msgstr "Diario"

#. module: sequence_reset_period
#: model:ir.model.fields.selection,name:sequence_reset_period.selection__ir_sequence__range_reset__monthly
msgid "Monthly"
msgstr "Mensual"

#. module: sequence_reset_period
#: model:ir.model.fields,field_description:sequence_reset_period.field_ir_sequence__range_reset
msgid "Range Reset"
msgstr "Reinicio del Rango"

#. module: sequence_reset_period
#: model:ir.model,name:sequence_reset_period.model_ir_sequence
msgid "Sequence"
msgstr "Secuencia"

#. module: sequence_reset_period
#: model:ir.model.fields.selection,name:sequence_reset_period.selection__ir_sequence__range_reset__weekly
msgid "Weekly"
msgstr "Semanal"

#. module: sequence_reset_period
#: model:ir.model.fields.selection,name:sequence_reset_period.selection__ir_sequence__range_reset__yearly
msgid "Yearly"
msgstr "Anual"
53 changes: 53 additions & 0 deletions sequence_reset_period/i18n/fr_FR.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sequence_reset_period
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2021-04-11 18:46+0000\n"
"Last-Translator: Yves Le Doeuff <yld@alliasys.fr>\n"
"Language-Team: none\n"
"Language: fr_FR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 4.3.2\n"

#. module: sequence_reset_period
#: model:ir.model.fields.selection,name:sequence_reset_period.selection__ir_sequence__range_reset__daily
msgid "Daily"
msgstr "Journalier"

#. module: sequence_reset_period
#: model:ir.model.fields.selection,name:sequence_reset_period.selection__ir_sequence__range_reset__monthly
msgid "Monthly"
msgstr "Mensuel"

#. module: sequence_reset_period
#: model:ir.model.fields,field_description:sequence_reset_period.field_ir_sequence__range_reset
msgid "Range Reset"
msgstr "Réinitialiser la plage"

#. module: sequence_reset_period
#: model:ir.model,name:sequence_reset_period.model_ir_sequence
msgid "Sequence"
msgstr ""

#. module: sequence_reset_period
#: model:ir.model.fields.selection,name:sequence_reset_period.selection__ir_sequence__range_reset__weekly
msgid "Weekly"
msgstr "Hebdomadaire"

#. module: sequence_reset_period
#: model:ir.model.fields.selection,name:sequence_reset_period.selection__ir_sequence__range_reset__yearly
msgid "Yearly"
msgstr "Annuel"

#~ msgid "Display Name"
#~ msgstr "Nom affiché"

#~ msgid "Last Modified on"
#~ msgstr "Dernière modification le"
48 changes: 48 additions & 0 deletions sequence_reset_period/i18n/hr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sequence_reset_period
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2019-12-04 12:04+0000\n"
"Last-Translator: Bole <bole@dajmi5.com>\n"
"Language-Team: none\n"
"Language: hr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 3.9.1\n"

#. module: sequence_reset_period
#: model:ir.model.fields.selection,name:sequence_reset_period.selection__ir_sequence__range_reset__daily
msgid "Daily"
msgstr "Dnevno"

#. module: sequence_reset_period
#: model:ir.model.fields.selection,name:sequence_reset_period.selection__ir_sequence__range_reset__monthly
msgid "Monthly"
msgstr "Mjesečno"

#. module: sequence_reset_period
#: model:ir.model.fields,field_description:sequence_reset_period.field_ir_sequence__range_reset
msgid "Range Reset"
msgstr "Reset raspona"

#. module: sequence_reset_period
#: model:ir.model,name:sequence_reset_period.model_ir_sequence
msgid "Sequence"
msgstr "Sekvenca"

#. module: sequence_reset_period
#: model:ir.model.fields.selection,name:sequence_reset_period.selection__ir_sequence__range_reset__weekly
msgid "Weekly"
msgstr "Tjedno"

#. module: sequence_reset_period
#: model:ir.model.fields.selection,name:sequence_reset_period.selection__ir_sequence__range_reset__yearly
msgid "Yearly"
msgstr "Godišnje"
47 changes: 47 additions & 0 deletions sequence_reset_period/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sequence_reset_period
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-12-31 19:35+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: sequence_reset_period
#: model:ir.model.fields.selection,name:sequence_reset_period.selection__ir_sequence__range_reset__daily
msgid "Daily"
msgstr "Giornaliero"

#. module: sequence_reset_period
#: model:ir.model.fields.selection,name:sequence_reset_period.selection__ir_sequence__range_reset__monthly
msgid "Monthly"
msgstr "Mensile"

#. module: sequence_reset_period
#: model:ir.model.fields,field_description:sequence_reset_period.field_ir_sequence__range_reset
msgid "Range Reset"
msgstr "Resetta intervallo"

#. module: sequence_reset_period
#: model:ir.model,name:sequence_reset_period.model_ir_sequence
msgid "Sequence"
msgstr "Sequenza"

#. module: sequence_reset_period
#: model:ir.model.fields.selection,name:sequence_reset_period.selection__ir_sequence__range_reset__weekly
msgid "Weekly"
msgstr "Settimanale"

#. module: sequence_reset_period
#: model:ir.model.fields.selection,name:sequence_reset_period.selection__ir_sequence__range_reset__yearly
msgid "Yearly"
msgstr "Annuale"
44 changes: 44 additions & 0 deletions sequence_reset_period/i18n/sequence_reset_period.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sequence_reset_period
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: sequence_reset_period
#: model:ir.model.fields.selection,name:sequence_reset_period.selection__ir_sequence__range_reset__daily
msgid "Daily"
msgstr ""

#. module: sequence_reset_period
#: model:ir.model.fields.selection,name:sequence_reset_period.selection__ir_sequence__range_reset__monthly
msgid "Monthly"
msgstr ""

#. module: sequence_reset_period
#: model:ir.model.fields,field_description:sequence_reset_period.field_ir_sequence__range_reset
msgid "Range Reset"
msgstr ""

#. module: sequence_reset_period
#: model:ir.model,name:sequence_reset_period.model_ir_sequence
msgid "Sequence"
msgstr ""

#. module: sequence_reset_period
#: model:ir.model.fields.selection,name:sequence_reset_period.selection__ir_sequence__range_reset__weekly
msgid "Weekly"
msgstr ""

#. module: sequence_reset_period
#: model:ir.model.fields.selection,name:sequence_reset_period.selection__ir_sequence__range_reset__yearly
msgid "Yearly"
msgstr ""
47 changes: 47 additions & 0 deletions sequence_reset_period/i18n/zh_CN.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sequence_reset_period
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2020-08-16 11:29+0000\n"
"Last-Translator: Dong <dong@freshoo.cn>\n"
"Language-Team: none\n"
"Language: zh_CN\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Weblate 3.10\n"

#. module: sequence_reset_period
#: model:ir.model.fields.selection,name:sequence_reset_period.selection__ir_sequence__range_reset__daily
msgid "Daily"
msgstr "每天"

#. module: sequence_reset_period
#: model:ir.model.fields.selection,name:sequence_reset_period.selection__ir_sequence__range_reset__monthly
msgid "Monthly"
msgstr "每月"

#. module: sequence_reset_period
#: model:ir.model.fields,field_description:sequence_reset_period.field_ir_sequence__range_reset
msgid "Range Reset"
msgstr "重置周期"

#. module: sequence_reset_period
#: model:ir.model,name:sequence_reset_period.model_ir_sequence
msgid "Sequence"
msgstr "序列号"

#. module: sequence_reset_period
#: model:ir.model.fields.selection,name:sequence_reset_period.selection__ir_sequence__range_reset__weekly
msgid "Weekly"
msgstr "每周"

#. module: sequence_reset_period
#: model:ir.model.fields.selection,name:sequence_reset_period.selection__ir_sequence__range_reset__yearly
msgid "Yearly"
msgstr "每年"
1 change: 1 addition & 0 deletions sequence_reset_period/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import ir_sequence
Loading