======================================
Remaining Days Widget - Reformat State
======================================
..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:22329a784f99d01302fb755815f691731fea96dc63a4a55806b18992de20525e
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/github-sygel--technology%2Fsy--web-lightgray.png?logo=github
:target: https://github.com/sygel-technology/sy-web/tree/14.0/remaining_days_widget_reformat_state
:alt: sygel-technology/sy-web
|badge1| |badge2|
This module allows to remove format of text shown in views 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**
.. contents::
:local:
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 options="{'reformat': True}" in the fields that use the remaining_days
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 <https://github.com/sygel-technology/sy-web/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/sygel-technology/sy-web/issues/new?body=module:%20remaining_days_widget_reformat_state%0Aversion:%2014.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
~~~~~~~
* Sygel
Contributors
~~~~~~~~~~~~
* Manuel Regidor <manuel.regidor@sygel.es>
* ValentÃn Vinagre <valentin.vinagre@sygel.es>
Maintainers
~~~~~~~~~~~
This module is part of the `sygel-technology/sy-web <https://github.com/sygel-technology/sy-web/tree/14.0/remaining_days_widget_reformat_state>`_ project on GitHub.
You are welcome to contribute.
Raw data
{
"_id": null,
"home_page": "https://www.sygel.es",
"name": "odoo14-addon-remaining-days-widget-reformat-state",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": "Sygel, Odoo Community Association (OCA)",
"author_email": "support@odoo-community.org",
"download_url": null,
"platform": null,
"description": "======================================\nRemaining Days Widget - Reformat State\n======================================\n\n.. \n !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n !! This file is generated by oca-gen-addon-readme !!\n !! changes will be overwritten. !!\n !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n !! source digest: sha256:22329a784f99d01302fb755815f691731fea96dc63a4a55806b18992de20525e\n !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n\n.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png\n :target: https://odoo-community.org/page/development-status\n :alt: Beta\n.. |badge2| image:: https://img.shields.io/badge/github-sygel--technology%2Fsy--web-lightgray.png?logo=github\n :target: https://github.com/sygel-technology/sy-web/tree/14.0/remaining_days_widget_reformat_state\n :alt: sygel-technology/sy-web\n\n|badge1| |badge2|\n\nThis module allows to remove format of text shown in views using the remaining_days\nwidget. A list of states can be passed so the reformatting will only happen if the\ninstance is in one of those states.\nThis module does nothing on its own and it requires certain technical knowledge in\norder to include the functionalities provided in other modules.\n\n**Table of contents**\n\n.. contents::\n :local:\n\nUsage\n=====\n\nTo remove format in fields that use the remaining_days widget, it is necessary to do\nthe following in another module:\n\n#. Include this module in the other module's dependencies list in manifest.\n#. Include options=\"{'reformat': True}\" in the fields that use the remaining_days\n widget so the text is displayed without an specific format.\n#. If the reformating only has to be performed if the instance is in certain states,\n the options declaration should be \"options=\"{'reformat': True, 'reformat_states':\n ['state_1', 'state_2']}\". It is possible to include as many states as needed in the\n reformat_states list.\n\nBug Tracker\n===========\n\nBugs are tracked on `GitHub Issues <https://github.com/sygel-technology/sy-web/issues>`_.\nIn case of trouble, please check there if your issue has already been reported.\nIf you spotted it first, help us to smash it by providing a detailed and welcomed\n`feedback <https://github.com/sygel-technology/sy-web/issues/new?body=module:%20remaining_days_widget_reformat_state%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.\n\nDo not contact contributors directly about support or help with technical issues.\n\nCredits\n=======\n\nAuthors\n~~~~~~~\n\n* Sygel\n\nContributors\n~~~~~~~~~~~~\n\n* Manuel Regidor <manuel.regidor@sygel.es>\n* Valent\u00edn Vinagre <valentin.vinagre@sygel.es>\n\nMaintainers\n~~~~~~~~~~~\n\nThis module is part of the `sygel-technology/sy-web <https://github.com/sygel-technology/sy-web/tree/14.0/remaining_days_widget_reformat_state>`_ project on GitHub.\n\nYou are welcome to contribute.\n",
"bugtrack_url": null,
"license": null,
"summary": "Reformat text shown with remaining_days widget",
"version": "14.0.1.0.1.dev1",
"project_urls": {
"Homepage": "https://www.sygel.es"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c5e4a32c1fe1dd4e41fe26fc5d7041f7e71b66c49a0ad7bb131eb36e769ffbb1",
"md5": "5c6a292bad9bc58d77b972fc8fc484cc",
"sha256": "843a8728cdbaf16224e10f47e601b83a4100b5e207f74b87240ec0ce3e2d8b76"
},
"downloads": -1,
"filename": "odoo14_addon_remaining_days_widget_reformat_state-14.0.1.0.1.dev1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "5c6a292bad9bc58d77b972fc8fc484cc",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 37955,
"upload_time": "2024-11-06T23:06:53",
"upload_time_iso_8601": "2024-11-06T23:06:53.831799Z",
"url": "https://files.pythonhosted.org/packages/c5/e4/a32c1fe1dd4e41fe26fc5d7041f7e71b66c49a0ad7bb131eb36e769ffbb1/odoo14_addon_remaining_days_widget_reformat_state-14.0.1.0.1.dev1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-06 23:06:53",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "odoo14-addon-remaining-days-widget-reformat-state"
}