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

[13.0][MIG] sale_order_type #1025

Merged
merged 42 commits into from Apr 6, 2020
Merged

Conversation

kongrattapong
Copy link
Contributor

@kongrattapong kongrattapong commented Dec 19, 2019

Ready to review

@oca-clabot
Copy link

Hey @kongrattapong, thank you for your Pull Request.

It looks like some users haven't signed our Contributor License Agreement, yet.
You can read and sign our full Contributor License Agreement here: http://odoo-community.org/page/cla
Here is a list of the users:

Appreciation of efforts,
OCA CLAbot

@kongrattapong kongrattapong changed the title 13.0 mig sale order type [13.0][MIG] sale_order_type Dec 19, 2019
@pedrobaeza pedrobaeza added this to the 13.0 milestone Dec 19, 2019
Copy link
Contributor

@marylla marylla left a comment

Choose a reason for hiding this comment

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

Hi there,
I made a functional review. I could create a new sale order type with a different sequence, payment term, shipping policy, and so on.
Quotations were created according to the chosen type. So, LGTM. :)

Copy link
Sponsor Contributor

@rousseldenis rousseldenis left a comment

Choose a reason for hiding this comment

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

Code review

sale_order_type/models/sale.py Outdated Show resolved Hide resolved
Copy link
Sponsor Contributor

@rousseldenis rousseldenis left a comment

Choose a reason for hiding this comment

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

Code review

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@sergio-teruel
Copy link
Contributor

This module contains more than one module (sale_order_line_description)
@kongrattapong Can you do the PR only with sale_order_type module?
ping @rousseldenis

@dreispt
Copy link
Sponsor Member

dreispt commented Mar 10, 2020

/ocabot merge

@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 13.0-ocabot-merge-pr-1025-by-dreispt-bump-no, awaiting test results.

OCA-git-bot added a commit that referenced this pull request Mar 10, 2020
Signed-off-by dreispt
@pedrobaeza
Copy link
Member

Aborting because there are changes of other modules.

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.

Remove the changes in sale_order_line_description module.

@pedrobaeza
Copy link
Member

@dreispt please always check the full thread, not only the approvals. Some people thinks that putting request changes is very hard and only comment in the thread, but this is not correct to be merged as is.

@kongrattapong kongrattapong force-pushed the 13.0-mig-sale_order_type branch 4 times, most recently from b90b67b to 09c93d1 Compare March 20, 2020 07:14
@kongrattapong
Copy link
Contributor Author

This module contains more than one module (sale_order_line_description)
@kongrattapong Can you do the PR only with sale_order_type module?
ping @rousseldenis

Thank for review I Removed.

oca-transbot and others added 20 commits April 6, 2020 12:10
[UPD] Update sale_order_type.pot
The other one is a fake one that is dangling
If a contact doesn't have sale type, we use the commercial partner one.
Currently translated at 100.0% (31 of 31 strings)

Translation: sale-workflow-11.0/sale-workflow-11.0-sale_order_type
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-11-0/sale-workflow-11-0-sale_order_type/es/
Currently translated at 100.0% (31 of 31 strings)

Translation: sale-workflow-12.0/sale-workflow-12.0-sale_order_type
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-12-0/sale-workflow-12-0-sale_order_type/zh_CN/
Currently translated at 83.9% (26 of 31 strings)

Translation: sale-workflow-12.0/sale-workflow-12.0-sale_order_type
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-12-0/sale-workflow-12-0-sale_order_type/it/
In the original onchange method by odoo, this return an dict with values(warnings and domians), but when inherit this method in this module they not return this dict. Because of this the alert setting in the partner was no working.
* Switch onchange on the main field to computed writable fields
* Record rule is not up to v13
* Added migration script for record rule
* Proper payment term field name in invoice
* Realign tests
@pedrobaeza
Copy link
Member

/ocabot merge

@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 13.0-ocabot-merge-pr-1025-by-pedrobaeza-bump-no, awaiting test results.

OCA-git-bot added a commit that referenced this pull request Apr 6, 2020
Signed-off-by pedrobaeza
@OCA-git-bot
Copy link
Contributor

@pedrobaeza your merge command was aborted due to failed check(s), which you can inspect on this commit of 13.0-ocabot-merge-pr-1025-by-pedrobaeza-bump-no.

After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red.

@pedrobaeza
Copy link
Member

Let's merge it manually as it's not possible to use bot.

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