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

Attachments

2

Activity

Show:

Jan Thielemann March 17, 2014 at 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.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

Created January 7, 2014 at 8:51 AM
Updated July 5, 2014 at 2:50 PM
Resolved March 19, 2014 at 5:56 PM