mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[FIX] stock_available_immediately: Restore current code
Due to merge mess, we need to restore current code this way
This commit is contained in:
committed by
Víctor Martínez
parent
53b5c4542f
commit
55b72b9e0b
@@ -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
|
||||
|
||||
6
stock_available_immediately/models/__init__.py
Normal file
6
stock_available_immediately/models/__init__.py
Normal 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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user