update_invoice
Update draft invoices or bills: modify header fields and replace all line items. Posted documents are rejected; use a reversal or credit note instead.
Instructions
Update a draft invoice/bill's header fields and/or replace its lines entirely. Odoo will reject this once the move is posted -- use a reversal/credit note for posted documents instead.
lines, if given, REPLACES all existing lines (same line-dict shape
as create_invoice's lines argument).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | ||
| values | No | ||
| move_id | Yes |