-
-
Notifications
You must be signed in to change notification settings - Fork 479
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
[IMP]8.0 product links migr #40
Conversation
|
||
product_id = fields.Many2one( | ||
comodel_name='product.template', | ||
string='Soruce Product', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/Soruce/Source/
Thanks 👍 |
@@ -21,7 +21,7 @@ | |||
|
|||
{ | |||
'name': 'Product Links', | |||
'version': '7.0.0', | |||
'version': '8.0.0', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This version is incorrect. It should be 1.0. Odoo will add 8.0 itself at the beginning.
@fevxie Your commits are not properly linked to you github account either you didn't configured git with an email or you need to add your email on your github account |
Hi @yvaucher, thanks for your reminder. I config my email according https://help.github.com/articles/setting-your-email-in-git/ using commands: git config --global && $GIT_COMMITTER_EMAIL && $GIT_AUTHOR_EMAIL, I din't get any information about how to update this pull request email? Do I need to update this? Thanks |
@fevxie As you pushed those commit without email you need to amend them. You can do this using
replace all Then it will pause for each commit. Do:
Then push those changes here, you will need to force push:
Now you should see you avatar on commits of this PR |
* correct relation to bind product.link on product.product
@yvaucher Thanks for your patient steps, Done. |
@@ -0,0 +1,36 @@ | |||
a module adds links between products | |||
=========================================== |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be "Product Links" and the =
line should be of the sale length (otherwise the rst parser raises an error)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what do you mean "should be of the sale length" ? the same length with the sale module ?
[FIX] Change rst file Module name and == line length
|
||
@api.model | ||
def _get_link_type_selection(self): | ||
return self.get_link_type_selection() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one is useless in v8 (see #40 (comment))
Thanks! 👍 |
@fevxie Thanks for the changes 👍 Will can merge once travis is happy |
product_links migration for 8.0
[INIT] Initialization migrate product_links module to 8.0