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

[14.0][BPRT] edi_sale_oca: Backport from v16.0 #1023

Merged
merged 30 commits into from
Nov 14, 2024

Conversation

thienvh332
Copy link
Contributor

@thienvh332 thienvh332 commented Aug 12, 2024

Description:

  • Backports the edi_sale_oca module to the 14.0 branch.

Context:

  • This backport ensures compatibility with older versions of Odoo while taking advantage of refactoring performed during the migration to version 14.0.

Changes:

  • Backported the edi_sale_oca module from version 16.0 to 14.0.

simahawk and others added 30 commits July 19, 2024 15:46
Lines w/ no qty must not be excluded a priori
…env_ctx

The configurations here are values for the wizard and whatever we need
@thienvh332 thienvh332 marked this pull request as ready for review August 12, 2024 07:45

@classmethod
def _setup_order(cls, **kw):
cls.product_a = cls.env.ref("product.product_product_4")
Copy link
Member

@mmequignon mmequignon Oct 31, 2024

Choose a reason for hiding this comment

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

Please, create products instead of using odoo demo ones, we want to have control about their configuration.
It also help with understanding during reviews, no one can guess what's their sale_delay for instance, without having to check odoo demo data.

Copy link
Contributor

Choose a reason for hiding this comment

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

We can do this in a 2nd iteration


@classmethod
def _setup_order(cls, **kw):
cls.product_a = cls.env.ref("product.product_product_4")
Copy link
Contributor

Choose a reason for hiding this comment

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

We can do this in a 2nd iteration

@simahawk
Copy link
Contributor

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 14.0-ocabot-merge-pr-1023-by-simahawk-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 5e459c0 into OCA:14.0 Nov 14, 2024
6 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

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

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.

5 participants