Conversation
astirpe
left a comment
There was a problem hiding this comment.
I agree.
Please rename also the wizard_model_view.xml file in https://github.com/OCA/maintainer-tools/tree/master/template/module/wizards
|
I don't, as when searching for files, you don't see what is (data, demo or view). Most IDEs also allow to search by file name, and the path is secondary, so I prefer the Python "explicit is better than implicit". 👎 |
Views are already in `views` folder, so I think this is redundant.
|
That would apply for any kind of file, not just views. Then, we'd have to name demo data In this gif you can see how a modern IDE such as VSCode doesn't need this Also, removing the repeated word in the file path adheres to the DRY principle. So still 👍 here.
Fixed. |
|
As said, I don't like this, so 👎 for me. Your example is very specific, as you don't have long paths for it. I don't see the final folder name as my path is longer than the view. |
|
Well, OK, that's +2-1=+1. Let's wait until other members vote. Thanks @pedrobaeza for your opinion! |
|
This PR has the |
pedrobaeza
left a comment
There was a problem hiding this comment.
Explained in previous comments
|
Another thing to take into account: inside |

Views are already in
viewsfolder, so I think this is redundant.