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

[17.0][MIG] sequence_reset_period: Migration to 17.0 #837

Merged
merged 25 commits into from
Mar 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
639af6a
[ADD] sequence_reset_period
etobella May 18, 2018
86f4a9f
Added translation using Weblate (Español (España))
etobella Jul 13, 2018
2a9b664
Translated using Weblate (Español (España))
etobella Jul 13, 2018
b722575
sequence_reset_period: fix summary and website in manifest.
alexis-via Dec 5, 2018
88348a0
[MIG] sequence_reset_period: Migration to 12.0
Sep 27, 2019
9600a6b
Added translation using Weblate (Croatian)
badbole Dec 4, 2019
043b7b5
Translated using Weblate (Croatian)
badbole Dec 4, 2019
0458d41
[IMP] sequence_reset_period: black, isort, prettier
ps-tubtim Sep 2, 2020
ca26461
[MIG] sequence_reset_period: Migration to 13.0
ps-tubtim Sep 2, 2020
522c79a
[UPD] Update sequence_reset_period.pot
oca-travis Jul 7, 2020
0a320b0
Added translation using Weblate (Chinese (Simplified))
dong-z Aug 16, 2020
321dea8
Translated using Weblate (Chinese (Simplified))
dong-z Aug 16, 2020
6bfed04
Update translation files
oca-transbot Aug 16, 2020
d905f36
[IMP] sequence_reset_period: black, isort, prettier
schhatbar-initos Mar 4, 2021
fb7a2d9
[14.0][MIG]sequence_reset_period
schhatbar-initos Mar 4, 2021
95f3c99
Added translation using Weblate (French (France))
Yvesldff Apr 11, 2021
896e1db
Translated using Weblate (French (France))
Yvesldff Apr 11, 2021
b1c0ee0
[MIG] sequence_reset_period: Migration to 15.0
tupaq Apr 14, 2022
f526d21
[MIG] sequence_reset_period: Migration to 16.0
oihane Feb 2, 2023
f763bd0
Translated using Weblate (Spanish)
Ivorra78 Aug 27, 2023
d371442
Added translation using Weblate (Italian)
mymage Dec 29, 2023
35ef986
Translated using Weblate (Italian)
mymage Dec 31, 2023
ee8c426
Translated using Weblate (Italian)
mymage Dec 31, 2023
833d292
[IMP] sequence_reset_period: pre-commit auto fixes
AEstLo Mar 3, 2024
5d07d47
[MIG] sequence_reset_period: Migration to 17.0
AEstLo Mar 3, 2024
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:7f18381e65f7e88cf7061788abbc5c6c5ae14ae62f13fbf222156b5b0ad18c86
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/17.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-17-0/server-ux-17-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=17.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:%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.

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/17.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": "17.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 16.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
Loading