crax OWL Portal本质 Port是owl的重要功能, 目的是用于子组件不在父组件子dom节点的情况, 但又希望消息等能按扭组件的层级进行传递, 如对话框等, 对话框一般都是挂在body上,但写的时候又是某个特定组件的子组件。 这个组件有个好处, 就是可以将内容非常方便的放置在任何地方。废话少说,上代码。 class Portal extends Component { constructor (p... Aug 11, 2022 OWL
crax Funenc Json Template Widget 源码下载 此组件主要用于显示一些自定义内容,通过json值传递模板,最终通过模板显示内容,代码比较简单,但非常实用,当然,也可以在这个模块基础上扩展出更多功能,扫描下方二维码加微信群免费下载,此群定期分享各种原创odoo资源模块。... Aug 11, 2022 Funenc Odoo Team
crax odoo owl use protal 本质 Port是owl的重要功能, 目的是用于子组件不在父组件子dom节点的情况, 但又希望消息等能按扭组件的层级进行传递, 如对话框等, 对话框一般都是挂在body上,但写的时候又是某个特定组件的子组件。 这个组件有个好处, 就是可以将内容非常方便的放置在任何地方。废话少说,上代码。 class Portal extends Component { constructor (p... Aug 10, 2022 Funenc Odoo Team
crax useSubEnv 本质 很多术语从表面上看起来非常深奥, 解释起来可能也会非常麻烦,但往往从代码上可以很简单的洞悉其本质。 先看这个函数的实现 function useSubEnv (nextEnv) { const component = Component . current ; component . env = Object . assign ( Object . cre... Dec 20, 2021 OWL
crax ActionAdapter Action Adapter is a base class for clientAdapther and viewAdapter, it support some common fuction. like set the state of the action, direct the messages to service, call widgetdetach call back etc. no... Dec 16, 2021 Odoo Web
crax Moduledidi libray analyse Thie module descript three type of it's content, there has tree type, type, fatory and value /** * @ typedef {import('./types').FactoryDeclaration} FactoryDeclaration * @ typedef {import... Dec 11, 2021 Odoo Web
crax Annonation Didi is a import lib for diagram js, it is heavy used. so we need to understand it. this is the annotate function. it is used to put the params to the function or bind the params to fuction on the ... diagramjs didi Dec 10, 2021 Our blog
crax Odoo Model setup First we add a break point at the _setup_base, from the stack, we can see, it call the run of server and new a registry, when start a registry, it load modules and setup the models, so we can set... Dec 8, 2021 Products
crax Update feilds of exits model step1 click the add field button to add a feild step2 click the sync button modeler will sync the code to local file... Dec 6, 2021 Products
crax Sync Model To Local files It is simple to do this, just click the sync tool button of the model.... Dec 6, 2021 Products
crax Dowload a whole project Step1 It is simple to do this, click the download porject menu item. Step2 Choose the save dir The modeler will download the project to the folder you choose.... Dec 6, 2021 Our blog
crax Sync from local project Some times we change the code from local, and we want to sync it to modeler. at this time, just click the sync to project menu item, this function will sync local information to modeler.... Dec 6, 2021 Our blog