erp5_officejs: reduce calls to getSetting method

2 jobs for master in 0 seconds
Status Job ID Name Coverage
  External
passed ERP5.CodingStyleTest-Master

01:23:18

failed ERP5.UnitTest-Master

01:42:51