[FIX] web_m2x_options: Error if not web_m2x_options set on session

pull/2915/head
Carlos Roca 2024-08-14 07:06:28 +02:00
parent 1c6d9cd008
commit c3acb6e641
1 changed files with 1 additions and 1 deletions

View File

@ -325,7 +325,7 @@ patch(FormController.prototype, {
* add more method to add subview limit on formview * add more method to add subview limit on formview
*/ */
async _setSubViewLimit() { async _setSubViewLimit() {
const ir_options = session.web_m2x_options; const ir_options = session.web_m2x_options || {};
const activeFields = this.archInfo.fieldNodes, const activeFields = this.archInfo.fieldNodes,
isSmall = this.user; isSmall = this.user;