Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] purchase: update reference onchange of purchase_id
Commit 1be873d removed the modification of the reference field from the _onchange_origin. The reasoning was that since this is an onchange on invoice_line_ids, it was applied too often, which annoyed users in the case they overwrote that field. However when using the "Autocomplete" field (purchase_id), then the user expects values to by modified. Before, it worked by setting the origin field, which trickled down to the reference. Since that commit removed this, we re-add it explicitly in that case. opw 1962364 closes #32656 Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
- Loading branch information