So the current code directly uses the node name to retrieve the associated 
record.
This way is not correct as it become totally useless in some cases like mine.

Why not using a "match list" to retrieve the correct record when it has
been seen as duplicate?

For example:
Use current code to retrieve the record associated with "\Root\Partners\My 
partner A" if the result is not NULL then use it. If the result is NULL (like 
it would be the case for "\Root\Partners\My partner B_21") then use the match 
list to know the real record id. This match list would be filled automatically 
during a "List" operation.

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/803001

Title:
  Document path generated by Knowledge module is not atomic

Status in OpenERP Modules (addons):
  New

Bug description:
  The FTP filesystem (or the webdav one) doesn't allow two (or more)
  files/directories to have the same name.

  By example, if you create a directory with the type "Folders per
  resource" on "Partner" model. Eg, if you have two partners with
  exactly the same name (but in a different cities) then the "List"
  command will display the same item two times.

  \Root
    --> Partners
      --> My partner A
      --> My partner B
      --> My partner B
      --> My partner C
      --> My partner D

  The problem is that you are not able to enter the second "My partner
  B" directory as the "Enter" command use the path as parameter.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/803001/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to