-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
[16.0][MIG] edi_oca #5
Conversation
Any progress? Anybody has a local runboat setup and can debug it? |
@simahawk I am on this again and found out that there is something wrong on edi_exchange_consumer_mixin There was an override for the method fields_view_get, since it is deprecated for Odoo 16.0 I tried to rewrite it for the method view_get Unfortunatly, the result is not as expected. You can check this for example when using edi_purchase_oca, too and then open a purchase.order form view (all fields are visible) Maybe this is what is breaking the tests on runbot? In case @etobella was the author of the fields_view_get implementation, maybe he can help? Thank you! |
@john-herholz-dt It was something I implemented. There is a similar approach on base_tier_validation. You can check how they solved it here: https://github.com/OCA/server-ux/blob/16.0/base_tier_validation/models/tier_validation.py#L466-L517 |
620389e
to
257b708
Compare
I've found out that the tests classes that were causing infinite hanging were the ones using ComponentRegistryCase. @john-herholz-dt I'll keep only this PR opened. I cleaned up and squashed your commits, added a few more (some to be backported). Plus, I don't want to merge this till OCA/edi#797 is integrated (BTW a review there would be welcomed 😉) |
I saw you were working on it yesterday. I also had the RegistryCase as the cause of the timeout in mind, but didn't have time to work on it. Great you could solve it!!! I am open to help contributing (maybe with the GS-1 Standard implementation?) |
I will have a look at OCA/edi#797 this weekend. The comment above here is also me by the way - just my private account - so don't be confused. |
This is basically ready, right? I have another PR in a different repo and my test case fails on runboat but succeeds locally - I am struggling to find the proplem there, too. Thanks. |
Not yet, I have to port OCA/edi#797 |
Fwd ported everything from v14 and made module unistallable here #16 |
Having the same name for different classes prevents selection of specific test cases when running single test suites.
2553b45
to
3c464a2
Compare
Cleaned up all commits, cleaned up all TODOs for migrations, including rename the disable_edi_auto column. |
0440235
to
0636f75
Compare
@john-herholz-dt can you please do some testing if/when you have time? |
I have tested it today on an existing EDI setup with my old migration of the edi_oca module. EDIT: |
@john-herholz-dt thaaaank you very much for you review/test. Much appreciated! In fact, we'd need this kind of help on PRs more often 😉 |
Hi @simahawk, |
I have seen the error above with edi_config also a couple of times. |
@OriolMForgeFlow @john-herholz-dt can you provide me a little bit more ctx? AFAIK nothing has changed on the edi_config field. The error above is not really clear. In any case, if you don't mind, I would like to merge this as many PRs are piling up waiting for it. |
Hi @simahawk small fix here for this PR: camptocamp#1 this aside, this PR worked fine on our side 👍 |
I'll check for the tests, has been fixed on 14.0 already but I'd like to improve the fix |
TypeError: not all arguments converted during string formatting
AccessError core messages were modified
I've just spotted the pre-migrate script was misplaced inside migrations folder 😓 |
Nice you are working on it again! Looking forward to having the migration done, hopefully soon! |
/ocabot merge nobump |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at f41e5a7. Thanks a lot for contributing to OCA. ❤️ |
Trying to understand what's wrong on #1 w/ testsReplaces #1
Requires