Don't check uid accessors after checking value is not None.
This breaks because of monkey-patched baobab uid getters (see ERP5Banking/Document/BankingOperation.py) in case where we are not interested in uids (ex: Cash Container Cell). The only cases it should detect should in fact be detected in unit tests (ie, stock impact invalid for a certain kind of document). Reverts partially r18818. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38107 20353a03-c40f-0410-a6d1-a30d3c3de9de
Showing
Please register or sign in to comment