michaelrsweet / mxml

Tiny XML library.
https://www.msweet.org/mxml
Apache License 2.0
426 stars 157 forks source link

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'} #304

Closed mahmoud-homsi closed 11 months ago

mahmoud-homsi commented 11 months ago
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

michaelrsweet commented 11 months ago

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