[FIX] stock_available_immediately: Restore current code

Due to merge mess, we need to restore current code this way
This commit is contained in:
Pedro M. Baeza
2020-03-19 17:35:57 +01:00
committed by Víctor Martínez
parent 53b5c4542f
commit 55b72b9e0b
4 changed files with 8 additions and 3 deletions

View File

@@ -3,4 +3,4 @@
# Copyright 2019 Sergio Díaz <sergiodm.1989@gmail.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from . import product_product
from . import models

View File

@@ -0,0 +1,6 @@
# Copyright 2014 Camptocamp, Akretion, Numérigraphe
# Copyright 2016 Sodexis
# Copyright 2019 Sergio Díaz <sergiodm.1989@gmail.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from . import product_product

View File

@@ -6,8 +6,7 @@
from odoo import api, models
class Product(models.Model):
"""Subtract incoming qty from immediately_usable_qty"""
class ProductProduct(models.Model):
_inherit = 'product.product'
@api.multi