I compared two dumps: dumped database (with pg_dump), changed one field
to translate=True, -u modulename, dumped again:
diff shows no indication of translate= being stored anywhere in the
database. Same effect on removal of translate=True.
In ir_model.py, create and write are customized, handling model_props
like translate somehow, but I can't figure out where translate is
stopped from going into the database properly.
As read is not customized, though, I think this might be the problem.
(Actually, I think write/create is the problem, was the field in the
database can easily be set)
This effects occurs at least in 6.0.2+ (regularly updated from
launchpad), I haven't tried it on trunk.
Hi!
For a customization, we need to find out in python code if a field is
set to be translatable.
https:/ /bugs.launchpad .net/openobject -server/ +bug/780584
The field translate exists in the database, but it's not used, NULL in
all databases on all fields here.
Reading ir.model.fields over OpenObject doesn't work either, compare www.openerp. com/forum/ topic24970. html www.openerp. com/forum/ topic24970. html>.
http://
<http://
I compared two dumps: dumped database (with pg_dump), changed one field
to translate=True, -u modulename, dumped again:
diff shows no indication of translate= being stored anywhere in the
database. Same effect on removal of translate=True.
In ir_model.py, create and write are customized, handling model_props
like translate somehow, but I can't figure out where translate is
stopped from going into the database properly.
As read is not customized, though, I think this might be the problem.
(Actually, I think write/create is the problem, was the field in the
database can easily be set)
This effects occurs at least in 6.0.2+ (regularly updated from
launchpad), I haven't tried it on trunk.
I asked about this in IRC on May 10th, and xrg prepared a short fix to git.hellug. gr/?p=xrg/ openobject- server; a=commit; h=d7a8fa5352e99 5d526c
this problem:
http://
see diff: git.hellug. gr/?p=xrg/ openobject- server; a=blobdiff; f=bin/osv/ orm.py; h=7a750710b3d31 599ce2838cf2bd9 1d40b9ac50f9; hp=0a2300d6bb99 ffad7e91596923d cacb96e277c40; hb=d7a8fa5352e9 95d526c; hpb=9c5a74926ff 9d46e231a07e31f 657a151aeba873
http://