[REF] Separate python objects in new files

This commit is contained in:
Renato
2019-08-04 20:07:24 -03:00
parent b762af222d
commit 4437afb7d5
5 changed files with 94 additions and 45 deletions

View File

@@ -0,0 +1,13 @@
# © 2015-2016 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
class ProductSupplierinfo(models.Model):
_inherit = 'product.supplierinfo'
name = fields.Many2one(
domain=[('supplier', '=', True), ('parent_id', '=', False)])