how to prevent records from commit in odoo unit testing

前端 未结 0 1515
既然无缘
既然无缘 2020-12-03 04:58

while writing test cases in odoo 10 custom modules, I\'m using self.env[\'test.model\'].create({..}). This is actually committing the records in DB instead of getting rolled

相关标签:
回答
  • 消灭零回复
提交回复
热议问题