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][REF+IMP] mrp_attachment_mgmt: Cleanup + button in production orders #1007

Merged
merged 2 commits into from
Mar 30, 2023

Conversation

pedrobaeza
Copy link
Member

  • [REF] mrp_attachment_mgmt: Avoid code duplication for attachment view

    • Put the method on product, and call it from all the places.
    • Remove excessive method fragmentation w/o gain.
    • Replace action read by proper _for_xml_id call.
  • [IMP] Add smart-button to production orders

@Tecnativa

@pedrobaeza pedrobaeza added this to the 14.0 milestone Mar 27, 2023
@OCA-git-bot
Copy link
Contributor

Hi @victoralmau,
some modules you are maintaining are being modified, check this out!

@pedrobaeza pedrobaeza changed the title [14.0] [REF+IMP] mrp_attachment_mgmt: Cleanup + button in production orders [14.0][REF+IMP] mrp_attachment_mgmt: Cleanup + button in production orders Mar 27, 2023
@pedrobaeza pedrobaeza force-pushed the 14.0-mrp_attachment_mgmt-production branch from f9c24c9 to 0fd8db8 Compare March 27, 2023 11:54
- Put the method on product, and call it from all the places.
- Remove excessive method fragmentation w/o gain.
- Replace action read by proper `_for_xml_id` call.
@pedrobaeza pedrobaeza force-pushed the 14.0-mrp_attachment_mgmt-production branch from 0fd8db8 to 42f59d3 Compare March 27, 2023 14:44
Copy link
Member

@chienandalu chienandalu left a comment

Choose a reason for hiding this comment

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

Code and functional review 👍

@pedrobaeza
Copy link
Member Author

/ocabot merge minor

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 14.0-ocabot-merge-pr-1007-by-pedrobaeza-bump-minor, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 838c41d into OCA:14.0 Mar 30, 2023
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 8dca420. 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.

None yet

4 participants