We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<field colSpan="4" name="myOrder" title="my orders" domain="self.order.id = :persion.order.orderId"/>
:persion.order.orderId Can be parsed from the model
:persion.order.orderId
https://github.com/axelor/axelor-open-platform/blob/master/axelor-web/src/main/webapp/js/axelor.data.js#L148
post: function(data, config) { if (data?.data?._domain) { var i = 0; data.data._domain = data?.data?._domain?.replaceAll(/:([^\s]*)/g, (__, path) => { if (path.indexOf('.') !== -1) { let p = `__f${i++}`; try { data.data._domainContext[p] = eval(`data.data._domainContext.${path}`); }catch (e){ data.data._domainContext[p]=null; } return ':' + p; } return __; }); } return $http.post(url, data, config);
The text was updated successfully, but these errors were encountered:
Fix nested field support in template parser
481c349
Fixes #118
No branches or pull requests
:persion.order.orderId
Can be parsed from the modelhttps://github.com/axelor/axelor-open-platform/blob/master/axelor-web/src/main/webapp/js/axelor.data.js#L148
The text was updated successfully, but these errors were encountered: