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

[12.0][MIG] website_sale_checkout_country_vat #286

Merged

Conversation

Tardo
Copy link
Member

@Tardo Tardo commented May 13, 2019

Normal migration... Odoo 12.0 doesn't have "vat" as required field.

sergio-teruel and others added 6 commits May 13, 2019 16:52
Replace settings with sane defaults. Update VAT flag when address country is updated.
Migrated to v9, with corresponding changes.

Add repo dependency.

Fixes in README.
If you leave country field empty before pressing the confirm button at checkout, you were getting a 500 error because `country_id` was `""` (str), which cannot be searched in an int field.

Now we set a default `False` value, which will return an empty recordset without that problem.
@Tardo Tardo force-pushed the 12.0-mig-website_sale_checkout_country_vat branch from 0aa8544 to eb2681d Compare May 13, 2019 16:09
@Tardo
Copy link
Member Author

Tardo commented May 13, 2019

Runbot fails because missing dependencies.... (are in other repo and not merged into 12.0)

@pedrobaeza pedrobaeza added this to the 12.0 milestone May 13, 2019
Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

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

Trying on runbot, I find these problems:

  • When not logged in, pressing "Sign up and checkout" leads to 404 page
  • When logged in by other means, if I edit the address, I get 500: Internal Server Error.

@pedrobaeza
Copy link
Member

About Travis tests, can be due to this module.

@Tardo Tardo force-pushed the 12.0-mig-website_sale_checkout_country_vat branch from 24991f4 to dcc7c09 Compare May 14, 2019 08:21
@pedrobaeza
Copy link
Member

I still get 404 page when I click in "Sign up and checkout". Is it due to this module? I have been able however to see the country dropdown when editing the address once logged-in.

@Tardo Tardo force-pushed the 12.0-mig-website_sale_checkout_country_vat branch from dcc7c09 to 203e4be Compare May 16, 2019 13:46
@Tardo
Copy link
Member Author

Tardo commented May 16, 2019

Dropped oca_dependencies changes.

@Tardo Tardo force-pushed the 12.0-mig-website_sale_checkout_country_vat branch from 203e4be to 7e11ef6 Compare May 17, 2019 08:43
@Tardo
Copy link
Member Author

Tardo commented May 17, 2019

Reverted "$target" changes

@Tardo
Copy link
Member Author

Tardo commented May 17, 2019

@pedrobaeza The problem is that "website_sale_suggest_create_account" module fails on runbot... I installed it on local and works :/

@pedrobaeza
Copy link
Member

Please check with @yajo what can be the problem.

@pedrobaeza
Copy link
Member

Although I'm now seeing that this PR is green.

@pedrobaeza pedrobaeza merged commit 8ffe734 into OCA:12.0 May 17, 2019
@pedrobaeza pedrobaeza deleted the 12.0-mig-website_sale_checkout_country_vat branch May 17, 2019 11:12
@OCA-git-bot OCA-git-bot mentioned this pull request May 17, 2019
19 tasks
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

6 participants