Odoo 11 Development Essentials(Third Edition)
上QQ阅读APP看书,第一时间看更新

The business logic layer

Now we will add the logic for our button. This is done with Python code, using the methods in the model's Python class.