Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get the existing xml_id? #37

Open
hilshaph opened this issue Aug 28, 2023 · 1 comment
Open

How to get the existing xml_id? #37

hilshaph opened this issue Aug 28, 2023 · 1 comment

Comments

@hilshaph
Copy link

How can we get the country id,state_id,parent_id which is already exist in the DB?

@martinsalcedoapps
Copy link

Yes. Must export:

  • res.country
  • res.country.state
  • parent_id is the same res.partner If you are exporting res.partner
  • the xml_id is the table ir.model.data but it contains all the xml_id of entire DB, must specify de filter clause to have the desired rows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants