Commit e2f3b32
committed
[FIX] stock_declared_value: move_line.product_uom → product_uom_id (v19 compat)
In v19 the field stock.move.line.product_uom was renamed to product_uom_id.
Four accesses in stock_declared_value/models/stock_picking.py still used the
old name on move_line recordsets (stock.move.line), causing AttributeError
when the _compute_declared_value method runs.
Note: move_line.product_uom_qty (a distinct Float field) was NOT renamed —
it keeps the same name in v19 and is left untouched.1 parent 18d5ab9 commit e2f3b32
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
| 46 | + | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
0 commit comments