Comment 4 for bug 1172149

Revision history for this message
Martin Trigaux (OpenERP) (mat-openerp) wrote :

Hello Lorenzo,

As mentioned Stephan on the MP, quite often we put it in no update but I don't think this is the best idea. Depending what you do on these data:

- Delete subtype -> no impact, would be recreate at update with or without noupdate, ignored by the system if inexistent
- Modify name/description -> with noupdate could get inconsistent behaviour (rename "task created" into "task deleted", won't get why it is still trigged at creation)
- Modify res_model/parent_id -> could break stuff

So I think it's a bit like views, it is good to know it would go back to normal with an update if you have broken stuff.

Where it could get interesting to change it is when you want to tweak the system to a specific case (eg: my company creates piano, I change "task created" into "piano started") but in that case you could get the same result with translations.

So, stop me if I am wrong, there is not much reasons to change the data for the subtypes (the evaluation conditions are in python anyway). If you need to change it, you will probably create new ones in your custom modules.

I don't think we need to change it everywhere in OpenERP to noupdate="0" (little impact) but it's probably something we could do during refactoring.