Conversation
0150b98 to
9376b49
Compare
24791f3 to
2d9260a
Compare
|
there's already a PR here #430 |
If you want to move on w/ this PR you must migrate |
How on Earth did I miss that? Sorry, my bad. |
Well now this is an interesting situation. In 14.0 The reason being this: queue/test_base_import_async/tests/test_base_import_async.py Lines 43 to 64 in a06c426 There are no such account.journal or account.account records to be found in account module nor in the whole 14.0 codebase. That's why I skipped an attempt to migrate this into 15.0
@simahawk any idea what's going on here? |
|
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
|
@simahawk would you please re-open this one? One day I'll get to migrate that test case module as well and this one is working. Thank you. |
|
@simahawk @OCA/core-maintainers Could you reopen this ? Thanks |
|
Hi @simahawk @gurneyalex recently merged migration of this module to v16.0(#523 ) that was based on this PR and #485 now closed due inactivity, without migration of test_base_import_async. Is this requirement noi longer needed? how can we proceed so there is no module version gap? FYI @dzungtran89 |
|
@BT-jcolmeiro thanks for the ping. It seems I missed a bunch of notifications. since a while.. Sorry guys 🙏 I'd say we can move on here by starting from scratch from #485 (just reset hard on that branch) to preserve the same history that we have in 16.0.
Regarding the test module: That's weird. In fact I don't see the tests of that module running on 14.0. WTH? For the short term: as this work is pending since quite some time I'd move on w/o test module, especially IF you had the chance to test it in real life and can honestly say "It's fully working". For the long term, I would consider getting rid of the module and rewrite the tests w/o dependency on account and test the export in the base module by using a base model or a custom one (w/ odoo-test-helper) . To be added to the ROADMAP and maybe w/ a GH issue to not forget about that. My $0.02. @sbidoul as you are the author of the test module: WDYT? |
|
@simahawk / @hbrunn / @rousseldenis can you maybe reopen this one? If the 16.0 version got accepted without the test module, maybe we can finish this one as well. Will have a look at the test module and see if I'm able to re-create it as part of this one. |
|
it is still open |
I must be going blind ;-) |
|
Functional review: It works as expected in my local env. |
kanda999
left a comment
There was a problem hiding this comment.
I have confirmed that this module works and imports excel files with queue every 100 recoerds. 16.0 version is also merged without testing so I approve this.
In the long term, tests should be added to keep the quality the code in good condition.
I am building sort of a ETL for migrating/importing lots of data into Odoo 15. Asynchronous import is part of the big picture. To my big surprise I found out the modules are present in 15.0 branch but not installable and not working at all. As I need this functionality right now I have attempted to fix this module and improve it a little bit.
The changes include:
execute_importinstead ofdo) to even make it workDidn't bother with
test_base_import_asyncas that's broken in a different way: it relies on account data not being present in vanilla installation since version 13.0 I guess (account journals with codes CABA, 121000, 400000).