Skip to content

[FW][IMP] hr_employee_ppe: Using computed fields - #1646

Open
anusriNPS wants to merge 1 commit into
OCA:18.0from
PyTech-SRL:18-port-from-16-hr_employee_ppe
Open

anusriNPS wants to merge 1 commit into
OCA:18.0from
PyTech-SRL:18-port-from-16-hr_employee_ppe

Conversation

@anusriNPS

@anusriNPS anusriNPS commented Nov 3, 2026 •

Copy link
Copy Markdown

FW Port from 16.0 - #1536

Using computed fields for "is_ppe", "expire_ppe"
and "indications" instead of computing these fields based on product change from UI.

@OCA-git-bot

Copy link
Copy Markdown
Contributor

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

@anusriNPS anusriNPS changed the title [FW][IMP] hr_employee_ppe: Port from 16.0 [FW][IMP] hr_employee_ppe: Using computed fields Nov 4, 2026

@HekkiMelody HekkiMelody 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.

Code review, LGTM

@marcelsavegnago marcelsavegnago left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

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

@SirPyTech SirPyTech 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.

Thanks for porting this change, please let me know what you think about the readonly thread below.

   Using compute fields for "is_ppe", "expire_ppe"
and "indications" instead of updating these fields
based on product change alone from UI. Computed
fields are used with store=True to make them
searchable.
@anusriNPS
anusriNPS force-pushed the 18-port-from-16-hr_employee_ppe branch from 59f492f to c9c51f6 Compare November 24, 2026 17:07
@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). 🤖

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