Migrating MassEditing to v10#598
Conversation
|
Thanks @JayVora-SerpentCS One quick quiestion. I think the button in the screen that create the action to comply with the >v8.0 usability standard due to the fact that is an "action" button and not a "link" buttton should be in the top of the screen. I know this is a silly question but I personally think we all will be more happy if we migrate to 10.0 with this little change.. Can You? or do you prefer I make a separate PR? |
|
Found a strange bug when I tried to test the functionality in Runbot URL: http://3271979-598-6ab5a8.runbot1.odoo-community.org/ Mass editing window after selecting 2 partners (ASUSTeK/Test1 & ASUSTeK/Test2) |
|
@JayVora-SerpentCS, thanks for maintaining this module. Please follow full 10.0 migration guide: https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-10.0#tasks-to-do-in-the-migration and take care about the comments. You also need to bring the latest changes of the 9.0 branch. For example 65a1579. This is done with https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-10.0#technical-method-to-migrate-a-module-from-90-to-100-branch |
|
@pedrobaeza how to bring 65a1579? |
|
Do: |
|
The missing commits are still not brought and there's a comment unattended. |
|
Agreed, working on them soon. |
|
Hi @JayVora-SerpentCS any updates for this ? is ready to merge ? @pedrobaeza |
|
Cherrypicked Pedro's commit. now working on the other 2 comments. |
|
@nhomar covered. |
|
Tested on runbot and working ok 👍 |
|
There is no report to reproduce the bug mentioned by @atchuthan, IMO this is ready to merge. |
There was a problem hiding this comment.
Hi! Great work! I just made a PR on your branch to add setuptools. Otherwise 👍
JayVora-SerpentCS#1
|
Squashing and merging. Thanks for the work. |
3f25741 to
f073f72
Compare
|
@JayVora-SerpentCS, I'm missing these two important pieces for improving the module that has been done in v8: Can you please adapt the code for this version? |
f073f72 to
755c793
Compare
|
Processed. |
atchuthan
left a comment
There was a problem hiding this comment.
@JayVora-SerpentCS
Sorry for the late follow-up. I couldn't reproduce the error in latest runbot. So, 👍 my vote
e9e7df1 to
d600eb7
Compare
|
Code review 👍 |
6c7e240 to
35e0e85
Compare
As commented by @StefanRijnhart, this is no longer needed after 4442424: > This hack in the model's search method allowed for a domain containing a stringified list of ids. It has been obsolete since 4442424, and can safely be removed (i.e. remove the whole file). Closes OCA#638.
7adaac3 to
6c00dc2
Compare
|
@pedrobaeza You are a nice teacher along with Google! I learned well now the cherry-picking. Earlier commits were squashed and hence it would reflect we ate them, which we actually did not. |
|
@JayVora-SerpentCS I get the error when trying to create a Mass Editing record as usual and trying to add the fields. I have just tested on local right now, same error raises. Aren't you getting the error? Maybe it is my fault but I think it is worth that you test it at least functionally in a moment to test whether it pops for you or not. Really appreciate the effort, thanks! |
|
Will check definitely soon and fix if such happens. |
|
@aheficent @lreficent True that, made sure no loop hole stays now, edited the domain and fixed. |
|
|
||
| @api.model | ||
| def search(self, args, offset=0, limit=0, order=None, count=False): | ||
| print args |
There was a problem hiding this comment.
I guess this is here for debugging and you will remove it. Also, this is causing travis to fail.
The runbot is working now. Thanks.
There was a problem hiding this comment.
For sure, thanks, managed. Had pushed in a hurry :)
LoisRForgeFlow
left a comment
There was a problem hiding this comment.
Works fine now. Thank you!
|
@JayVora-SerpentCS, if you want to avoid the forgotten print and pylint/flake8 errors locally, you can install the GIT pre-commit we prepare in MQT: https://github.com/OCA/maintainer-quality-tools/tree/master/git |
|
@pedrobaeza I am using pycharm with pep8 and pyflakes extension already. |
pedrobaeza
left a comment
There was a problem hiding this comment.
Well, finally the history is still no clean (as the other commits don't contain diff), but I don't want to block more time, so I finally squash.
Syncing from upstream OCA/server-tools (13.0)









No description provided.