Skip to content

Commit

Permalink
Merge pull request #50 from gisce/imp_set_mode_to_update_in_load_data
Browse files Browse the repository at this point in the history
Cambiar modo por defecto de la función "load_data" a "update"
  • Loading branch information
davidmunoznovoa authored Aug 8, 2024
2 parents 0886e5d + 1ba4d37 commit d6ad6eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oopgrade/oopgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def delete_record(cursor, module_name, record_names):
)


def load_data(cr, module_name, filename, idref=None, mode='init'):
def load_data(cr, module_name, filename, idref=None, mode='update'):
"""
Load an xml or csv data file from your post script. The usual case for this is the
occurrence of newly added essential or useful data in the module that is
Expand Down

0 comments on commit d6ad6eb

Please sign in to comment.