From d412e3401a68a3f0ada874d816763a62b4c3a47f Mon Sep 17 00:00:00 2001 From: Suherdy Yacob Date: Tue, 20 Jan 2026 16:00:13 +0700 Subject: [PATCH] refactor: Update XPath selector in rating kanban view for improved class matching. Update to Odoo 19 --- .gitignore | 15 +++++++++++++++ CHANGELOG.md | 0 DOCUMENTATION.md | 0 INSTALL.md | 0 README.md | 0 USER_GUIDE.md | 0 __init__.py | 0 __manifest__.py | 2 +- __pycache__/__init__.cpython-312.pyc | Bin 338 -> 320 bytes __pycache__/__manifest__.cpython-312.pyc | Bin __pycache__/hooks.cpython-312.pyc | Bin 4097 -> 4079 bytes controllers/__init__.py | 0 .../__pycache__/__init__.cpython-312.pyc | Bin 246 -> 228 bytes .../__pycache__/rating.cpython-312.pyc | Bin 9768 -> 9750 bytes controllers/rating.py | 0 data/mail_templates.xml | 0 hooks.py | 0 models/__init__.py | 0 models/__pycache__/__init__.cpython-312.pyc | Bin 333 -> 315 bytes .../helpdesk_ticket.cpython-312.pyc | Bin 2545 -> 2527 bytes .../helpdesk_ticket_report.cpython-312.pyc | Bin 2627 -> 2609 bytes .../__pycache__/rating_rating.cpython-312.pyc | Bin 5904 -> 5856 bytes models/helpdesk_ticket.py | 0 models/helpdesk_ticket_report.py | 0 models/rating_rating.py | 3 --- security/helpdesk_rating_security.xml | 0 security/ir.model.access.csv | 0 static/description/ICON_README.md | 0 static/description/icon.svg | 0 static/description/index.html | 0 static/description/widget_demo.html | 0 static/src/README.md | 0 static/src/js/rating_stars.js | 0 static/src/scss/rating_stars.scss | 0 static/src/xml/rating_stars.xml | 0 tests/__init__.py | 0 tests/__pycache__/__init__.cpython-312.pyc | Bin .../test_api_compatibility.cpython-312.pyc | Bin .../test_aria_labels.cpython-312.pyc | Bin .../test_average_calculation.cpython-312.pyc | Bin .../test_duplicate_rating.cpython-312.pyc | Bin .../test_helpdesk_ticket.cpython-312.pyc | Bin .../test_hover_feedback.cpython-312.pyc | Bin .../test_integration.cpython-312.pyc | Bin .../test_keyboard_navigation.cpython-312.pyc | Bin .../test_no_regression.cpython-312.pyc | Bin .../test_rating_controller.cpython-312.pyc | Bin .../test_rating_export.cpython-312.pyc | Bin .../test_rating_filtering.cpython-312.pyc | Bin .../test_rating_migration.cpython-312.pyc | Bin .../test_rating_model.cpython-312.pyc | Bin .../test_rating_reports.cpython-312.pyc | Bin .../test_rating_security.cpython-312.pyc | Bin .../test_rating_views.cpython-312.pyc | Bin .../test_star_highlighting.cpython-312.pyc | Bin tests/test_api_compatibility.py | 0 tests/test_aria_labels.py | 0 tests/test_average_calculation.py | 0 tests/test_duplicate_rating.py | 0 tests/test_helpdesk_ticket.py | 0 tests/test_hover_feedback.py | 0 tests/test_integration.py | 0 tests/test_keyboard_navigation.py | 0 tests/test_no_regression.py | 0 tests/test_rating_controller.py | 0 tests/test_rating_export.py | 0 tests/test_rating_filtering.py | 0 tests/test_rating_migration.py | 0 tests/test_rating_model.py | 0 tests/test_rating_reports.py | 0 tests/test_rating_security.py | 0 tests/test_rating_views.py | 0 tests/test_star_highlighting.py | 0 views/helpdesk_ticket_report_views.xml | 0 views/helpdesk_ticket_views.xml | 0 views/rating_rating_views.xml | 2 +- views/rating_templates.xml | 0 77 files changed, 17 insertions(+), 5 deletions(-) create mode 100644 .gitignore mode change 100644 => 100755 CHANGELOG.md mode change 100644 => 100755 DOCUMENTATION.md mode change 100644 => 100755 INSTALL.md mode change 100644 => 100755 README.md mode change 100644 => 100755 USER_GUIDE.md mode change 100644 => 100755 __init__.py mode change 100644 => 100755 __manifest__.py mode change 100644 => 100755 __pycache__/__manifest__.cpython-312.pyc mode change 100644 => 100755 controllers/__init__.py mode change 100644 => 100755 controllers/rating.py mode change 100644 => 100755 data/mail_templates.xml mode change 100644 => 100755 hooks.py mode change 100644 => 100755 models/__init__.py mode change 100644 => 100755 models/helpdesk_ticket.py mode change 100644 => 100755 models/helpdesk_ticket_report.py mode change 100644 => 100755 models/rating_rating.py mode change 100644 => 100755 security/helpdesk_rating_security.xml mode change 100644 => 100755 security/ir.model.access.csv mode change 100644 => 100755 static/description/ICON_README.md mode change 100644 => 100755 static/description/icon.svg mode change 100644 => 100755 static/description/index.html mode change 100644 => 100755 static/description/widget_demo.html mode change 100644 => 100755 static/src/README.md mode change 100644 => 100755 static/src/js/rating_stars.js mode change 100644 => 100755 static/src/scss/rating_stars.scss mode change 100644 => 100755 static/src/xml/rating_stars.xml mode change 100644 => 100755 tests/__init__.py mode change 100644 => 100755 tests/__pycache__/__init__.cpython-312.pyc mode change 100644 => 100755 tests/__pycache__/test_api_compatibility.cpython-312.pyc mode change 100644 => 100755 tests/__pycache__/test_aria_labels.cpython-312.pyc mode change 100644 => 100755 tests/__pycache__/test_average_calculation.cpython-312.pyc mode change 100644 => 100755 tests/__pycache__/test_duplicate_rating.cpython-312.pyc mode change 100644 => 100755 tests/__pycache__/test_helpdesk_ticket.cpython-312.pyc mode change 100644 => 100755 tests/__pycache__/test_hover_feedback.cpython-312.pyc mode change 100644 => 100755 tests/__pycache__/test_integration.cpython-312.pyc mode change 100644 => 100755 tests/__pycache__/test_keyboard_navigation.cpython-312.pyc mode change 100644 => 100755 tests/__pycache__/test_no_regression.cpython-312.pyc mode change 100644 => 100755 tests/__pycache__/test_rating_controller.cpython-312.pyc mode change 100644 => 100755 tests/__pycache__/test_rating_export.cpython-312.pyc mode change 100644 => 100755 tests/__pycache__/test_rating_filtering.cpython-312.pyc mode change 100644 => 100755 tests/__pycache__/test_rating_migration.cpython-312.pyc mode change 100644 => 100755 tests/__pycache__/test_rating_model.cpython-312.pyc mode change 100644 => 100755 tests/__pycache__/test_rating_reports.cpython-312.pyc mode change 100644 => 100755 tests/__pycache__/test_rating_security.cpython-312.pyc mode change 100644 => 100755 tests/__pycache__/test_rating_views.cpython-312.pyc mode change 100644 => 100755 tests/__pycache__/test_star_highlighting.cpython-312.pyc mode change 100644 => 100755 tests/test_api_compatibility.py mode change 100644 => 100755 tests/test_aria_labels.py mode change 100644 => 100755 tests/test_average_calculation.py mode change 100644 => 100755 tests/test_duplicate_rating.py mode change 100644 => 100755 tests/test_helpdesk_ticket.py mode change 100644 => 100755 tests/test_hover_feedback.py mode change 100644 => 100755 tests/test_integration.py mode change 100644 => 100755 tests/test_keyboard_navigation.py mode change 100644 => 100755 tests/test_no_regression.py mode change 100644 => 100755 tests/test_rating_controller.py mode change 100644 => 100755 tests/test_rating_export.py mode change 100644 => 100755 tests/test_rating_filtering.py mode change 100644 => 100755 tests/test_rating_migration.py mode change 100644 => 100755 tests/test_rating_model.py mode change 100644 => 100755 tests/test_rating_reports.py mode change 100644 => 100755 tests/test_rating_security.py mode change 100644 => 100755 tests/test_rating_views.py mode change 100644 => 100755 tests/test_star_highlighting.py mode change 100644 => 100755 views/helpdesk_ticket_report_views.xml mode change 100644 => 100755 views/helpdesk_ticket_views.xml mode change 100644 => 100755 views/rating_rating_views.xml mode change 100644 => 100755 views/rating_templates.xml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0764234 --- /dev/null +++ b/.gitignore @@ -0,0 +1,15 @@ +# Python +__pycache__/ +*.py[cod] +*$py.class + +# OS +.DS_Store +Thumbs.db + +# Editor +.vscode/ +.idea/ + +# Odoo +*.pot diff --git a/CHANGELOG.md b/CHANGELOG.md old mode 100644 new mode 100755 diff --git a/DOCUMENTATION.md b/DOCUMENTATION.md old mode 100644 new mode 100755 diff --git a/INSTALL.md b/INSTALL.md old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/USER_GUIDE.md b/USER_GUIDE.md old mode 100644 new mode 100755 diff --git a/__init__.py b/__init__.py old mode 100644 new mode 100755 diff --git a/__manifest__.py b/__manifest__.py old mode 100644 new mode 100755 index 75120de..049571e --- a/__manifest__.py +++ b/__manifest__.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- { 'name': 'Helpdesk Rating Five Stars', - 'version': '18.0.1.0.0', + 'version': '19.0.1.0.0', 'category': 'Services/Helpdesk', 'summary': 'Replace 3-emoticon rating system with 5-star rating system for Helpdesk', 'description': """ diff --git a/__pycache__/__init__.cpython-312.pyc b/__pycache__/__init__.cpython-312.pyc index b882ac86240a8246f8b0cf4bf24f00af3c9cd492..e03f4f280f28ca31cd6ebf0803a18fdd6f8f4ec5 100644 GIT binary patch delta 37 rcmcb_bbyKbG%qg~0}yP;bDGG#o-bHGBR@A)zqm9bwJ4=>;;jk*%>fLH delta 55 zcmX@Wbcu=kG%qg~0}$|^P@TxVULjRKBR@A)zqm9bwJ4=huQD+?Kgl6Cu^=%|FF9W? JGiBn53INi&61@Nb diff --git a/__pycache__/__manifest__.cpython-312.pyc b/__pycache__/__manifest__.cpython-312.pyc old mode 100644 new mode 100755 diff --git a/__pycache__/hooks.cpython-312.pyc b/__pycache__/hooks.cpython-312.pyc index 9877ad0053e1c74088eb8d3147d3a00fcb56e0cf..fb3256199f1b8ccd31ba37e19b3296269c16aac5 100644 GIT binary patch delta 40 ucmZovcrVX=nwOW00SKn&Ic?;A!p#?;pOK%Ns$X21ky?~extX8m6EgtvA`Hj? delta 58 zcmaDa->ATSnwOW00SGitsBYwb!mW^`pOK%Ns$X21ky?~esaKhpoS)>7n^=&TrGbKG%qg~0}z~Br8<#2NTE?Y&688WA diff --git a/controllers/__pycache__/rating.cpython-312.pyc b/controllers/__pycache__/rating.cpython-312.pyc index 2f180ba052b001b7f506a8ba6dd5835081f7acd2..5999c6e97dded7cce603b87847f24cfa41a985f9 100644 GIT binary patch delta 40 ucmZ4CGtGzlG%qg~0}#x}bK1zA!@(D;pOK%Ns$X21ky?~exp_LrL|FjvC=9;< delta 58 zcmbQ{v%-h_G%qg~0}%LcQ{Bj&!=aF`pOK%Ns$X21ky?~esaKhpoS)>7n^=&Tr;^is;%dZT6 delta 55 zcmdnZbe4(xG%qg~0}xbfQJu)WLLo;#BR@A)zqm9bwJ4=huQD+?Kgl6Cu^=%|FF9W? JGiBnzDgfS!69WJM diff --git a/models/__pycache__/helpdesk_ticket.cpython-312.pyc b/models/__pycache__/helpdesk_ticket.cpython-312.pyc index 1d43854c3b6742c2d5566915fcff3ce86c9bc2d9..15fc3c7635619817665e109c352b1bf6031f54de 100644 GIT binary patch delta 40 ucmew;d|#ORG%qg~0}yP=bK1!Lh?y@@KO;XkRlm42Bef`{ax*W>6IK8Ks0|wc delta 58 zcmcaF{85svQdQlG%qg~0}yP=bK1!5z{;1QpOK%Ns$X21ky?~exjCEl1`7b^1`K)t delta 58 zcmdlea#)1>G%qg~0}!NcQQgSxz^YKCpOK%Ns$X21ky?~esaKhpoS)>7n^=&Tr;M1& diff --git a/models/__pycache__/rating_rating.cpython-312.pyc b/models/__pycache__/rating_rating.cpython-312.pyc index 75cadabf97428357683cd1bbe10016ca4479dd73..5c72eb3120715768636572dccdc3acf82fa7e6c5 100644 GIT binary patch delta 663 zcmX|{H`&QGFkcDjbce zoknv%v90ba5^HH3Jl_6xQP`7r1u#%Y*wc0q?4a>utQbzrYatHD?v6uVNWcO5jRg1+ znt&Ytj7LQ2z2?6l6o=>H*qCKD++}Qf?FJ_Hig{zjZ@8_xYh%;3UH8;^7>M_g*{exs zP%J^=*9$^lByPK9lQ_JPO-ZLBNx?@sBc)lX!jYUuWf%>YP`0-aZlmZZ(~r|skcbYS zA{CT|6UqfN3pM2t9r~&mJc{>pRb#iB&~BrXu%?|GVd%clsX87tc&n8&fkBC?t0T9n zezUb?JRnUU&-e6Lp3hunHeq%~suNuGF^Mz9fJ$PrQV>aii!hw!G(EpB6I^$RP2p^8 znkG-AX^cjf1XeS&U5);;8Zy`5P2wTSLOHpRWca>ZY58~w6EfTqUL~ipnc#zs@8K53 ztF$ANES2C-GIN$u`%%lPJ5|rCW5=(t&K>fhnADvegt=I5qqDWXx&A@R{})>jd1F9LX}B jZF&^GwCvh#2bYKi?^37rt09!$xU;pmx%iV~bujuD+N!Jq delta 708 zcmYjOzi-n(7|q4ClbAXVj-7<4R1TtzA`u6|uZp0wLX^@X5FlV7D7dlJSR{6Pc7oC& z3SyvPDdi-}UjRa7vxJynu3$x~Ji*97RRmoa5O+=nZg{$T-{<$<_xWr7nG*fPaclse z?E49$Ep9}=up#oq=hxGXA0V5`e0MO`ra3T_Rpjvxi zm`jMGHp4+kL}Ao@O??AEKz&*+t`zE4Q!m)9x(>CD(ot*H;!IOrR!ya5DTY?K-f`-d zS+g{~U}=_hVhU~3E1>9>nA0F8V!dm*5s!ve%haHNdZEJc1Tjfs@K~ri*t}|(j!j`g zmSvbCRUX6Y*iFBxAfA%I1+*V3gS2}p+ydNT(ld@B$G`-77nujC=j=If1(n#xxaT9Q zP(W~ZIi5`MH+mc7&@KM#C^7a%+G@jwNwmpNr+lwz;x#(-dI$|izvu4q87f{TE@AQw zQ-iwd=s15iJ{f^$FqfmT^Nn~aPX>Xr7;G8?ov}B&E}0{~4*`O%$&((eOIl<8gC6HrCEc$5${6=Qmr_t-#ee679S?RR(h z%>O+4AT8q1nZ!bVfru6`c=S~g#5Z^ofN8>$ZT<Z?yOh( LmHhy@`>p=~M?bf+ diff --git a/models/helpdesk_ticket.py b/models/helpdesk_ticket.py old mode 100644 new mode 100755 diff --git a/models/helpdesk_ticket_report.py b/models/helpdesk_ticket_report.py old mode 100644 new mode 100755 diff --git a/models/rating_rating.py b/models/rating_rating.py old mode 100644 new mode 100755 index d7dc994..bc46a37 --- a/models/rating_rating.py +++ b/models/rating_rating.py @@ -20,7 +20,6 @@ class Rating(models.Model): required=True, help='Rating value: 0 (no rating), 1-5 (stars)', aggregator="avg", - tracking=True # Track changes to rating value ) # Computed fields for star display @@ -39,12 +38,10 @@ class Rating(models.Model): # Audit fields - track who submitted/modified the rating feedback = fields.Text( string='Feedback', - tracking=True # Track changes to feedback ) consumed = fields.Boolean( string='Rating Submitted', - tracking=True # Track when rating is consumed ) @api.constrains('rating') diff --git a/security/helpdesk_rating_security.xml b/security/helpdesk_rating_security.xml old mode 100644 new mode 100755 diff --git a/security/ir.model.access.csv b/security/ir.model.access.csv old mode 100644 new mode 100755 diff --git a/static/description/ICON_README.md b/static/description/ICON_README.md old mode 100644 new mode 100755 diff --git a/static/description/icon.svg b/static/description/icon.svg old mode 100644 new mode 100755 diff --git a/static/description/index.html b/static/description/index.html old mode 100644 new mode 100755 diff --git a/static/description/widget_demo.html b/static/description/widget_demo.html old mode 100644 new mode 100755 diff --git a/static/src/README.md b/static/src/README.md old mode 100644 new mode 100755 diff --git a/static/src/js/rating_stars.js b/static/src/js/rating_stars.js old mode 100644 new mode 100755 diff --git a/static/src/scss/rating_stars.scss b/static/src/scss/rating_stars.scss old mode 100644 new mode 100755 diff --git a/static/src/xml/rating_stars.xml b/static/src/xml/rating_stars.xml old mode 100644 new mode 100755 diff --git a/tests/__init__.py b/tests/__init__.py old mode 100644 new mode 100755 diff --git a/tests/__pycache__/__init__.cpython-312.pyc b/tests/__pycache__/__init__.cpython-312.pyc old mode 100644 new mode 100755 diff --git a/tests/__pycache__/test_api_compatibility.cpython-312.pyc b/tests/__pycache__/test_api_compatibility.cpython-312.pyc old mode 100644 new mode 100755 diff --git a/tests/__pycache__/test_aria_labels.cpython-312.pyc b/tests/__pycache__/test_aria_labels.cpython-312.pyc old mode 100644 new mode 100755 diff --git a/tests/__pycache__/test_average_calculation.cpython-312.pyc b/tests/__pycache__/test_average_calculation.cpython-312.pyc old mode 100644 new mode 100755 diff --git a/tests/__pycache__/test_duplicate_rating.cpython-312.pyc b/tests/__pycache__/test_duplicate_rating.cpython-312.pyc old mode 100644 new mode 100755 diff --git a/tests/__pycache__/test_helpdesk_ticket.cpython-312.pyc b/tests/__pycache__/test_helpdesk_ticket.cpython-312.pyc old mode 100644 new mode 100755 diff --git a/tests/__pycache__/test_hover_feedback.cpython-312.pyc b/tests/__pycache__/test_hover_feedback.cpython-312.pyc old mode 100644 new mode 100755 diff --git a/tests/__pycache__/test_integration.cpython-312.pyc b/tests/__pycache__/test_integration.cpython-312.pyc old mode 100644 new mode 100755 diff --git a/tests/__pycache__/test_keyboard_navigation.cpython-312.pyc b/tests/__pycache__/test_keyboard_navigation.cpython-312.pyc old mode 100644 new mode 100755 diff --git a/tests/__pycache__/test_no_regression.cpython-312.pyc b/tests/__pycache__/test_no_regression.cpython-312.pyc old mode 100644 new mode 100755 diff --git a/tests/__pycache__/test_rating_controller.cpython-312.pyc b/tests/__pycache__/test_rating_controller.cpython-312.pyc old mode 100644 new mode 100755 diff --git a/tests/__pycache__/test_rating_export.cpython-312.pyc b/tests/__pycache__/test_rating_export.cpython-312.pyc old mode 100644 new mode 100755 diff --git a/tests/__pycache__/test_rating_filtering.cpython-312.pyc b/tests/__pycache__/test_rating_filtering.cpython-312.pyc old mode 100644 new mode 100755 diff --git a/tests/__pycache__/test_rating_migration.cpython-312.pyc b/tests/__pycache__/test_rating_migration.cpython-312.pyc old mode 100644 new mode 100755 diff --git a/tests/__pycache__/test_rating_model.cpython-312.pyc b/tests/__pycache__/test_rating_model.cpython-312.pyc old mode 100644 new mode 100755 diff --git a/tests/__pycache__/test_rating_reports.cpython-312.pyc b/tests/__pycache__/test_rating_reports.cpython-312.pyc old mode 100644 new mode 100755 diff --git a/tests/__pycache__/test_rating_security.cpython-312.pyc b/tests/__pycache__/test_rating_security.cpython-312.pyc old mode 100644 new mode 100755 diff --git a/tests/__pycache__/test_rating_views.cpython-312.pyc b/tests/__pycache__/test_rating_views.cpython-312.pyc old mode 100644 new mode 100755 diff --git a/tests/__pycache__/test_star_highlighting.cpython-312.pyc b/tests/__pycache__/test_star_highlighting.cpython-312.pyc old mode 100644 new mode 100755 diff --git a/tests/test_api_compatibility.py b/tests/test_api_compatibility.py old mode 100644 new mode 100755 diff --git a/tests/test_aria_labels.py b/tests/test_aria_labels.py old mode 100644 new mode 100755 diff --git a/tests/test_average_calculation.py b/tests/test_average_calculation.py old mode 100644 new mode 100755 diff --git a/tests/test_duplicate_rating.py b/tests/test_duplicate_rating.py old mode 100644 new mode 100755 diff --git a/tests/test_helpdesk_ticket.py b/tests/test_helpdesk_ticket.py old mode 100644 new mode 100755 diff --git a/tests/test_hover_feedback.py b/tests/test_hover_feedback.py old mode 100644 new mode 100755 diff --git a/tests/test_integration.py b/tests/test_integration.py old mode 100644 new mode 100755 diff --git a/tests/test_keyboard_navigation.py b/tests/test_keyboard_navigation.py old mode 100644 new mode 100755 diff --git a/tests/test_no_regression.py b/tests/test_no_regression.py old mode 100644 new mode 100755 diff --git a/tests/test_rating_controller.py b/tests/test_rating_controller.py old mode 100644 new mode 100755 diff --git a/tests/test_rating_export.py b/tests/test_rating_export.py old mode 100644 new mode 100755 diff --git a/tests/test_rating_filtering.py b/tests/test_rating_filtering.py old mode 100644 new mode 100755 diff --git a/tests/test_rating_migration.py b/tests/test_rating_migration.py old mode 100644 new mode 100755 diff --git a/tests/test_rating_model.py b/tests/test_rating_model.py old mode 100644 new mode 100755 diff --git a/tests/test_rating_reports.py b/tests/test_rating_reports.py old mode 100644 new mode 100755 diff --git a/tests/test_rating_security.py b/tests/test_rating_security.py old mode 100644 new mode 100755 diff --git a/tests/test_rating_views.py b/tests/test_rating_views.py old mode 100644 new mode 100755 diff --git a/tests/test_star_highlighting.py b/tests/test_star_highlighting.py old mode 100644 new mode 100755 diff --git a/views/helpdesk_ticket_report_views.xml b/views/helpdesk_ticket_report_views.xml old mode 100644 new mode 100755 diff --git a/views/helpdesk_ticket_views.xml b/views/helpdesk_ticket_views.xml old mode 100644 new mode 100755 diff --git a/views/rating_rating_views.xml b/views/rating_rating_views.xml old mode 100644 new mode 100755 index 1e3cc8d..0cbeca0 --- a/views/rating_rating_views.xml +++ b/views/rating_rating_views.xml @@ -53,7 +53,7 @@ - +