c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #00380
[Bug 450360] Re: Server don't preserve translation on update
I try this in V5 all steps described by Joel, on records translatable
and act_windows.
-- It is doesn't working.
revno: 2143 on server
I try this in V6 all steps described by Joel, on records translatable
and act_windows.
-- It is doesn't working.
revno: 2888 on server-trunk
** Changed in: openobject-server/5.0
Status: New => Confirmed
** Changed in: openobject-server/trunk
Status: New => Confirmed
** Changed in: openobject-server/trunk
Importance: Wishlist => High
** Changed in: openobject-server/5.0
Importance: Undecided => Wishlist
--
Server don't preserve translation on update
https://bugs.launchpad.net/bugs/450360
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP OpenObject.
Status in OpenObject Server: Confirmed
Status in OpenObject Server 5.0 series: Confirmed
Status in OpenObject Server trunk series: Confirmed
Bug description:
Hi,
Version : Last stable branch
As for the security access rules on object, I think that custom translation from user should be preserved on update. This is not the case actually, test it with the following procedure:
1. Take a DB with more than english languages installed
2. Translate a text on the invoice for example (I try with field description)
3. Ask to update module account and apply changes
4. Go back to look at your field : translation were restored from po file of the module !!
I think this should not append ! You must preserve user setting in that case, or at least let it choose !
I suggest here an well tested solution, and provide a patch for that :)
a) I add a new boolean field (always_update) on res_lang, allowing the user to choose if he want this languages to be updated from po file when making an update or not.
b) I change the translate.py and the module.py in order to take care on the value of this field (always_update), and respect the user choice.
c) I make this field (always_update) tick by default, so if user do nothing, it preserve the same comportment as it was before that patch.
d) I even add a check to know if the field "always_update" exists in the res_lang object, so even if you forget to make an update=all when upgrading your server with this patch, you will not have trouble and crash your server :) !
So, I ask : Could you please release this into the stable branch ? It's definitely boring to see our customers translations erased on each update...
My2Cents,
Regards,
Joël