Skip to content

Commit 071b72f

Browse files
committed
Fix environment variable name for db password. Extend action documentation with chunk and truncate.
1 parent a8d829f commit 071b72f

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

docs/configuration.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ database. Actions are defined using a name and a dictionary in the `actions` sec
8787
domain: .. Search domain to specify specific records. Default is []
8888
values: .. Dictionary to define the new value of each field. Required.
8989
references: .. Dictionary of unique identifiers to XML references of Odoo
90+
chunk: .. Update or delete is done in chunks of given size. Default is 0 (no chunks).
91+
truncate: .. The delete action uses truncate .. cascade on the table instead.
9092
```
9193

9294
Values can be defined in multiple ways: directly or as a dictionary. Depending on the

docs/environment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
- BOOTSTRAP_MODE .. Environment mode
44
- BOOTSTRAP_DEBUGGER .. Specify the debugger to use
55
- Possible options: debugpy, dev (Odoo dev_mode)
6-
- PGPASSWORD .. Required. Postgres password of the database user.
6+
- DB_PASSWORD .. Required. Postgres password of the database user.
77
- DB_VERSION .. Postgres version to use. If not set `latest`
88
- ODOO_VERSION .. Odoo version to use with the format `x.0`
99
- ODOO\_\* .. Odoo configuration variables. See `odoo.default.yaml`

0 commit comments

Comments
 (0)