odoo清理空Postgresql数据云服务操作

数据清理模块在清理官方标准模块数据的时候的心应收,但是在清理自己写的模块时很多数据没法顺利的清理。直接进入odoo云服务器进入到postgresql清理。

     The data cleaning module should be careful when cleaning official standard module data, but when cleaning modules written by oneself, many data cannot be cleaned smoothly. Directly enter the Odoo cloud server and go to PostgreSQL for cleaning.

    Before manually cleaning odoo data, first confirm that the data can be cleaned. It is recommended to first use the data cleaning module on apps to clean the remaining residual data, and then proceed with manual cleaning.

The data cleaning preparation work is as follows:

1. Log in to the odoo server via a link or open the terminal in the current season to execute commands;

2. Connect to pg database: #sudo su - postgres Switch to the postgres user;

3、再postgres用户下执行:#psql -d  <数据库名称>   即可链接到制定数据库上;

4. After connecting to the PostgreSQL database, execute the SQL statement command: Delete from <database table name>

关于我们

​我们致力于帮助中小企业实现数字化转型,我们的团队由一群充满激情和创新思维的专业人士组成,他们具备丰富的行业经验和技术专长。

扫一扫获取顾问以及手册

归档
登录 留下评论
odoo常用方法汇总:odoo14方法mapped()和search()如何使用
odoo常用方法