michaelrsweet/mxml

Element '<form string="Market" inherit="sale.view_order_form">' cannot be located in parent view View error context: {'file': 'c:\\users\\modih\\pycharmprojects\\newproject\\odoo\\custom_addons\\mahmoud_market\\views\\market_view.xml', 'line': 2, 'name': 'mahmoud_market.form', 'view': ir.ui.view(1836,), 'view.model': 'sale.order', 'view.parent': ir.ui.view(1272,), 'xmlid': 'market_view'}

mahmoud-homsi opened this issue · 1 comments

mahmoud_market.form sale.order

from odoo import fields, models

class Market(models.Model):
_inherit = 'sale.order'
header = fields.Char(string='Header')

{
'name': "Mahmoud market",

'summary': """market Software""",

'description': """
    
    market
""",

'author': "My Company",
'website': "http://www..youncompany.com",

'category': 'Tools',
'version': '16.0.1.0.1',
'depends': ['base', 'contacts', 'hr', 'account', 'sale'],

'data': [
    'security/ir.model.access.csv',
    'views/market_view.xml'
],

'demo': [

],

'images': ['static/description/icon.png'],
'installation': True,
'application': True,
'auto_install': False

}

can someone help

Sorry, but this is not related to the Mini-XML library at all...