diff --git a/addons/mrp/static/src/widgets/timer.js b/addons/mrp/static/src/widgets/timer.js index a17b409d4d7..7c39c65dec1 100644 --- a/addons/mrp/static/src/widgets/timer.js +++ b/addons/mrp/static/src/widgets/timer.js @@ -43,7 +43,7 @@ export class MrpTimer extends Component { : this.props.record.data.is_user_working; onWillStart(async () => { - if(this.props.ongoing === undefined && this.props.record.data.state == "progress") { + if(this.props.ongoing === undefined && !this.props.record.model.useSampleModel && this.props.record.data.state == "progress") { const additionalDuration = await this.orm.call('mrp.workorder', 'get_working_duration', [this.props.record.resId]); this.state.duration += additionalDuration; }