shopinvader / odoo-shopinvader

Odoo Modules. Sorry Magento, Shopinvader is coming
GNU Affero General Public License v3.0
121 stars 105 forks source link

[16.0][IMP] shopinvader_api_sale_loyalty: do not update rewards when reading a sale #1543

Open QuocDuong1306 opened 6 months ago

QuocDuong1306 commented 6 months ago

The issue:

Context:

Improvements:

simahawk commented 6 months ago
  • Would it be a good addition to add a new POST route in the module to explicitly call sale.order:_update_programs_and_rewards()?

I think so. Yet, if you install sale_loyalty_auto_refresh this won't be needed AFAIU. If yes, we should simply mention this in the readme.

QuocDuong1306 commented 6 months ago

I updated the PR

cyrilmanuel commented 5 months ago

@QuocDuong1306 can you make the modification ?

QuocDuong1306 commented 5 months ago

This PR has been updated including changes in this PR @simahawk @cyrilmanuel

shopinvader-git-bot commented 4 months ago

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). 🤖

shopinvader-git-bot commented 4 months ago

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). 🤖

sebastienbeau commented 2 months ago

/ocabot merge patch

sebastienbeau commented 2 months ago

/ocabot merge patch

shopinvader-git-bot commented 1 month ago

On my way to merge this fine PR! Prepared branch 16.0-ocabot-merge-pr-1543-by-sebastienbeau-bump-patch, awaiting test results.

shopinvader-git-bot commented 1 month ago

Hey, thanks for contributing! Proceeding to merge this for you. Prepared branch 16.0-ocabot-merge-pr-1543-by-sebastienbeau-bump-patch, awaiting test results.

shopinvader-git-bot commented 1 month ago

@sebastienbeau your merge command was aborted due to failed check(s), which you can inspect on this commit of 16.0-ocabot-merge-pr-1543-by-sebastienbeau-bump-patch.

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.