3 Commits

Author SHA1 Message Date
Pierre Verkest
25b1669289 FIX stock_move_common_dest: calling _compute_common_dest_move_ids on new record 2023-09-12 15:16:22 +02:00
Guewen Baconnier
b737eb6868 Fix warning in stock_move_common_dest
In this module: https://github.com/OCA/stock-logistics-warehouse/pull/808
A computed field uses "common_dest_move_ids" as dependency:

    @api.depends(
        "picking_type_id.display_completion_info",
        "move_lines.common_dest_move_ids.state",
    )
    def _compute_completion_info(self):

Which has the following effect when the ORM triggers changes:

odoo.osv.expression: Non-stored field stock.move.common_dest_move_ids cannot be searched.

Implement a search method to prevent this.
2021-01-06 14:39:01 +01:00
Akim Juillerat
08ecdf0165 Add module stock_move_common_dest 2021-01-06 14:39:01 +01:00