Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
3 Vastaukset
4065 Näkymät

Hi,

it's very weird as i can't print quotations when i select German (CH) / Deutsch (CH) in my profile , when i go back to English everything go normal . this is odoo 14 community install it in ubuntu 20 server .

i try the same German (CH) / Deutsch (CH) in windows odoo i have no problem with it , i make sure that my locale have de_CH , but nothing change .


This is the errors odoo give me when i print 


Odoo Server Error
Traceback (most recent call last):
  File "/opt/odoo/addons/web/controllers/main.py", line 2137, in report_download
    report_name = safe_eval(report.print_report_name, {'object': obj, 'time': time})
  File "/opt/odoo/odoo/tools/safe_eval.py", line 328, in safe_eval
    c = test_expr(expr, _SAFE_OPCODES, mode=mode)
  File "/opt/odoo/odoo/tools/safe_eval.py", line 184, in test_expr
    code_obj = compile(expr, "", mode)
  File "<string>", line 1
    (object.state in ('draft', 'sent') und 'Angebot - %s' % (object.name)) oder 'Auftrag - %s' % (object.name)
                                       ^
SyntaxError: invalid syntax
Avatar
Hylkää
Tekijä

This is the err on on Runbot

image0

Paras vastaus

Gibt es schon eine lösung?


Avatar
Hylkää
Paras vastaus

That looks very much like a translation issue. Correct the translated text and it will work again.

Avatar
Hylkää
Tekijä

the quotation is in English , only profile language use German (CH) / Deutsch (CH).

You will not find the german words "und" and "oder" in the original english source terms.

Paras vastaus

Hi,

Can you please try with the latest ODOO V14 Source code?

I checked on Runbot and it's working well.

https://7773896-14-0-all.runbot33.odoo.com/

Thanks & Regards,


Sunny Sheth

Avatar
Hylkää
Tekijä

I try it now

it doesn't work , same problem

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
helmik. 17
4968
3
helmik. 23
2519
0
syysk. 22
1784
1
maalisk. 21
5096
1
tammik. 21
2555