When reloading a page, the _actualize_mode is called before the record is loaded and the form is displayed partially in edit mode (o2m fields with delete/add icons).
This patch forces to trigger a load_record when the datarecord has not been loaded yet in the do_show merthod (opw 607910)
this.$el.add(this.$buttons).removeClass('oe_form_dirty');
var shown = this.has_been_loaded;
- if (options.reload !== false) {
+ if (options.reload !== false || !this.datarecord.id) {
shown = shown.then(function() {
if (self.dataset.index === null) {
// null index means we should start a new record