When exporting a window, 2Pack export also records from AD_Preference +Patch

Description

Following https://groups.google.com/forum/#!topic/idempiere/-b7AB0f_1YI

Steps to reproduce :
log in GardenAdmin and goto the Sales Order window ; add some default values.

Now, log in System and export the Sales Order Window.
(Note that the export will fail because some preference don't have UU)

If you have a look at the PackOut.xml, you will see some reference to AD_Preference

You can also have a look at the attached test.zip package

Regards,

Nicolas

Environment

None

Activity

Show:
Jan Thielemann
March 17, 2014, 1:42 PM

I had the same problem today and in my opinion, there is a simple check missing from which client the preference comes from. So to solve this problem, i created a little patch. Please check if it is ok and if yes, please integrate it into the trunk.

What bothers me more than the fact that a clients preference is packed out when i make a pack out on System, is the fact that the uuid of those preferences is missing.

Assignee

Jan Thielemann

Reporter

Nicolas Micoud

Labels

None

Tested By

None

Components

Fix versions

Priority

Major
Configure