init 15 demo

This commit is contained in:
ivan deng
2021-11-11 19:59:33 +08:00
parent f642e8c93e
commit 90507ba3cd
77 changed files with 5167 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
import logging
from odoo import api, fields, models, _
_logger = logging.getLogger(__name__)
class Location(models.Model):
_inherit = "stock.location"
complete_name = fields.Char("Full Location Name", compute='_compute_complete_name', store=True, translate=True)