Adding a follower to a document opens the mail.wizard.invite, where the check box "Send Email" is preselected. How can I make it NOT checked? Thanks!
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
1
Balas
4205
Tampilan
Hi,
What you have to do is that, just inherit the model mail.wizard.invite and set the default=False in the code.
class Invite(models.TransientModel):
_inherit = 'mail.wizard.invite'
send_mail = fields.Boolean('Send Email', default=False,
help="If checked, the partners will receive an email warning they "
"have been added in the document's followers.")
To set default value for a field from the UI by activating the developer mode, have a look at this video: How To Set Default Value For A Field in Odoo
Thanks
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
0
Mei 21
|
2727 | ||
|
2
Jan 20
|
3584 | ||
|
2
Jun 25
|
9052 | ||
|
3
Agu 22
|
11508 | ||
How can I modify the 'Create Contact' process?
Diselesaikan
|
|
3
Feb 19
|
5530 |