odoo13 template 覆盖

在某些情况,我们需要覆盖某一个template,方法1:例如Amoulues的Atemplate__manifest__.py 添加依赖'depends': ['Amoulues'],对应的view 新的template注意不能存在inherit_id,这样就可以覆盖模板了方法2:<template id="your template id" name="

- 阅读全文 -

linux ssh免密登录

以下操作均采用root账号客户端:ssh-keygen -m PEM -t rsa -b 4096 -C "ssh" 一路回车确认,即可,如果提示已存在,也可以用现有的 在~/.ssh 目录下会生成文件 id_rsa.pub和id_rsa id_rsa 密钥,连接服务器时使用 id_rsa.pub 公钥,要放在服务器上的服务器: 将id_rsa.pub复制到~/.ssh cat id

- 阅读全文 -

vagrant up 挂载文件夹失败

在部署homestead时提示Vagrant was unable to mount VirtualBox shared folders. This is usually because the filesystem "vboxsf" is not available. This filesystem is made available via the VirtualBox G

- 阅读全文 -

homestead vagrant up 报VERR_ALREADY_EXISTS

今天在部署homestead时发现vagrant up 报错The name of your virtual machine couldn't be set because VirtualBox is reporting another VM with that name already exists. Most of the time, this is because of an error w

- 阅读全文 -