3
0
Fork 0

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

17.0
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
*/
async _setSubViewLimit() {
const ir_options = session.web_m2x_options;
const ir_options = session.web_m2x_options || {};
const activeFields = this.archInfo.fieldNodes,
isSmall = this.user;