Commit Graph

5 Commits

Author SHA1 Message Date
hda
a03ce5cf86 [MIG] stock_move_common_dest: Migration to 16.0 2022-12-02 11:53:45 +01:00
hparfr
866d32e1e5 stock_move_common_dest: !fixup flush before SELECT 2022-11-30 17:10:12 +01:00
hparfr
965b93e12f stock_move_common_dest: !fixup use FALSE_DOMAIN 2022-11-30 17:10:12 +01:00
Guewen Baconnier
eb592618ce 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.
2022-11-30 17:10:12 +01:00
Akim Juillerat
dd1a1b8110 Add module stock_move_common_dest 2022-11-30 17:10:12 +01:00