Skip to content
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

[MIG] website_salesuggest_create_account: basic mig from v10 to v11 #225

Merged

Conversation

oscarolar
Copy link
Contributor

No description provided.

ovnicraft and others added 4 commits December 21, 2017 12:08
Example of module which requires such refactoring:

https://github.com/it-projects-llc/website-addons/tree/10.0/website_sale_checkout_store

[FIX] condition to show normal checkout button was wrong in website_sale_suggest_create_account
I was equal to

(user_authenticated or not signup_allowed and can_checkout)

while it has to be

(user_authenticated or not signup_allowed) and can_checkout
@oscarolar oscarolar force-pushed the 11.0-migrate_website_sale_suggest_create_account branch 3 times, most recently from 38596c2 to 1a5f4c6 Compare December 21, 2017 18:56
Copy link
Member

@yelizariev yelizariev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update version. The rest updated code seems ok (I didn't try on runbot)

@@ -4,11 +4,12 @@
{
"name": "Suggest to create user account when buying",
"summary": "Suggest users to create an account when buying in the website",
"version": "10.0.1.1.0",
"version": "11.0.0.0.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be 11.0.1.0.0

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment is still unattended

@oscarolar
Copy link
Contributor Author

@pedrobaeza @yelizariev all comments done.

@oscarolar
Copy link
Contributor Author

@pedrobaeza I think this is ready to review

"category": "Website",
"website": "https://www.tecnativa.com",
"author": "Tecnativa, "
"LasLabs, "
"Vauxoo, "
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes done doesn't deserve co-authorship IMO. If you would add tests...

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure what is the OCA criteria to add a co-authorship.

Could you send us the guideline about this matter, please?

Copy link
Sponsor Member

@max3903 max3903 Jan 30, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@moylop260 There is no guideline yet and today this is open to interpretation.

My opinion is:

  • Migration, bugfix, translation, documentation --> Contributors
  • Development, Refactoring, Co-development, Tests development --> Autors

Copy link
Member

@pedrobaeza pedrobaeza Jan 31, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can put in the middle migrations that require serious efforts for making it work, but this one is not clearly one. That's why I say that if you add tests, then authorship won't be discussed.

Copy link
Member

@yajo yajo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Squash migration commits to merge please

@moylop260
Copy link

@oscarolar oscarolar force-pushed the 11.0-migrate_website_sale_suggest_create_account branch from 1e02317 to a9f10ab Compare January 30, 2018 21:22
@yajo
Copy link
Member

yajo commented Jan 31, 2018

By "migration commits" I mean commits related to v10-v11 migration, not older history. Sorry, I didn't explain myself 😅

@oscarolar oscarolar force-pushed the 11.0-migrate_website_sale_suggest_create_account branch from a9f10ab to e8ae0b7 Compare January 31, 2018 15:54
@oscarolar
Copy link
Contributor Author

@yajo done

@yajo yajo merged commit 8bae115 into OCA:11.0 Feb 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants