Cannot make new translation

When i add a new translation i have the message “Field language_code not found.”

Any idea ?

Console log

Thanks, Xavier

Hi @Xavier_Raymond

Seems you are using an older version of an erpnext app, kindly update your account with latest version and check.

Hi Rohit_w,
Thanks for the reply. My version is up to date : ERPNext: v7.2.14 & Frappe Framework: v7.2.12
I also drop the erpnext directory, done a bench get-app, migrate and it is the same result

Same here, after having pulled latest versions of bench, frappe and erpnext from GitHub.
There is nothing in the logs:

06:26:20 web.1            | - - [24/Jan/2017 06:26:20] "GET /desk HTTP/1.0" 200 -
06:26:29 web.1            | - - [24/Jan/2017 06:26:29] "GET /?doctype=Translation&with_parent=1&cached_timestamp=&cmd=frappe.desk.form.load.getdoctype&_=1485235584041 HTTP/1.0" 200 -
06:26:30 web.1            | - - [24/Jan/2017 06:26:30] "GET /?doctype=Translation&name=New+Translation+1&cmd=frappe.desk.form.load.getdoc&_=1485235584042 HTTP/1.0" 200 -
06:26:30 web.1            | - - [24/Jan/2017 06:26:30] "GET /?value=en-US&options=Language&fetch=&cmd=frappe.desk.form.utils.validate_link&_=1485235584043 HTTP/1.0" 200 -

Any ideas? Thanks a lot, indeed!


Can replicate on develop. Please open a github issue

Ok Thanks.

I found a way to fix this error.
You have to customize the “Translation” form and add a read only field named “language_code”.

Best regards