Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
What is the correct way to remove a single cell from a 4 cellesingle row table based on a condition? (I want to remove the third cell).
I have the following formula that is supposed to print "Great Client" if the word "Great" is located within the client name:
(so.partner_id.name.find('Great') > 0) and "Great Client" or removeParentNode('td')
It works fine when the condition is met, but I get an error message when it isn't, i.e. when it hits the removeParentNode('td'):
(<type 'exceptions.AssertionError'>, AssertionError(), <traceback object at 0x7fdae4b7e248>)
How is it possible to remove a single cell from a single row table?
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 5/14/13, 11:51 AM|
|Seen: 2377 times|
|Last updated: 3/16/15, 8:10 AM|