Sorry if there is a simple answer to this but i have looked and can not find what i am looking for,
im using odoo 13
I have inherited the sales module and added fields i require adding, the new module i created is under a new name and i can select it from the menu in this name.
But all the new fields i have created are also pressent and shown on the sales module which i do not want.
What my aim was is to inherite the sales module, add fileds to the inherited module and leave the sales module as it was.
What am i doing wrong please?
<py>
# -*- coding: utf-8 -*-
from odoo import models, fields
class OrderTracking(models.Model):
_inherit = 'sale.order'
</py>
<xml>
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- inherit the view from sale order -->
<record id="saleOrderInherit" model="ir.ui.view">
<field name="name">sale.order.inherit</field>
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale.view_order_form"/>
<field name="arch" type="xml">
</xml>