[UPT]web_action_conditionable

* assets file rename + log ignored errors when reading attrs
* update readme description
This commit is contained in:
ahenriquez
2020-07-22 10:41:37 +02:00
committed by Jasmin Solanki
parent f2049b4442
commit 5852c6ca2d
4 changed files with 7 additions and 4 deletions

View File

@@ -24,7 +24,11 @@ odoo.define("web.web_action_conditionable", function(require) {
.evaluate(py.parse(py.tokenize(expr)), self.recordData)
.toJSON();
} catch (ignored) {
// Do nothing
console.log(
"[web_action_conditionable] unrecognized expr '" +
expr +
"', ignoring"
);
}
});
this.editable = arch.attrs.editable;