0

根据条件从单行表中删除单个单元格的正确方法是什么?

如果“Great”一词位于客户名称中,我有以下公式应该打印“Great Client”:

(so.partner_id.name.find('Great') > 0) and "Great Client" or removeParentNode('td')

当条件满足时它工作正常,但当它不满足时我收到一条错误消息,即当它命中 removeParentNode('td') 时:

(<type 'exceptions.AssertionError'>, AssertionError(), <traceback object at 0x7fdae4b7e248>)

如何从单行表中删除单个单元格?

4

0 回答 0