-
-
Notifications
You must be signed in to change notification settings - Fork 707
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][IMP] update analyst file #4042
Conversation
@legalsylvain I regenerate analyst files here, if you have time please take a look. |
@@ -9,6 +9,7 @@ hr / hr.contract.type / sequence (integer) : NEW | |||
hr / hr.department / master_department_id (many2one): NEW relation: hr.department, isfunction: function, stored | |||
hr / hr.department / parent_path (char) : NEW | |||
hr / hr.department / plan_ids (one2many) : NEW relation: hr.plan | |||
hr / hr.employee / currency_id (many2one) : previously in module hr_timesheet |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one correct, manual checked
@@ -101,7 +101,7 @@ account / account.chart.template / complete_tax_set (boolean) : DEL | |||
account / account.chart.template / use_storno_accounting (boolean): NEW hasdefault: default | |||
account / account.journal / default_account_type (many2one): relation is now 'False' ('account.account.type') [nothing to do] | |||
account / account.journal / default_account_type (many2one): type is now 'char' ('many2one') | |||
account / account.journal / payment_sequence (boolean) : NEW hasdefault: default | |||
account / account.journal / payment_sequence (boolean) : NEW hasdefault: compute |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one correct too, manual checked
The red CI i have a PR fix here OCA/openupgradelib#335 |
---Models in module 'gift_card'--- | ||
obsolete model gift.card | ||
obsolete model gift.card (renamed to loyalty.card in module loyalty) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one too XD
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @duong77476 Thanks a lot for taking the time to update the files.
-
what a huge diff ! What a stable release ;-) !
-
a blocking point inline. Could you take a look ?
@@ -4,6 +4,9 @@ event_booth_sale / event.booth / price (float) : is | |||
event_booth_sale / event.type.booth / price (float) : is now stored | |||
event_booth_sale / product.template / detailed_type (False) : selection_keys is now '['consu', 'course', 'event', 'event_booth', 'product', 'service']' ('['consu', 'event', 'event_booth', 'gift', 'product', 'service']') | |||
---XML records in module 'event_booth_sale'--- | |||
event.booth.category: event_booth.event_booth_category_premium (noupdate) (noupdate switched) | |||
event.booth.category: event_booth.event_booth_category_standard (noupdate) (noupdate switched) | |||
event.booth.category: event_booth.event_booth_category_vip (noupdate) (noupdate switched) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see no changes between :
https://github.com/odoo/odoo/blob/15.0/addons/event_booth_sale/data/event_booth_category_data.xml
https://github.com/odoo/odoo/blob/16.0/addons/event_booth_sale/data/event_booth_category_data.xml
(last changes done sept 2021, in both cases)
Are you sure you use head version for version 15 and version 16 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are correct, i don't know why it has that, I use the head version only lack a few commit but i don't thing that is a problem :(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hum. That's annoying. did you used a fresh DB also ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, i did, brand new DB. I just found a commit that they have changed to noupdate
in orignal data, see https://github.com/odoo/odoo/commit/67b149fc3a8dffea37de59c9579d552c559b11f7
but it shouldn't be like this right, maybe i'll delete it anyway :(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
delete what ? commit ?
And Something I don't understand : the two links I mentionned said that the last commit was in 2021. But your commit odoo/odoo@67b149f has been done in 2022. totally lost.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No i mean delete those 3 lines
OK. Well, I'd like to understand why there 3 false positive are here. Otherwise, we have a risk to add other false positive. we really have to make sure that these analysis files are correct. that's what the developers work on.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok i understood, let's rerun again and see what happen, thank for spending your time to have a look .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just make not sure i did not skip any step, i follow step by step in this link https://oca.github.io/OpenUpgrade/analyse.html , what possibly i can miss here :((
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The problem here is that this data is only adding more values to the existing record that was defined in the module event_booth
:
and in that definition, the record is noupdate.
This is then a problem of the upgrade_analysis
module. I'm going to check if I can fix it, although the expert here is @MiquelRForgeFlow
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems this query has not been executed in 15.0:
I got my session kicked out though when finished (not sure if this is normal or not), and maybe this side effect it's because one of the flushes overwrites these values. @StefanRijnhart @hbrunn you may know what is happening here.
I'm going to execute manually the code and perform the analysis in that condition.
50d03eb
to
bd2b613
Compare
@legalsylvain Done, i think there is something wrong this code in As when i install all Odoo SA modules, then |
Unfortunately, I'm not expert of that module @duong77476. @StefanRijnhart Do you have some time to take a look on that topic ? |
bd2b613
to
8edef2d
Compare
8edef2d
to
6217a9f
Compare
Propose to merge this PR to use the latest analysis files. |
I let @MiquelRForgeFlow to check, that is the expert on this. |
My issue is: many PRs have already been done, and once this is merged, I don't know if the people who made those PRs will update the analysis work file correspondingly. |
Yes, i do aware of that issue, i just want to work latest update file especially with my recent PR related to |
this issue is valid. however, if we wait, the problem will be bigger. |
I will review and check the changes when I have a bit of free time.
Unfortunately, yes. |
On #4180 I have solved the problems found here, so superseding this one. Thanks for starting the update. |
Regenerate analyst because some of them are oudated (eg: analytic)