Odoo Help

0

0
1 Answer
0
Sameer Ahmad
2019/04/16 7:14

Hi,

I achieved this by overriding the do method in base_import.py and a simple update statement inside the method does the magic.

@api.multi
def do(self, fields, columns, options, dryrun=False):
res = super(<class-name-here>, self).do(fields=fields, columns=columns, options=options, dryrun=dryrun)
self.env.cr.execute("UPDATE account_group SET name = UPPER(name)")
return res

Thank you

Ask a Question
Writer
Keep Informed
1 follower(s)
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 eLearning platform and experience all Odoo Apps through learning videos, use cases and quizzes.

Test it now