Update Records in Odoo — a practical guide to Odoo update write with clear examples you can reuse in real projects.
Odoo Tutorial Series (32/112). Prefer one article? Read the complete Odoo tutorial.
Short description
write applies to all records in the set — filter first when needed.
write
books.write({'state': 'done'})