mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[FIX] web_m2x_options: Error if not web_m2x_options set on session
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user