P. Christeas 0cb5ccb45d document: fix behavior of resource-hooked folders [Bug 682761]
Original report:
> From: Dr. Ferdinand Gasauer
> Date: 29-11-2010
> Subject: webdav - create folder duplicates existing attachments

> to reproduce
> add attachment to partner using webdav (konqueror 4.5.3)
> create new folder in webdav directory
> the attachment will be displayed ALSO in the newly created folder

Well, this /did/ work as the code intended, but not as a user would
expect.
As of commit e549808c0e90, the resource directories would list _all_
attachments referencing some record, by default. This meant that a
newly created folder with files [and subfolders with files..] would
have all the files listed at the root folder, too
eg. /Dirs/Products/Product-A/ + [ /dir2/a.txt, /dir2/b.txt ]
would list a.txt, b.txt under ../Product-A/ , too.

Now, the algorithm is improved to handle such a case and turn off the
"find all" flag[1] so that child files will be contained in their
folders[2].

[1] I'm now glad I had left that option there.
[2] still, files may all appear at the root folder, too, if this has
the "find-all" flag set.

bzr revid: p_christ@hol.gr-20101209100121-6kaq1zcqfewwl25b
2010-12-09 12:01:21 +02:00
2009-03-15 17:06:23 +01:00
2008-11-03 12:16:02 -05:00
2009-01-26 22:27:21 +02:00
2009-12-02 11:01:14 +01:00
2010-10-18 23:59:29 +02:00
2010-09-28 20:53:49 +02:00
2010-10-19 00:00:03 +02:00
2008-12-22 15:05:47 +01:00

About OpenERP

---------------



OpenERP is a free Enterprise Resource Planning and Customer Relationship 

Management software. It is mainly developed to meet changing needs.



The main functional features are: CRM & SRM, analytic and financial accounting,

double-entry stock management, sales and purchases management, tasks automation,

help desk, marketing campaign, ... and vertical modules for very specific 

businesses.



Technical features include a distributed server, flexible workflows, an object 

database, dynamic GUIs, customizable reports, NET-RPC and XML-RPC interfaces, ...



For more information, please visit: 

http://www.openerp.com



S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%