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

RFC: Add basic Odoo resource xml checker #91

Closed
wants to merge 1 commit into from
Closed

RFC: Add basic Odoo resource xml checker #91

wants to merge 1 commit into from

Conversation

plaes
Copy link

@plaes plaes commented Aug 5, 2014

This script compares module resource xml files against data in Odoo
database and prints out various diagnostics.

Currently only supports ir_actions_act_window data objects.

@plaes
Copy link
Author

plaes commented Aug 5, 2014

Fixed the pep8 issues and push-forced.

This script compares module resource xml files against data in Odoo
database and prints out various diagnostics.
@plaes plaes mentioned this pull request Aug 15, 2014
@StefanRijnhart
Copy link
Member

Hi @plaes, thanks! Can you tell me what problem is solved by this (you mention 'broken xml stuff' in #84, but what do you mean by this?)?

@plaes
Copy link
Author

plaes commented Sep 23, 2014

@StefanRijnhart, this was a helper utility that helped me to find some broken data (and figure out how odoo itself works) in the ir_actions_act_window objects - things that caused errors after upgrade. One example is this: onesteinbv@ac321bd

The domain issue has since been fixed upstream:

@StefanRijnhart
Copy link
Member

OK, I see. Looks like you could have used the existing scripts/compare_noupdate_xml_records.py to compare the records. Your use case is one of the reasons that it was developed. You use it to compare xml data from two versions of the same module and it prints a file that you can load in your migration script. It also lists updates to noupdate xml entries.

@legalsylvain legalsylvain added this to the 8.0 milestone Oct 21, 2014
christophlsa pushed a commit to blooparksystems/OpenUpgrade that referenced this pull request Dec 11, 2014
RFC: Add basic Odoo resource xml checker
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

Successfully merging this pull request may close these issues.

None yet

3 participants