Skip to content

[18.0][IMP] base_tier_validation: default comment approve - #1298

Open
Saran440 wants to merge 1 commit into
OCA:18.0from
ecosoft-odoo:18.0-imp-base_tier_validation-default_approve_comment
Open

[18.0][IMP] base_tier_validation: default comment approve#1298
Saran440 wants to merge 1 commit into
OCA:18.0from
ecosoft-odoo:18.0-imp-base_tier_validation-default_approve_comment

Conversation

@Saran440

@Saran440 Saran440 commented Jun 1, 2026

Copy link
Copy Markdown
Member

Currently, comments are required for both approval and rejection.

From a business perspective, rejection should usually include a reason, but approval often does not. By allowing a default approval comment, users can approve requests without entering a comment manually each time.

This PR adds config a default approval comment, which is automatically filled in the approval wizard.

Screenshot 2026-06-01 104619 Screenshot 2026-06-01 104657

@OCA-git-bot

Copy link
Copy Markdown
Contributor

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

@OCA-git-bot OCA-git-bot added series:18.0 mod:base_tier_validation Module base_tier_validation labels Jun 1, 2026

@hitrosol hitrosol left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM

@Pani-k-folk Pani-k-folk left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

TEST 👍
CODE LGTM 👍

@OCA-git-bot

Copy link
Copy Markdown
Contributor

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

@BhaveshHeliconia BhaveshHeliconia left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM!

@Saran440

Copy link
Copy Markdown
Member Author

@LoisRForgeFlow Hi, this PR has already been approved. Could you please share your thoughts on this change?

Comment on lines +97 to +99
comment_approve_default = fields.Char(
string="Approve Comment",
)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can you add a help message so it is clear what this new field do? The name is too generic and can be misleading for users seeing it for the first time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:base_tier_validation Module base_tier_validation series:18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants