Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

update table odoo13

update_ = request.env['crm.lead'].sudo().search([('id', '=', 111)])
update_.update({'appointment_datetime': datetime.strptime(datetime_converted, "%m/%d/%Y %H:%M")})
Source by www.odoo.com #
 
PREVIOUS NEXT
Tagged: #update #table
ADD COMMENT
Topic
Name
7+1 =