Skip to content

Commit ae77d8b

Browse files
committed
Merge PR OCA#780 into 17.0
Signed-off-by pedrobaeza
2 parents 688969c + 998ca0e commit ae77d8b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

account_reconcile_oca/static/src/js/reconcile/reconcile_controller.esm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export class ReconcileController extends KanbanController {
115115
resId = record.resId;
116116
}
117117
if (this.state.selectedRecordId && this.state.selectedRecordId !== resId) {
118-
if (this.form_controller.model.root.isDirty) {
118+
if (this.form_controller && this.form_controller.model.root.isDirty) {
119119
await this.form_controller.model.root.save({
120120
noReload: true,
121121
stayInEdition: true,

0 commit comments

Comments
 (0)