跳至内容
菜单
此问题已终结
6 回复
17424 查看

I have referred the below Github link to understand the OWL 

https://github.com/odoo/owl
https://odoo.github.io/owl/playground/

Are there any more websites or blogs available to learn the Odoo web part of OWL for V14 ?

Are there any sample modules are available in community to learn in depth ?



形象
丢弃
最佳答案

Hi, I'm very interested in OWL so I wrote a series of tutorials about using OWL as a standalone JS Library in a modern JS project:

And this article, is focused on OWL inside Odoo 14:

形象
丢弃
最佳答案

Hi,

You can refer the following blogs too.

1.Introduction to OWL Framework

https://www.cybrosys.com/blog/introduction-to-odoo-owl-framework

2.Hooks in OWL Framework

https://www.cybrosys.com/blog/hooks-in-odoo-owl-framework

3.We have published the video regarding the technical webinar of Odoo Owl  JavaScript Framework.

https://www.youtube.com/watch?v=dki4s_akje0

Regards
形象
丢弃
最佳答案

A good resource will be to listen to the main author of the OWL framework during Odoo Experience 2020. The talk will be online and you can register for free.

https://www.odoo.com/event/odoo-experience-2020-2020-09-30-2020-10-01-2622/track/owl-the-new-odoo-ui-framework-3845

形象
丢弃
编写者

Thanks for the link I have registered the same

最佳答案

Please refer: https://www.oocademy.com/v14.0/tutorial/introduction-to-owl-87#-Adding-our-first-component


形象
丢弃
编写者

Thanks !

最佳答案

Hi,

As of now there is no more links other than what you have added in the question to learn about the new OWL. If you want to see how the coding changed, i have seen some commits stating refactoring mail and pos module using the new OWL, you can check those commits and get idea about it.

Commits will be in the odoo master branch: https://github.com/odoo/odoo/commits/master

A Video on the same: Odoo Web Library - Access OWL Framework PlayGround Online

Thanks

形象
丢弃
编写者

@Niyas specially I want to know how to add the custom widget or inherit the existing widget into my JS file.

and also how work with JS file when we call the ORM method using OWL JS in V14

@Dasadiya Chaitanya,

for existing Widget Inherit/Override you can take reference from the below V14 EE module.

- /sale_product_configurator/static/src/js/*

create a New Widget in ODOO14, you need to create atleast 4 file as given example

i.e. Controller, model, renderer, view.

- /sale_timesheet/static/src/js/sale_project_kanban_controller.js

- /sale_renting/static/src/js/rental_configurator_controller.js

- /sale_renting/static/src/js/rental_configurator_widget.js

- /sale_renting/static/src/js/rental_qty_at_date_widget.js

https://www.fatalerrors.org/a/odoo14-odoo-web-library-owl.html

if this helpful then convert it into an answer so others can reach this answer quickly and get help if needed.

Thanks & Regards,

Sunny Sheth

最佳答案

Hi,

We are launched first ever tutorial regarding OWL framework.

About the OWL Introduction and Overview.

https://www.youtube.com/watch?v=hg1S1uKywQg

Odoo OWL official documentation

https://github.com/odoo/owl

Thanks

形象
丢弃
相关帖文 回复 查看 活动
1
7月 25
2401
2
7月 25
7889
2
7月 25
4295
2
7月 25
4033
2
6月 25
2650