[MIG] product_usability to v14

This commit is contained in:
Alexis de Lattre
2020-12-02 00:23:27 +01:00
parent f3782cfa2b
commit e505e7e07f
17 changed files with 139 additions and 307 deletions

View File

@@ -1,13 +1,12 @@
# © 2015-2016 Akretion (http://www.akretion.com)
# Copyright 2015-2020 Akretion (http://www.akretion.com)
# @author Alexis de Lattre <alexis.delattre@akretion.com>
# @author Raphaël Valyi <rvalyi@akretion.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import models, fields
from odoo import fields, models
class ProductSupplierinfo(models.Model):
_inherit = 'product.supplierinfo'
name = fields.Many2one(
domain=[('supplier', '=', True), ('parent_id', '=', False)])
name = fields.Many2one(domain=[('parent_id', '=', False)])