Merge PR #780 into 17.0

Signed-off-by pedrobaeza
This commit is contained in:
OCA-git-bot
2025-01-16 16:11:07 +00:00

View File

@@ -115,7 +115,7 @@ export class ReconcileController extends KanbanController {
resId = record.resId;
}
if (this.state.selectedRecordId && this.state.selectedRecordId !== resId) {
if (this.form_controller.model.root.isDirty) {
if (this.form_controller && this.form_controller.model.root.isDirty) {
await this.form_controller.model.root.save({
noReload: true,
stayInEdition: true,