Skip to content

Commit

Permalink
Merge pull request OCA#3 from antiflu/8.0-mrp-antiflu
Browse files Browse the repository at this point in the history
Resolves the following critical error in post-migrate.py,
  • Loading branch information
pedrobaeza committed Mar 11, 2015
2 parents 092173a + 99b6e43 commit 9c4a8cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/mrp/migrations/8.0.1.1/post-migrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def migrate_bom_lines(cr, pool):
"""
INSERT INTO mrp_bom_line_mrp_property_rel
(mrp_bom_line_id, mrp_property_id)
VALUES(%s, bom_rel.mrp_property_id)
SELECT %s, bom_rel.mrp_property_id
FROM mrp_bom_mrp_property_rel bom_rel
WHERE bom_rel.mrp_bom_id = %s
""", (bom_line_id, row['id']))
Expand Down

0 comments on commit 9c4a8cb

Please sign in to comment.