Hello, Thank you for this amazing tutorial, I really learned a lot. I would like to ask if you could create another video about dynamic snippets, focusing on the best ways to build them and how to add them to the website builder.
@@ajscriptmedia Any plan to discuss offline data and events handling from the POS? If I am not mistaken, Within POS users can continue using the app even they are disconnected from the server and data is being transferred when connection is restored. There must be other cool features implemented in the POS addons.
11:00 This is exactly the current problem I'm stuck with: the await startService(env) is causing an error when Odoo restarts the service. We already have jsonrpc function to replace ORM and RPC pretty well, but for another service, for example, if I want to use the dialog service on the portal side, is there any way to implement it on the portal side?
Doing Well Job With OWl js In Odoo 17, I want to add checkbox on record of kanbanview like as we have in base list view, and all actions functionality should be work for records like Delete, Export, etc.. in js odoo 17 , please , suggest me ......
Hello sir, I am having a problem with OWL. The useService method cannot be used under the Portal site. How can I retrieve the environment to get the current login user ID? Thank you!
Thank you so much for this really amazing vedio! But how can I translate the frontend content of my Owl template that render by using controller with document.querySelector() && whenReady(() => {}) ?
How to change one template desing to another in snippets like i have category snippet and want to change desing like product snippet or dynamic snippet has give me any source of link that i can archive this task?
Yes, it is possible. Check this tutorial and view the part when uploading files using filepond ua-cam.com/video/pqN4oJmMRbc/v-deo.html. This will give you an idea, of how you will create the controller to handle the form data.
Hi.. You can try adding a new computed field to select all invoices amount_residual and take the sum of all. Make sure to add amount_residual as the dependency like this: api.depends('invoice_ids.amount_residual') def compute_amount_residual(self): #add your code
Hi, thanks for asking. The jsonrpc method I used here is actually an Ajax call already. Kindly check this link github.com/odoo/odoo/blob/17.0/addons/web/static/src/core/network/rpc_service.js#L47. I prefer using this built-in method by Odoo.
I am getting this error when I use jsonrpc Uncaught (in promise) Error: An error occured in the owl lifecycle (see this Error's "cause" property) setup() { // this.orm = useService('orm'); this.state = useState({ countries: [], }) // debugger; // console.log(useService('orm')); onWillStart(async () => { console.log("Testing"); this.state.countries = await jsonrpc('/web/dataset/call_kw/res.country/search_read', { model: 'res.country', method: 'search_read', args: [], kwargs: { limit: 10, } }); }) } This is the definition of jsonrpc method export function jsonrpc(env, rpcId, url, params, settings = {})
Hello,
Thank you for this amazing tutorial, I really learned a lot. I would like to ask if you could create another video about dynamic snippets, focusing on the best ways to build them and how to add them to the website builder.
The guide is amazing! Could you make a tutorial about PDF reports?How to direct print to printer?
Thanks for the upload, been struggling for the past few days with owl, this tutorial will help.
You're welcome!
You Rock 🎉 😊. Keep sharing good stuff. Hope to see more advanced tutorials like using browser API, local storage etc. in the future.
Thank you very much!
@@ajscriptmedia Any plan to discuss offline data and events handling from the POS? If I am not mistaken, Within POS users can continue using the app even they are disconnected from the server and data is being transferred when connection is restored. There must be other cool features implemented in the POS addons.
11:00 This is exactly the current problem I'm stuck with: the await startService(env) is causing an error when Odoo restarts the service. We already have jsonrpc function to replace ORM and RPC pretty well, but for another service, for example, if I want to use the dialog service on the portal side, is there any way to implement it on the portal side?
Thank you for ur efforts man.
You are Bravo ❤❤💥💥
it's really amazing they you explain and as well the quality video can you make a video how to customize the recipt in pos to A5
Hey, can you please create a video where you do a whole overview of web module and explain its working flow?.
Im struggling on this for a while
Doing Well Job With OWl js In Odoo 17, I want to add checkbox on record of kanbanview like as we have in base list view, and all actions functionality should be work for records like Delete, Export, etc.. in js odoo 17 , please , suggest me ......
Hello sir, I am having a problem with OWL. The useService method cannot be used under the Portal site. How can I retrieve the environment to get the current login user ID? Thank you!
Thank you so much for this really amazing vedio! But how can I translate the frontend content of my Owl template that render by using controller with document.querySelector() && whenReady(() => {}) ?
Hi sir, How to replace render_readonly method in odoo17. It was used in odoo15. Any idea?
Awesome as always!
Thank you!
How to change one template desing to another in snippets like i have category snippet and want to change desing like product snippet or dynamic snippet has give me any source of link that i can archive this task?
very awesome, keep it up 🔥
Thanks, will do!
Awesome video. please keep making videos on owl. can you please make a video on creating new view types.
Sure, just stay tuned!
Also, is it possible to send an image from the form to the database with jsonrpc?
Yes, it is possible. Check this tutorial and view the part when uploading files using filepond ua-cam.com/video/pqN4oJmMRbc/v-deo.html. This will give you an idea, of how you will create the controller to handle the form data.
Sir i have question, i need to add amount_residual field in partner ladger report using odoo 15 ?
Hi.. You can try adding a new computed field to select all invoices amount_residual and take the sum of all. Make sure to add amount_residual as the dependency like this:
api.depends('invoice_ids.amount_residual')
def compute_amount_residual(self):
#add your code
@@ajscriptmedia i do that but i need to show it in partner ladger report
Awesome videos
how to render a component on click event?
Hi, please try adding a new boolean state. Based on this, use an if condition to render the component. I hope this helps.
8:48 it does not work
I want to see how an Ajax Call or fetch API can be implemented, pleaseeeeeeeeeeeee.
Hi, thanks for asking. The jsonrpc method I used here is actually an Ajax call already. Kindly check this link github.com/odoo/odoo/blob/17.0/addons/web/static/src/core/network/rpc_service.js#L47. I prefer using this built-in method by Odoo.
I am getting this error when I use jsonrpc
Uncaught (in promise) Error: An error occured in the owl lifecycle (see this Error's "cause" property)
setup() {
// this.orm = useService('orm');
this.state = useState({
countries: [],
})
// debugger;
// console.log(useService('orm'));
onWillStart(async () => {
console.log("Testing");
this.state.countries = await jsonrpc('/web/dataset/call_kw/res.country/search_read', {
model: 'res.country',
method: 'search_read',
args: [],
kwargs: {
limit: 10,
}
});
})
}
This is the definition of jsonrpc method
export function jsonrpc(env, rpcId, url, params, settings = {})
🤩🤩🤩😍😍😍😍😍😍😍😍😍
Thanks for the upload, been struggling for the past few days with owl, this tutorial will help.