Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migration of sale_payment_method #35

Merged
merged 18 commits into from Apr 7, 2015

Conversation

guewen
Copy link
Member

@guewen guewen commented Feb 13, 2015

Supersedes #33

Continues migration of sale_payment_method.
The things that were common to sale_payment_method and sale_automatic_workflow are now in #34

@coveralls
Copy link

Coverage Status

Coverage decreased (-27.02%) to 61.35% when pulling 96c4260 on guewen:8.0-sale_payment_method-migr into 41af5c7 on OCA:8.0.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage decreased (-27.02%) to 61.35% when pulling 96c4260 on guewen:8.0-sale_payment_method-migr into 41af5c7 on OCA:8.0.

@guewen guewen force-pushed the 8.0-sale_payment_method-migr branch from 96c4260 to 0f7996b Compare February 13, 2015 13:26
@coveralls
Copy link

Coverage Status

Coverage decreased (-27.02%) to 61.35% when pulling c7614d3 on guewen:8.0-sale_payment_method-migr into 41af5c7 on OCA:8.0.

journal_id = fields.Many2one(
comodel_name='account.journal',
string='Journal',
help="If a journal a selected, when a payment is recorded "
Copy link
Member

Choose a reason for hiding this comment

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

s/a selected/is selected/

Copy link
Member Author

Choose a reason for hiding this comment

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

fevxie and others added 13 commits March 5, 2015 21:57
Name is required, use named arguments.
The page automation_information is now created in sale_automatic_workflow the
field will be moved in this tab when the other module is installed (with a link
module)
Keep the original method with a deprecation warning to help people eventually
inheriting this method to not lose their minds when migrating their code.
@guewen guewen force-pushed the 8.0-sale_payment_method-migr branch from de680f4 to dfcb129 Compare March 5, 2015 20:58
@guewen guewen changed the title [WIP] migration of sale_payment_method migration of sale_payment_method Mar 11, 2015
@gurneyalex
Copy link
Member

code looks ok. Having automated tests would be nice, but this will get exercised by the magento connector tests presumably.

👍

The computed field was used to hide the button 'View Automatic Payment' when
the sales order has at least one payment. It is now using only a condition on
payment_ids, thanks to @hbrunn for the correct definition: [('payment_ids', '=', [[6, False, []]])]
@pedrobaeza
Copy link
Member

@guewen, please rename the method mentioned above and I'll merge this to continue with the migration plan.

@guewen
Copy link
Member Author

guewen commented Apr 7, 2015

@guewen, please rename the method mentioned above and I'll merge this to continue with the migration plan.

That's done already: guewen@dfcb129

@pedrobaeza
Copy link
Member

I didn't see the deprecation trick.

I merge then.

pedrobaeza added a commit that referenced this pull request Apr 7, 2015
@pedrobaeza pedrobaeza merged commit a383158 into OCA:8.0 Apr 7, 2015
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.

None yet

7 participants