-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
11.0 Improvement for filters and product page description #14
Conversation
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.
couple of questions but overall good to me.
Shall we bump version number? (not live in OCA but other organization might have)
return "/".join(map(lambda x: str(x).rstrip('/'), args)) | ||
|
||
|
||
def hook_github_image_url(rst_desc, github_url): |
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.
why hook_
?
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.
it is literally processing the URL and adding GitHub module prefix URL for display purpose.
@api.multi | ||
def _compute_rst_html_desc(self): | ||
for product in self: | ||
rst_desc = product.odoo_module_version_id.description_rst_html |
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.
I assume that description_rst_html
will already contain either html if exist or rst as fallback.
Do you confirm?
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.
@elicoidal yes it will. confirmed with https://github.com/OCA/server-tools/blob/11.0/base_fontawesome/ module and it is working
@RoelAdriaans can you please review |
@pedrobaeza can you please review and then merge. |
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.
The test_select_author_search_tour test has to be removed before travis turns green.
Filter is removed, but test isn't.. :)
Please check Travis. |
@RoelAdriaans Thanks for noticing. Did commit for the removing test case for the author. |
@moylop260 can you please review, I have developed as per your suggestion. |
@elicoidal Travis is green now |
@pedrobaeza @elicoidal Can you please take care for merging? |
* [IMP] website_apps_store: remove author filter from shop * [FIX]apps_product_creator: fix the broken image path problem with github direct link * [FIX]rename method with proper name * [FIX] solve the problem for renaming function * [FIX] reoved the author test cases
* [IMP] website_apps_store: remove author filter from shop * [FIX]apps_product_creator: fix the broken image path problem with github direct link * [FIX]rename method with proper name * [FIX] solve the problem for renaming function * [FIX] reoved the author test cases
* [IMP] website_apps_store: remove author filter from shop * [FIX]apps_product_creator: fix the broken image path problem with github direct link * [FIX]rename method with proper name * [FIX] solve the problem for renaming function * [FIX] reoved the author test cases
* [IMP] website_apps_store: remove author filter from shop * [FIX]apps_product_creator: fix the broken image path problem with github direct link * [FIX]rename method with proper name * [FIX] solve the problem for renaming function * [FIX] reoved the author test cases
* [IMP] website_apps_store: remove author filter from shop * [FIX]apps_product_creator: fix the broken image path problem with github direct link * [FIX]rename method with proper name * [FIX] solve the problem for renaming function * [FIX] reoved the author test cases
* [IMP] website_apps_store: remove author filter from shop * [FIX]apps_product_creator: fix the broken image path problem with github direct link * [FIX]rename method with proper name * [FIX] solve the problem for renaming function * [FIX] reoved the author test cases
* [IMP] website_apps_store: remove author filter from shop * [FIX]apps_product_creator: fix the broken image path problem with github direct link * [FIX]rename method with proper name * [FIX] solve the problem for renaming function * [FIX] reoved the author test cases
* [IMP] website_apps_store: remove author filter from shop * [FIX]apps_product_creator: fix the broken image path problem with github direct link * [FIX]rename method with proper name * [FIX] solve the problem for renaming function * [FIX] reoved the author test cases
* [IMP] website_apps_store: remove author filter from shop * [FIX]apps_product_creator: fix the broken image path problem with github direct link * [FIX]rename method with proper name * [FIX] solve the problem for renaming function * [FIX] reoved the author test cases
* [IMP] website_apps_store: remove author filter from shop * [FIX]apps_product_creator: fix the broken image path problem with github direct link * [FIX]rename method with proper name * [FIX] solve the problem for renaming function * [FIX] reoved the author test cases
Improvements: