Skip to content

[16.0][IMP] purchase_security: add is_restricted option#2003

Open
AungKoKoLin1997 wants to merge 1 commit intoOCA:16.0from
qrtl:16.0-imp-purchase_security
Open

[16.0][IMP] purchase_security: add is_restricted option#2003
AungKoKoLin1997 wants to merge 1 commit intoOCA:16.0from
qrtl:16.0-imp-purchase_security

Conversation

@AungKoKoLin1997
Copy link
Copy Markdown
Contributor

This PR adapts the functionality of this PR #1866 to purchase_security.

@qrtl

@OCA-git-bot
Copy link
Copy Markdown
Contributor

Hi @pilarvargas-tecnativa,
some modules you are maintaining are being modified, check this out!

@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 16.0-imp-purchase_security branch from d11d759 to 9af85d5 Compare September 15, 2023 04:25
@yostashiro
Copy link
Copy Markdown
Member

@AungKoKoLin1997 Do you think it's really a good idea to combine the modules into one? I fail to see the point of doing so as the use cases are independent from each other, IMO.

@AungKoKoLin1997
Copy link
Copy Markdown
Contributor Author

Do you think it's really a good idea to combine the modules into one? I fail to see the point of doing so as the use cases are independent from each other, IMO.

My rationale for adding the is_restricted feature directly to the purchase_security module is rooted in its inherent security nature. Given that both functionalities revolve around enhancing security, it felt more streamlined and intuitive to consolidate them under one module. This way, users can access all related security features without the need to manage multiple modules.

@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 16.0-imp-purchase_security branch from 9af85d5 to 3867b85 Compare September 21, 2023 05:05
@pedrobaeza pedrobaeza added this to the 16.0 milestone Sep 21, 2023
@pedrobaeza
Copy link
Copy Markdown
Member

I suggested also to join both in the same module, for 2 reasons:

  • Technically, for avoiding incompatibilities between them.
  • Functionally, for the reasons stated by @AungKoKoLin1997.

@AungKoKoLin1997
Copy link
Copy Markdown
Contributor Author

@pedrobaeza I have a concern. Is it a good design choice to keep all security functionalities related to purchase in the purchase_security module? If new purchase security features are proposed to OCA later, the module might become larger and harder to maintain. I believe each functionality should have its own separate module, but we also need to consider compatibility issues. I am not sure if excluding modules in CI for each purchase security-related concern is the best approach. What's your opinion?

@pedrobaeza
Copy link
Copy Markdown
Member

Doing the exclusion thing in the CI is a total pain, increasing the build time, not knowing when weird things like POT generation starting to fail, so I don't like it.

For now, there's no other features planned for the security, so let's keep it together. If tomorrow another feature arises, then the discussion opens it again to split or not.

@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 16.0-imp-purchase_security branch from 3867b85 to eb5d91f Compare December 1, 2023 06:57
@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 16.0-imp-purchase_security branch from eb5d91f to 87bcba5 Compare February 7, 2024 09:37
@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 16.0-imp-purchase_security branch 7 times, most recently from fcdc541 to 99c7fbf Compare March 6, 2024 08:57
@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 16.0-imp-purchase_security branch from 99c7fbf to fc16f80 Compare June 10, 2024 09:46
@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 16.0-imp-purchase_security branch from fc16f80 to 6190aed Compare August 19, 2024 07:08
Copy link
Copy Markdown
Member

@HviorForgeFlow HviorForgeFlow left a comment

Choose a reason for hiding this comment

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

What do you want to do with this PR? @AungKoKoLin1997

Comment thread pandoc-3.1.8-1-amd64.deb Outdated
@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 16.0-imp-purchase_security branch from 6190aed to faea1c3 Compare March 13, 2025 04:43
@AungKoKoLin1997
Copy link
Copy Markdown
Contributor Author

@HviorForgeFlow Can you please review this PR?

@github-actions
Copy link
Copy Markdown

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions Bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Jul 13, 2025
@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 16.0-imp-purchase_security branch from faea1c3 to 323a6eb Compare July 14, 2025 02:20
@github-actions github-actions Bot removed the stale PR/Issue without recent activity, it'll be soon closed automatically. label Jul 20, 2025
@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 16.0-imp-purchase_security branch from 323a6eb to 3d211da Compare November 18, 2025 07:16
@HviorForgeFlow HviorForgeFlow self-requested a review February 2, 2026 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants