12 lines
359 B
Python
12 lines
359 B
Python
from . import models
|
|
|
|
|
|
def _reset_whatsapp_text_confirmation(env):
|
|
company_ids_with_whatsapp_text_confirmation = env['res.company'].search([
|
|
('stock_text_confirmation', '=', True),
|
|
('stock_confirmation_type', '=', 'whatsapp'),
|
|
])
|
|
company_ids_with_whatsapp_text_confirmation.write({
|
|
'stock_text_confirmation': False,
|
|
})
|