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

[16.0] [MIG] sale_order_line_date #2341

Merged
merged 52 commits into from
Jun 28, 2023

Conversation

Kev-Roche
Copy link
Contributor

No description provided.

AaronHForgeFlow and others added 30 commits January 17, 2023 12:55
[FIX] Update readme to latest template
Currently translated at 100.0% (3 of 3 strings)

Translation: sale-workflow-11.0/sale-workflow-11.0-sale_order_line_date
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-11-0/sale-workflow-11-0-sale_order_line_date/de/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: sale-workflow-12.0/sale-workflow-12.0-sale_order_line_date
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-12-0/sale-workflow-12-0-sale_order_line_date/
Currently translated at 100.0% (3 of 3 strings)

Translation: sale-workflow-12.0/sale-workflow-12.0-sale_order_line_date
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-12-0/sale-workflow-12-0-sale_order_line_date/pt_BR/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: sale-workflow-13.0/sale-workflow-13.0-sale_order_line_date
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-13-0/sale-workflow-13-0-sale_order_line_date/
Currently translated at 100.0% (4 of 4 strings)

Translation: sale-workflow-13.0/sale-workflow-13.0-sale_order_line_date
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-13-0/sale-workflow-13-0-sale_order_line_date/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: sale-workflow-13.0/sale-workflow-13.0-sale_order_line_date
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-13-0/sale-workflow-13-0-sale_order_line_date/
allowing users to hide the column from the tree
@Kev-Roche Kev-Roche force-pushed the 16.0-mig-sale_order_line_date branch from 030d2fb to fef0d25 Compare April 11, 2023 12:31
@hugo-cordoba
Copy link
Contributor

Hi @Kev-Roche, could you check the tests that are failing?

Regards!

Copy link

@BT-anieto BT-anieto left a comment

Choose a reason for hiding this comment

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

Hi! Thx for your contribution. Just a comment. Could you check why the tests are not passing? Thank you :)

from odoo.tests.common import SavepointCase


class TestSaleOrderLineDates(SavepointCase):

Choose a reason for hiding this comment

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

SavepointCase is deprecated. You should use TransactionCase

Copy link
Sponsor Contributor

Choose a reason for hiding this comment

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

cls.sale2, product_id, qty, price, cls.dt1
)

def _create_sale_order(self, customer, date):

Choose a reason for hiding this comment

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

The tests are failing because you are using now this function inside setUpCls. Then, please add this function the @classmethod decorator and change self by cls. Same with the _create_sale_order_line method
image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@BT-anieto thank you, I fixed it

@CasVissers-360ERP
Copy link

We have #2421 #2432 #2341 for the same module, which one is going to be used? I suggest #2341

Copy link

@CasVissers-360ERP CasVissers-360ERP left a comment

Choose a reason for hiding this comment

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

Functional review

@Kev-Roche Kev-Roche force-pushed the 16.0-mig-sale_order_line_date branch 3 times, most recently from df9c3a8 to b9b067d Compare April 26, 2023 07:21
Copy link
Contributor

@hugo-cordoba hugo-cordoba left a comment

Choose a reason for hiding this comment

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

LGTM (code review)

@ferran-S73
Copy link
Contributor

Aside from the TransactionCase change LGTM

@Kev-Roche Kev-Roche force-pushed the 16.0-mig-sale_order_line_date branch from b9b067d to 64d03e7 Compare June 14, 2023 13:24
@Kev-Roche
Copy link
Contributor Author

Aside from the TransactionCase change LGTM

Indeed,I fix it.

@ferran-S73
Copy link
Contributor

ferran-S73 commented Jun 14, 2023

Also it'd be nice if you could apply this commit 007ecba that was recently merged in v14

@Kev-Roche
Copy link
Contributor Author

Also it'd be nice if you could apply this commit 007ecba that was recently merged in v14

@ferran-S73 also done.

@bosd
Copy link
Contributor

bosd commented Jun 22, 2023

@rousseldenis Kindly check this one...
Seems your changes are incorporated.. Can you re-review?

@rousseldenis
Copy link
Sponsor Contributor

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 16.0-ocabot-merge-pr-2341-by-rousseldenis-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit b3a8852 into OCA:16.0 Jun 28, 2023
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 560733c. Thanks a lot for contributing to OCA. ❤️

@rafaelbn
Copy link
Member

rafaelbn commented Aug 7, 2023

/ocabot migration sale_order_line_date

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.