SyntaxError

Please, help me !!
I have error when I click on purchase order line : SyntaxError: unknown: Expected corresponding JSX closing tag for <>. (2:101)
Best regards

<**>**Badge bg={invoiced ? « success » : « danger »}>{invoiced ? _t(‹ Invoiced ›) : _t(‹ Not invoiced ›)}</>

Hello,

Thank you for reaching out to us regarding the error you encountered when clicking on the purchase order line.

I’m sorry to hear about the inconvenience you’re experiencing. Could you please confirm if you’re still encountering the error after trying to reload the views? Sometimes, a simple reload views or hard refresh can resolve such issues.

If the problem persists even after reloading the views, could you please provide us with a brief explanation of the specific button or action you’re performing when you encounter this error? Additionally, it would be helpful if you could provide the full error message you’re seeing, including any additional context or stack trace if available. This will allow us to investigate the issue more effectively and provide you with the appropriate assistance.

We’re here to help resolve this issue for you as quickly as possible. Looking forward to your response.

Best regards,

Hi,
Thanks for your feedback. despite reloading the view the problem persists.
After some research, it seems that there is a correction to be made:
Correcting the file in the JAR axelor-purchase-8.0.6.jar
Fixed the typo in the the file view/PurchaseOrderLine.xml as per :

`

{invoiced ? _t('Invoiced') : _t('Not invoiced')}]]> `

After a restart, the error is partially removed :

Error 500
Précisions :
u@https://group-erp.eti-group.fr/axelor/assets/index-K2ue5qVP.js:135:18349
@https:///www.xxx.yy/axelor/assets/index-K2ue5qVP.js:135:62991
@https:///www.xxx.yy/axelor/assets/index-K2ue5qVP.js:137:4712
@https:///www.xxx.yy/axelor/assets/index-K2ue5qVP.js:137:95481
@https://www.xxx.yy/axelor/assets/index-K2ue5qVP.js:137:95102
@https://www.xxx.yy/axelor/assets/index-K2ue5qVP.js:137:94709
@https://www.xxx.yy/axelor/assets/index-K2ue5qVP.js:137:91636
@https:///www.xxx.yy/axelor/assets/index-K2ue5qVP.js:137:91094
@https:///www.xxx.yy/axelor/assets/index-K2ue5qVP.js:137:90355
@https:///www.xxx.yyr/axelor/assets/index-K2ue5qVP.js:137:89459
@https://www.xxx.yy/axelor/assets/index-K2ue5qVP.js:138:12458
@https:///www.xxx.yy/axelor/assets/index-K2ue5qVP.js:138:21214
@https:///www.xxx.yy/axelor/assets/index-K2ue5qVP.js:138:30890
@https:///www.xxx.yy/axelor/assets/index-K2ue5qVP.js:138:30735
@https://www.xxx.yy/axelor/assets/index-K2ue5qVP.js:138:15546
@https:///www.xxx.yy/axelor/assets/index-K2ue5qVP.js:138:15249
@https:///www.xxx.yy/axelor/assets/index-K2ue5qVP.js:138:55803
@https://www.xxx.yy/axelor/assets/index-K2ue5qVP.js:2713:526
F@https:///www.xxx.yy/axelor/assets/index-K2ue5qVP.js:110:134786
@https:///www.xxx.yy/axelor/assets/index-K2ue5qVP.js:110:134786
oe@https:///www.xxx.yyr/axelor/assets/index-K2ue5qVP.js:110:136707
@https:///www.xxx.yy/axelor/assets/index-K2ue5qVP.js:110:135996
F@https:///www.xxx.yy/axelor/assets/index-K2ue5qVP.js:110:134786
oe@https:///www.xxx.yy/axelor/assets/index-K2ue5qVP.js:110:136707
@https://www.xxx.yy/axelor/assets/index-K2ue5qVP.js:110:135996
F@https:///www.xxx.yy/axelor/assets/index-K2ue5qVP.js:110:134786
oe@https:///www.xxx.yy/axelor/assets/index-K2ue5qVP.js:110:136707
@https:///www.xxx.yy/axelor/assets/index-K2ue5qVP.js:110:135996
bN@https:///www.xxx.yy/axelor/assets/index-K2ue5qVP.js:2679:5967
Vte@https:///www.xxx.yy/axelor/assets/index-K2ue5qVP.js:3348:4371
@https://www.xxx.yy/axelor/assets/index-K2ue5qVP.js:3349:1023
get@https:///www.xxx.yy/axelor/assets/index-K2ue5qVP.js:80:22782
@https:///www.xxx.yyaxelor/assets/index-K2ue5qVP.js:3349:2053
useMemo@https:///www.xxx.yy/axelor/assets/index-K2ue5qVP.js:38:26071
Hke@https:///www.xxx.yy/axelor/assets/index-K2ue5qVP.js:3349:20583
VZ@https:///www.xxx.yy/axelor/assets/index-K2ue5qVP.js:38:19696
s7e@https:///www.xxx.yy/axelor/assets/index-K2ue5qVP.js:40:44251
r7e@https:///www.xxx.yy/axelor/assets/index-K2ue5qVP.js:40:39952
o8t@https:///www.xxx.yy/axelor/assets/index-K2ue5qVP.js:40:39875
mT@https:///www.xxx.yy/axelor/assets/index-K2ue5qVP.js:40:39724
LJ@https:///www.xxx.yy/axelor/assets/index-K2ue5qVP.js:40:36066
Z4e@https:///www.xxx.yy/axelor/assets/index-K2ue5qVP.js:40:35012
z@https:///www.xxx.yy/axelor/assets/index-K2ue5qVP.js:25:1663
fe@https:///www.xxx.yy/axelor/assets/index-K2ue5qVP.js:25:2048
@https://www.xxx.yy/axelor/assets/polyfills-kS2t3Y6D.js:1:70774
dx@https:///www.xxx.yy/axelor/assets/polyfills-kS2t3Y6D.js:1:70524
yx@https:///www.xxx.yy/axelor/assets/polyfills-kS2t3Y6D.js:1:70587