Remaining Days Widget - Reformat State
This module allows to remove format of text shown in views like using the remaining_days widget. A list of states can be passed so the reformatting will only happen if the instance is in one of those states. This module does nothing on its own and it requires certain technical knowledge in order to include the functionalities provided in other modules.
Table of contents
Usage
To remove format in fields that use the remaining_days widget, it is necessary to do the following in another module:
Include this module in the other module’s dependencies list in manifest.
Include in the fields that you want the remaining_days_reformat_state wisget.
Include options=”{‘reformat’: True}” in the fields that use the remaining_days_reformat_state widget so the text is displayed without an specific format.
If the reformating only has to be performed if the instance is in certain states, the options declaration should be “options=”{‘reformat’: True, ‘reformat_states’: [‘state_1’, ‘state_2’]}”. It is possible to include as many states as needed in the reformat_states list.
Bug Tracker
Bugs are tracked on GitHub 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.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
-
Valentín Vinagre
Manuel Regidor
Ángel García de la Chica Herrera
Maintainers
This module is part of the sygel-technology/sy-web project on GitHub.
You are welcome to contribute.
Metadata
Release files for odoo-addon-sy-web-widget-remaining-days-reformat-state 17.0.1.0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| odoo_addon_sy_web_widget_remaining_days_reformat_state-17.0.1.0.0.1-py3-none-any.whl | Python 3 | none | any | Details for odoo_addon_sy_web_widget_remaining_days_reformat_state-17.0.1.0.0.1-py3-none-any.whl |
Release files / odoo_addon_sy_web_widget_remaining_days_reformat_state-17.0.1.0.0.1-py3-none-any.whl
| Download URL | odoo_addon_sy_web_widget_remaining_days_reformat_state-17.0.1.0.0.1-py3-none-any.whl |
|---|---|
| Size | 40.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ef37e27acceca0aadc3613b4ee1fa9eb02f467f95c608c00885f87cefe4d7b3e
|
|
BLAKE2b-256 checksum How to use checksums |
6b51fbf76f9b053073bc1c9f83c40f7c564ac3956d3886973aba98ef92bbca0b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for odoo-addon-sy-web-widget-remaining-days-reformat-state 17.0.1.0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.