Skip to content

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

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

anusriNPS wants to merge 1 commit into
OCA:17.0from
PyTech-SRL:17-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 - #1536 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). 🤖

1 similar comment
@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.

Same as #1646 (review)

   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 17-port-from-16-hr_employee_ppe branch from c97624a to ee483ca Compare November 24, 2026 17:16
@anusriNPS anusriNPS changed the title [FW][IMP] hr_employee_ppe: Using computed fields - #1536 [FW][IMP] hr_employee_ppe: Using computed fields Nov 24, 2026
@anusriNPS

Copy link
Copy Markdown
Author

Same as #1646 (review)

Incorporated comments from #1646

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

Code review and tried it locally, looks good 👍🏻️

@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