[18.0][MIG] sale_stock_analytic: Migration to 18.0 - #818
Conversation
|
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. |
|
@jdidderen Can you update code again please? Functional Test 👍 |
Currently translated at 100.0% (4 of 4 strings) Translation: account-analytic-14.0/account-analytic-14.0-sale_stock_analytic Translate-URL: https://translation.odoo-community.org/projects/account-analytic-14-0/account-analytic-14-0-sale_stock_analytic/it/
0c420ed to
8bc5700
Compare
It's rebased |
rjaraspearhead
left a comment
There was a problem hiding this comment.
Thanks for your help, it looks good to me. The only change I would suggest is using BaseCommon to optimize the tests.
8bc5700 to
37ca642
Compare
I made the requested changes. Thanks for the review 👍 |
BhaveshHeliconia
left a comment
There was a problem hiding this comment.
No need to create a res.partner record when using BaseCommon, as it is already provided by the base class.
37ca642 to
e5a9f90
Compare
Thanks for the review. I have updated the code 🙏 |
|
@BhaveshHeliconia Hi! Your help reviewing this module, please. |
| "analytic_distribution": dict( | ||
| {str(cls.env.ref("analytic.analytic_agrolait").id): 100.0} | ||
| ), |
There was a problem hiding this comment.
| "analytic_distribution": dict( | |
| {str(cls.env.ref("analytic.analytic_agrolait").id): 100.0} | |
| ), | |
| "analytic_distribution": {cls.env.ref("analytic.analytic_agrolait").id: 100.0}, |
There was a problem hiding this comment.
Could you modify this? It’s a bit easier to understand this way.
|
@jdidderen Took a look at your migration and I have 2 suggestions for you.
|
Based on #617