Doc ftp: Fix yaml test to follow expected behaviour
The document.directory has the "resource_find_all" flag, which now defaults to True and means that a new doc in a resource folder will have the *root* Documents as a parent. Fix the test to expect that behaviour. bzr revid: p_christ@hol.gr-20100828141852-pyvd24rh1rptqf5f
This commit is contained in:
@@ -110,7 +110,7 @@
|
||||
I check at the server that the file is attached to Partner1
|
||||
-
|
||||
!assert {model: ir.attachment, id: , search: "[('name','=','pat1-dynamic.txt')]" }:
|
||||
- parent_id.name == 'Partners of Test'
|
||||
- parent_id.name == 'Documents'
|
||||
- res_model == 'res.partner'
|
||||
- res_id != False
|
||||
-
|
||||
|
||||
Reference in New Issue
Block a user