mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
9 lines
286 B
Python
9 lines
286 B
Python
# -*- coding: utf-8 -*-
|
|
# Copyright 2015-2017 ACSONE SA/NV (<http://acsone.eu>)
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
|
|
|
|
def post_init_hook(cr, registry):
|
|
cr.execute("""update purchase_order_line
|
|
set product_purchase_qty = product_qty""")
|