Wait, i got an mistake, this is just a message...
Should be these lines:
for i, module in pairs(data.raw.module) do
if module.effect.productivity then
module.limitation = productivitymodulelimitation()
if not module.limitation_message_key then
module.limitation_message_key = "production-module-usable-only-on-intermediates"
end
end
end