
|
|
Sender notified by Mailtrack | 03/16/22, 05:37:49 PM |
--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/e1934bc2-5918-4509-801f-47c87b1c101bn%40googlegroups.com.

Hi Diego,
I had as mentioned by the 'create/complete table' run the 'create table index' after creating the _trl table. So there is an index with ad_language and m_discountschema_id as columns and one with the uuid. Can anybody point me to the source file where the creation of a translation entry should happen?
Regards,Martin
Diego Ruiz schrieb am Donnerstag, 17. März 2022 um 10:20:33 UTC+1:
Hi Martin,
I don't know which error you are getting. But I experienced something similar not long ago.
After checking all possibilities I noticed that the error was that the Trl table had no PK. You need to add it in the Table Index tab.
Something like this:
Martin, this is the key part of your message:
> But I get no chance to insert a row into it.
At first you just said "this doesn't work" but didn't explain your problem, is easier when explained.
AFAIR translation tables are not intended to allow insertion.
If I recall correctly you need to run the process Synchronize Doc Translation to insert the records.
But again I'm not sure if that process insert or just updates.
In case it doesn't insert, then the button Language Maintenance in the Language window, must do the trick with the Add missing translations option
I see Martin, maybe that's something worthy to clarify in the documentation of Create/Complete Table
If I recall correctly, the thing is that it is not intended to add columns to the _Trl table, what is intended is that you mark the columns in the main table as Translated, and then create the translation table.
BTW, I remember also that the Technical field group is collapsed because we found many times in forums that people complained about iDempiere failing, and it was because they simply enabled the "Translated" flag without taking care of creating the table, so it is very easy to mess up a system.