Skip to content

[ADD][10.0] account_asset migration script - #839

Merged
pedrobaeza merged 1 commit into
OCA:10.0from
Tecnativa:10-mig-account_asset
May 25, 2017
Merged

[ADD][10.0] account_asset migration script#839
pedrobaeza merged 1 commit into
OCA:10.0from
Tecnativa:10-mig-account_asset

Conversation

@cubells

@cubells cubells commented May 23, 2017

Copy link
Copy Markdown
Member

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is env now by default and you have to use env.cr then

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you prefer to use use_env=False or to use use_env=True?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer the standard (which is use_env=True)

@cubells
cubells force-pushed the 10-mig-account_asset branch 2 times, most recently from 5db1d49 to 5f29496 Compare May 23, 2017 10:58
@cubells
cubells force-pushed the 10-mig-account_asset branch from 5f29496 to a68801f Compare May 23, 2017 11:19
}


@openupgrade.migrate(use_env=True)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to put use_env=True, as it's the default in v10, but it's not so important.

@pedrobaeza
pedrobaeza merged commit 9f7dff8 into OCA:10.0 May 25, 2017
@pedrobaeza
pedrobaeza deleted the 10-mig-account_asset branch May 25, 2017 00:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants