Skip to content

[9.0][ADD] point_of_sale: Add script for migrate from v8 - #694

Merged
pedrobaeza merged 1 commit into
OCA:9.0from
Tecnativa:9.0-PR-MIG-point_of_sale
Jan 3, 2017
Merged

[9.0][ADD] point_of_sale: Add script for migrate from v8#694
pedrobaeza merged 1 commit into
OCA:9.0from
Tecnativa:9.0-PR-MIG-point_of_sale

Conversation

@sergio-teruel

Copy link
Copy Markdown

Description of the issue/feature this PR addresses:
Migration script for Point_of_sale

--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

@sergio-teruel
sergio-teruel force-pushed the 9.0-PR-MIG-point_of_sale branch from 70d6d3b to bf9ee29 Compare December 9, 2016 22:44

@hbrunn hbrunn left a comment

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.

a few nags, but fine overall

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.

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 exactly the case I have commented about old pool variables we need in OCA/openupgradelib#65

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.

all of this could be a lot more efficient with a select...into statement, but given we don't expect a lot of pos configs, we don't really care I guess

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.

As the operations are a bit complicated, we prefer to keep it as is, as the result SQL would be very difficult to read and maintain.

@hbrunn hbrunn added this to the 9.0 milestone Dec 26, 2016
@pedrobaeza
pedrobaeza force-pushed the 9.0-PR-MIG-point_of_sale branch from f4929eb to 58c1215 Compare December 27, 2016 18:33
@pedrobaeza
pedrobaeza force-pushed the 9.0-PR-MIG-point_of_sale branch from 58c1215 to 3b58d84 Compare December 27, 2016 18:52
@pedrobaeza

Copy link
Copy Markdown
Member

Comments fixed or replied, @hbrunn

@pedrobaeza

Copy link
Copy Markdown
Member

@hbrunn, any objection on merging this?

@hbrunn

hbrunn commented Jan 3, 2017

Copy link
Copy Markdown
Member

no, go ahead

@pedrobaeza
pedrobaeza merged commit 2e33bc1 into OCA:9.0 Jan 3, 2017
@pedrobaeza
pedrobaeza deleted the 9.0-PR-MIG-point_of_sale branch January 3, 2017 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants