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

[FIX] duplicate-xml-fields: Support security xml style #35

Merged
merged 1 commit into from
Jun 1, 2016

Conversation

moylop260
Copy link
Collaborator

The old sentence field.values()[0] returns the first item from field xml sentence in most cases it works well.

But if we have a style different like as <field eval="1" name="perm_read"/> we should process the second one.

Then I change to field.attrib.get('name') sentence to avoid future problem with styles.

Detected from: https://travis-ci.org/OCA/server-tools/jobs/132336867#L423

@moylop260
Copy link
Collaborator Author

@lescobarvx Could you give me your feedback?

@moylop260 moylop260 force-pushed the master-vx-fix-duplicated-xml branch from 6c418ac to cd9bc7a Compare May 23, 2016 19:33
@coveralls
Copy link

coveralls commented May 23, 2016

Coverage Status

Coverage remained the same at 100.0% when pulling cd9bc7a on vauxoo-dev:master-vx-fix-duplicated-xml into 0cbd023 on OCA:master.

@moylop260
Copy link
Collaborator Author

ping
FYI this is a fix for a current bug

@dreispt
Copy link
Sponsor Member

dreispt commented May 30, 2016

👍

1 similar comment
@luiseevaquer
Copy link

👍

@moylop260
Copy link
Collaborator Author

@pedrobaeza
Help to merge, please

@pedrobaeza
Copy link
Member

👍

@pedrobaeza pedrobaeza merged commit afd2557 into OCA:master Jun 1, 2016
@luisg123v luisg123v deleted the master-vx-fix-duplicated-xml branch August 6, 2020 02:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants