collective.behavior.internalnumber
This product adds a plone behavior for dexterity content. The behavior adds a text field containing an internal number.
Features
Optional uniqueness validation
Optional default value
Inclusion in searchable text
Global or type by type configuration
A configuration page can manage globally or type by type:
a uniqueness option
an incremented number
a default value tal expression
Usage
In the configuration panel, go to dexterity types. Click on the type you want extend with the internal number field. Go to the behavior tab. Select “Internal number field” behavior.
If you want the internal number be searched in searchable text, you can also select the “Dynamic SearchableText indexer behavior”
Translations
This product has been translated into
French (thanks the author)
Installation
Install collective.behavior.internalnumber by adding it to your buildout:
[buildout]
...
eggs =
collective.behavior.internalnumber
and then running bin/buildout
Contribute
Issue Tracker: https://github.com/collective/collective.behavior.internalnumber/issues
Source Code: https://github.com/collective/collective.behavior.internalnumber
Documentation: https://docs.plone.org/foo/bar
License
The project is licensed under the GPLv2.
Contributors
Stephan Geulette, support@imio.be
Changelog
0.5.0 (2025-11-25)
Added Plone 6.1 version in buildout. [chris-adam]
Added controlpanel icon [sgeulette]
Upgraded zc.buildout [sgeulette]
0.4 (2024-06-07)
Use fti.Title() that is a i18n Message instance to manage settings portal_types vocabulary. Also sort vocabulary by term title. [gbastien]
0.3 (2023-11-27)
Removed catalog metadata internal_number, added upgrade step to 1001. [gbastien]
0.2 (2023-05-31)
Made compliant with Plone 4.3, 5.2 and 6.0 [sgeulette]
Ordered imports & improved docstring [sgeulette]
Factorized increment/decrement functionnality in settings.increment_nb_for, settings.decrement_nb_for and settings.decrement_if_last_nb functions. Added helper function settings.set_settings. [gbastien]
Fixed ConnectionStateError while setting registry[TYPE_CONFIG] in tests and profile is applied several times. [gbastien]
0.1 (2017-05-31)
Initial release. [sgeulette]
Release files for collective.behavior.internalnumber 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| collective_behavior_internalnumber-0.5.0.tar.gz | 27.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| collective_behavior_internalnumber-0.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 56.3 kB
Release files / collective_behavior_internalnumber-0.5.0.tar.gz
| Download URL | collective_behavior_internalnumber-0.5.0.tar.gz |
|---|---|
| Size | 27.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
90a160862fbb2cb22a8e07780b33d624226d1a704958b932ce1680d55d89558e
|
|
BLAKE2b-256 checksum How to use checksums |
a93f518fc135b5471706294488c9925df042caac8907df8d47eb649c0f7ba2f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|
Release files / collective_behavior_internalnumber-0.5.0-py3-none-any.whl
| Download URL | collective_behavior_internalnumber-0.5.0-py3-none-any.whl |
|---|---|
| Size | 28.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b02e742bb6d0ecec1fdf6c7dce9e255f3e65fce9f9daeae5effeda86319abf5c
|
|
BLAKE2b-256 checksum How to use checksums |
61550539c5587862435012e5a5ebb54f4f9b51228b40c22bacbb34cc661b231c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|