server-tools icon indicating copy to clipboard operation
server-tools copied to clipboard

[16.0][ADD] base_force_record_noupdate

Open imlopes opened this issue 1 year ago • 2 comments

imlopes avatar Feb 20 '24 15:02 imlopes

Alex explained me that this has to work cross company. If that's the case I would recommend to add a flag to the ir.model and trash the complexity completely as you'll be able to simply do self.env["ir.model"]._get(model).force_nupdate or smth similar. You can also do a single select for all involved models and cache it.

simahawk avatar Mar 15 '24 08:03 simahawk

If you want to keep the param I would simply:

  1. trash the settings override (it's a very technical conf, no need for editing settings)
  2. hook to set_param to reflect the change on existing records

simahawk avatar Mar 15 '24 09:03 simahawk

superseeded by https://github.com/OCA/server-tools/pull/2946

gurneyalex avatar May 21 '24 13:05 gurneyalex