0
2 答案
0
最佳答案
Hi Shaffaf,
You simply make a button in the XML with a function defined in it like this:
<button name="your_button" string="Send e-mail" type="object" class="btn-primary"/>
Then define a Python function where you set the boolean to true:
@api.multi
def your_button(self):
self.your_boolean_field = TrueRegards,
Yenthe