gpt4 book ai didi

python - Security.xml 中的数据 noupdate ="0"& "1"

转载 作者:行者123 更新时间:2023-11-28 22:55:54 25 4
gpt4 key购买 nike

请解释下列语句的意思并说明它们之间的区别。我浏览了论坛帖子,但没有从中得到清晰的想法,文档也没有提到这些东西。

我从 sale_security.xml 文件中得到以下代码

<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data noupdate="0">

<data noupdate="1">

最佳答案

<data noupdate="1">表示此文件仅在初始时间加载,表示仅在第一次安装时 --init=module , 之后这个文件永远不会加载和更新

<data noupdate="0">意味着当您从 --update=module 开始时,每次更新文件时都会加载和更新此文件

关于python - Security.xml 中的数据 noupdate ="0"& "1",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16233695/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com