Char Length Limit, Char background color, M2o length Limit, base widget enhance
by odooai.cn https://www.odooai.cn
Odoo
$ 77.59
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
Discuss (mail)
|
Community Apps Dependencies | Show |
Lines of code | 8115 |
Technical Name |
app_web_pro |
License | LGPL-3 |
Website | https://www.odooai.cn |
Versions | 13.0 14.0 15.0 16.0 17.0 18.0 |
Char Length Limit, Char background color, M2o length Limit, base widget enhance
Available in form , list, kanban, report
Lastest update: v15.23.02.10

Key features:
- 1. Char length limit, Text Truncated. enable for char base widget like m2o. Use: widget=char options="{'max_readonly_length': 10}"
- 2. Length limit Available in form , list, kanban, report.
- 3. Field dynamic background color, font color. set decoration-danger , bg-success. Must set widget=xxx in field. like: widget="char " bg-danger="state=='sale'"
- 4. Easy set title no breadcrumb in action. set context={'clear_breadcrumbs': 1}
- 11. Multi-language Support.
- 12. Multi-Company Support.
- 13. Support Odoo 16,15,14,13,12, Enterprise and Community Edition
Easy use. Just Add max_readonly_length in options
options={'max_readonly_length': 192}, for list, form, kanban
t-options="{'widget': 'char', 'max_readonly_length': 12}" for report


Follow our sample to get char limit

Length limit Available in form , list, kanban, report.

Length limit Available in form , list, kanban, report.

Field dynamic background color, font color. set decoration-danger , bg-success. Must set widget=xxx in field. like: widget="char " bg-danger="state=='sale'"

5. Can set disabled attributes for button(not for field widget). use attrs={'disabled': [domain xxx]} or attrs={'readonly': [domain xxx]}

4. Easy set title no breadcrumb in action. set context={'clear_breadcrumbs': 1}

Please log in to comment on this module