-
-
Notifications
You must be signed in to change notification settings - Fork 771
Open
Labels
Description
Module
Describe the bug
After creating a tier validation for journal entry, the tier validation has a domain of amount_currency>100
and the reviewer is 1 user, this tier validation had issue when the notification checkboxes where activated, thus I had to remove them and it worked, the designated user was able to validate the invoice, after that when trying to log to the invoice had the below error
UncaughtPromiseError > OwlError
Uncaught Promise > Got duplicate key in t-foreach: 1
Occured on azkatech-izzat-daouk-stage-20758203.dev.odoo.com on 2025-05-27 20:14:21 GMT
OwlError: Got duplicate key in t-foreach: 1
Error: Got duplicate key in t-foreach: 1
at ReviewsTable.template (eval at compile (https://azkatech-izzat-daouk-stage-20758203.dev.odoo.com/web/assets/dcf4d3e/web.assets_web.min.js:1574:421), <anonymous>:22:44)
at Fiber._render (https://azkatech-izzat-daouk-stage-20758203.dev.odoo.com/web/assets/dcf4d3e/web.assets_web.min.js:996:96)
at Fiber.render (https://azkatech-izzat-daouk-stage-20758203.dev.odoo.com/web/assets/dcf4d3e/web.assets_web.min.js:995:6)
at ComponentNode.initiateRender (https://azkatech-izzat-daouk-stage-20758203.dev.odoo.com/web/assets/dcf4d3e/web.assets_web.min.js:1065:47)
To Reproduce
Affected versions:
Steps to reproduce the behavior:
Case I
- create a tier validation with 1 user to review without any notification check boxes with any domain you like
- then create an entry that matches the domain
- Request validation and then login on behalf of the reviewer and confirm
- get back to invoice list view
- try entering the validation entry
Case II:
- Create a tier validation same like the above mentioned ones, but this time with the reviewer notifications checkboxes all enabled
- Create any invoice and request validation
Expected behavior
Case I
you will receive below error:
UncaughtPromiseError > OwlError
Uncaught Promise > Got duplicate key in t-foreach: 1
Occured on azkatech-izzat-daouk-stage-20758203.dev.odoo.com on 2025-05-27 20:14:21 GMT
OwlError: Got duplicate key in t-foreach: 1
Error: Got duplicate key in t-foreach: 1
at ReviewsTable.template (eval at compile (https://azkatech-izzat-daouk-stage-20758203.dev.odoo.com/web/assets/dcf4d3e/web.assets_web.min.js:1574:421), <anonymous>:22:44)
at Fiber._render (https://azkatech-izzat-daouk-stage-20758203.dev.odoo.com/web/assets/dcf4d3e/web.assets_web.min.js:996:96)
at Fiber.render (https://azkatech-izzat-daouk-stage-20758203.dev.odoo.com/web/assets/dcf4d3e/web.assets_web.min.js:995:6)
at ComponentNode.initiateRender (https://azkatech-izzat-daouk-stage-20758203.dev.odoo.com/web/assets/dcf4d3e/web.assets_web.min.js:1065:47)
Case II
you will receive below validation error:
Validation Error
You are not allowed to write those fields under validation.
- Is Manually Modified
Only those fields can be modified:
- Followers
- Main Attachment
- Security Token
- Needed Terms Dirty
- Total