[ADD] Migration scripts for the project addon

Again res is an integer, thus replace it with
```
registry[model_name].write(cr, SUPERUSER_ID, res, vals)
```