Skip to Content
Menu
This question has been flagged
683 Views

I am using v14 and have installed these apps: sale_management, account, website, stock, account_accountant, purchase, website_sale, mass_mailing, mail and contacts. 


Is there a way to know where a model is referenced in other models? Take for instance the product.product and/or product.template. If I go to Settings > Technical > Database Structure > Fields I can create these filters: 


  1. Relation Field contains "product" and it lists 14 all being Field Type = one2many. 

  2. Related Field contains "product" and it lists 158 Field Type being: 

    1. binary = 1

    2. boolean = 14

    3. char = 14

    4. float = 7

    5. html = 4

    6. integer = 10

    7. many2many = 11

    8. many2one = 58

    9. one2many = 6

    10. selection = 21

    11. text = 12

  3. Related Model is equal to "product.product" or Related Model is equal to "product.template" and it lists 89 Field Type being: 

    1. many2many = 14

    2. many2one = 73

    3. one2many = 2

But most important, what I want to do is figure out what modules do have the reference to product.product and/or product.template and know if there are any records in those related models. 


Avatar
Discard