Some changes in AbstractModel have been done to ease the implementation of the sample data feature. This commit reverberates those changes in other addons. Part of task 2232801 X-original-commit: dd8069a3c80570e7fa03a80dbb100ab0a182692a