Skip to content

[18.0][ADD] maintenance_equipment_availability - #565

Draft
smorita7749 wants to merge 1 commit into
OCA:18.0from
qrtl:18.0-add-maintenance-equipment-availability
Draft

[18.0][ADD] maintenance_equipment_availability#565
smorita7749 wants to merge 1 commit into
OCA:18.0from
qrtl:18.0-add-maintenance-equipment-availability

Conversation

@smorita7749

@smorita7749 smorita7749 commented Jun 9, 2026

Copy link
Copy Markdown

This module adds a pass/fail maintenance result to maintenance requests and computes equipment availability from the latest completed maintenance request with a result.

@qrtl QT6788

@OCA-git-bot OCA-git-bot added series:18.0 mod:maintenance_equipment_availability Module maintenance_equipment_availability labels Jun 9, 2026
@smorita7749
smorita7749 marked this pull request as draft June 9, 2026 03:27
@smorita7749
smorita7749 marked this pull request as ready for review June 9, 2026 03:39

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

Partial Review

],
compute="_compute_availability",
store=True,
readonly=True,

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
readonly=True,

comodel_name="maintenance.request",
compute="_compute_availability",
store=True,
readonly=True,

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
readonly=True,

latest_maintenance_result_date = fields.Date(
compute="_compute_availability",
store=True,
readonly=True,

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
readonly=True,

@smorita7749
smorita7749 marked this pull request as draft August 5, 2026 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:maintenance_equipment_availability Module maintenance_equipment_availability series:18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants