Steps to reproduce the bug: 1.Create an automated action with the following: - Model: Task (project.task) - Active: True - Trigger: On Update - Action To Do: Create Next Activity 2. Open or create a task in Project module 3. Edit 4. Change or set customer (partner_id) Bug: An error message was raised. opw:2376492 closes odoo/odoo#61812 X-original-commit: b3415d9dd0bcc1053e47b8a0082c772ca4a8220f Related: odoo/enterprise#14772 Signed-off-by: Simon Goffin (sig) <sig@openerp.com> Signed-off-by: Raphael Collet (rco) <rco@openerp.com>