Compare commits

..

No commits in common. "19.0" and "main" have entirely different histories.
19.0 ... main

77 changed files with 5 additions and 17 deletions

15
.gitignore vendored
View File

@ -1,15 +0,0 @@
# Python
__pycache__/
*.py[cod]
*$py.class
# OS
.DS_Store
Thumbs.db
# Editor
.vscode/
.idea/
# Odoo
*.pot

0
CHANGELOG.md Executable file → Normal file
View File

0
DOCUMENTATION.md Executable file → Normal file
View File

0
INSTALL.md Executable file → Normal file
View File

0
README.md Executable file → Normal file
View File

0
USER_GUIDE.md Executable file → Normal file
View File

0
__init__.py Executable file → Normal file
View File

2
__manifest__.py Executable file → Normal file
View File

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
{ {
'name': 'Helpdesk Rating Five Stars', 'name': 'Helpdesk Rating Five Stars',
'version': '19.0.1.0.0', 'version': '18.0.1.0.0',
'category': 'Services/Helpdesk', 'category': 'Services/Helpdesk',
'summary': 'Replace 3-emoticon rating system with 5-star rating system for Helpdesk', 'summary': 'Replace 3-emoticon rating system with 5-star rating system for Helpdesk',
'description': """ 'description': """

Binary file not shown.

Binary file not shown.

Binary file not shown.

0
controllers/__init__.py Executable file → Normal file
View File

Binary file not shown.

Binary file not shown.

0
controllers/rating.py Executable file → Normal file
View File

0
data/mail_templates.xml Executable file → Normal file
View File

0
hooks.py Executable file → Normal file
View File

0
models/__init__.py Executable file → Normal file
View File

Binary file not shown.

Binary file not shown.

Binary file not shown.

0
models/helpdesk_ticket.py Executable file → Normal file
View File

0
models/helpdesk_ticket_report.py Executable file → Normal file
View File

3
models/rating_rating.py Executable file → Normal file
View File

@ -20,6 +20,7 @@ class Rating(models.Model):
required=True, required=True,
help='Rating value: 0 (no rating), 1-5 (stars)', help='Rating value: 0 (no rating), 1-5 (stars)',
aggregator="avg", aggregator="avg",
tracking=True # Track changes to rating value
) )
# Computed fields for star display # Computed fields for star display
@ -38,10 +39,12 @@ class Rating(models.Model):
# Audit fields - track who submitted/modified the rating # Audit fields - track who submitted/modified the rating
feedback = fields.Text( feedback = fields.Text(
string='Feedback', string='Feedback',
tracking=True # Track changes to feedback
) )
consumed = fields.Boolean( consumed = fields.Boolean(
string='Rating Submitted', string='Rating Submitted',
tracking=True # Track when rating is consumed
) )
@api.constrains('rating') @api.constrains('rating')

0
security/helpdesk_rating_security.xml Executable file → Normal file
View File

0
security/ir.model.access.csv Executable file → Normal file
View File

0
static/description/ICON_README.md Executable file → Normal file
View File

0
static/description/icon.svg Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

0
static/description/index.html Executable file → Normal file
View File

0
static/description/widget_demo.html Executable file → Normal file
View File

0
static/src/README.md Executable file → Normal file
View File

0
static/src/js/rating_stars.js Executable file → Normal file
View File

0
static/src/scss/rating_stars.scss Executable file → Normal file
View File

0
static/src/xml/rating_stars.xml Executable file → Normal file
View File

0
tests/__init__.py Executable file → Normal file
View File

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

0
tests/test_api_compatibility.py Executable file → Normal file
View File

0
tests/test_aria_labels.py Executable file → Normal file
View File

0
tests/test_average_calculation.py Executable file → Normal file
View File

0
tests/test_duplicate_rating.py Executable file → Normal file
View File

0
tests/test_helpdesk_ticket.py Executable file → Normal file
View File

0
tests/test_hover_feedback.py Executable file → Normal file
View File

0
tests/test_integration.py Executable file → Normal file
View File

0
tests/test_keyboard_navigation.py Executable file → Normal file
View File

0
tests/test_no_regression.py Executable file → Normal file
View File

0
tests/test_rating_controller.py Executable file → Normal file
View File

0
tests/test_rating_export.py Executable file → Normal file
View File

0
tests/test_rating_filtering.py Executable file → Normal file
View File

0
tests/test_rating_migration.py Executable file → Normal file
View File

0
tests/test_rating_model.py Executable file → Normal file
View File

0
tests/test_rating_reports.py Executable file → Normal file
View File

0
tests/test_rating_security.py Executable file → Normal file
View File

0
tests/test_rating_views.py Executable file → Normal file
View File

0
tests/test_star_highlighting.py Executable file → Normal file
View File

0
views/helpdesk_ticket_report_views.xml Executable file → Normal file
View File

0
views/helpdesk_ticket_views.xml Executable file → Normal file
View File

2
views/rating_rating_views.xml Executable file → Normal file
View File

@ -53,7 +53,7 @@
<field name="inherit_id" ref="rating.rating_rating_view_kanban_stars"/> <field name="inherit_id" ref="rating.rating_rating_view_kanban_stars"/>
<field name="arch" type="xml"> <field name="arch" type="xml">
<!-- Update the star calculation to use 5-star scale --> <!-- Update the star calculation to use 5-star scale -->
<xpath expr="//aside[hasclass('col-3', 'me-2')]" position="replace"> <xpath expr="//aside[@class='col-3 me-2']" position="replace">
<aside class="col-3 me-2"> <aside class="col-3 me-2">
<field name="rating_stars_filled" invisible="1"/> <field name="rating_stars_filled" invisible="1"/>
<field name="rating_stars_empty" invisible="1"/> <field name="rating_stars_empty" invisible="1"/>

0
views/rating_templates.xml Executable file → Normal file
View File