Naming clash between FiscalYear and Period lock and ModelSQL lock method
The ModelSQL.lock
method was added after but the redefinition on FiscalYear
and Period
prevents to use it for those classes. We should rename the buttons.
This redefinition does not break any standard module because no code is using it for now. So no need to have a backport fix.