payload: {"push_id":3810191960,"size":3,"distinct_size":3,"ref":"refs/heads/master-cancel-mo-svs","head":"5d07c4be288452e1f13fb1e7af37d50247cfebbd","before":"330ef8c534f37f77ac79d17e12f44aef812338bf","commits":[{"sha":"5f8d92d74fe3f128638d474d15d1fdcc6e0da970","author":{"name":"svs-odoo","email":"c79d5b18b5b49bb3c0fb6106115147eafb802216@odoo.com"},"message":"[IMP] mrp: can cancel MO in more cases\n\nManufacturing Order can now be cancelled even if some move lines or Work\nOrders are done (in this case, a wizard ask confirmation to the user).\n\nTask #1969034\n\nCo-authored-by: Arnold Moyaux <arm@odoo.com>","distinct":true,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/5f8d92d74fe3f128638d474d15d1fdcc6e0da970"},{"sha":"f60ee9d7224746dae96fb223324e241c9f84001a","author":{"name":"Arnold Moyaux","email":"ed945d6b996ff45657c9dc7772143a932c322b66@odoo.com"},"message":"[FIX] mrp: log activity on parent MO\n\nUsecase:\n- Set table top as manufacture and MTO\n- Create a MO for table(MTO)\n- Confirm the MO\n- Cancel the MO\n\nThe activity with the exception is not logged on the child MO\n\nIt happens because the _get_upstream_documents_and_responsible for move\nlinked to a MO is based on the created_production_id field. However it\nis only set on the move that created the move_finished_ids for the new\nMO. In the case of a MO that directly create a child MO the chain is:\n\nMO -> move_raw_ids -> move_finished_ids -> MO2\nThe log_activity on cancel is based on the move_raw_ids and their\nmove_orig_ids in the previous case it's the move_finished_ids for MO2.\nHowever the move_finished_ids for MO2 is directly link to the child MO\nand the created_production_id is set on the move_raw_ids for MO parent.\n\nCompare to PO, we could directly base the parent document on production_id\nsince the move_finished_ids are directly created.","distinct":true,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/f60ee9d7224746dae96fb223324e241c9f84001a"},{"sha":"5d07c4be288452e1f13fb1e7af37d50247cfebbd","author":{"name":"svs-odoo","email":"c79d5b18b5b49bb3c0fb6106115147eafb802216@odoo.com"},"message":"[IMP] mrp: can delete active MO\n\nBefore this commit, you can delete only canceled MO.\nNow, if you want to delete a non-canceled MO, it will try to cancel it\nthen to unlink it.\n\nTask #1969034","distinct":true,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/5d07c4be288452e1f13fb1e7af37d50247cfebbd"}]}
other: {"actor":{"display_login":"svs-odoo"}}