-
-
Notifications
You must be signed in to change notification settings - Fork 770
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
[ADD] 8.0 - report_xlsx #50
Conversation
47dfaa2
to
0deddfe
Compare
0deddfe
to
446f5d4
Compare
Runbot is green, and ready for "review" (it is the same code that the v9 version). |
|
||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas | ||
:alt: Try me on Runbot | ||
:target: https://runbot.odoo-community.org/runbot/143/9.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.
Change this to 8.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.
Question: where do we get this ID 143? I was looking for that in https://github.com/OCA/maintainer-tools/blob/master/CONTRIBUTING.md but didn't find this information.
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's in https://github.com/OCA/maintainer-tools/blob/master/tools/repos_with_ids.txt. In the original README template you can see the link: https://raw.githubusercontent.com/OCA/maintainer-tools/master/template/module/README.rst
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.
Thank you, I missed that.
You can put the icon used in XLSX files for the module, as the report_xls do. And please squash your commits in one, as they are minimal. |
@pedrobaeza you mean the same icon used by report_xls? https://github.com/OCA/reporting-engine/blob/9.0/report_xls/static/description/icon.png |
b21821b
to
fe69f0f
Compare
Done. |
I suppose there's a new one corresponding to last Excel versions that fits with XLSX format, isn't it? Or maybe an special icon not for Excel, but for the mimetype XLSX (like this search: https://www.google.es/search?q=xlsx+icon&safe=off&client=ubuntu&hs=bDY&channel=fs&source=lnms&tbm=isch&sa=X&ved=0ahUKEwjFv-W6qq3MAhViF8AKHQKoBbIQ_AUIBygB&biw=1700&bih=901) |
Yep I already search that kind of icon for the XLSX format some days ago but did'nt find one with a correct license. I will take a look again. |
Well, just passed half an hour to find out an icon compatible with the AGPL license, without any success. For now I just copied the one from |
The icon is not ruled under AGPL. The possible open license to apply is Creative Commons, but in this case, I think we can use it without problems under the fair usage policy: http://libguides.mit.edu/usingimages |
There are several Creative Commons, but all CC icons found have a NC clause. |
Okay, this one is a CC with commercial use allowed: http://www.icons101.com/icon/id_67712/setid_2096/Boxed_Metal_by_Martin/xlsx |
👍 |
Thanks! |
a51134b
to
3c2802f
Compare
|
||
from openerp.addons.report_xlsx.report.report_xlsx import ReportXlsx | ||
|
||
class partner_xlsx(ReportXlsx): |
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.
a complete detail here but why not class PartnerXlsx()
here ? However, It must not prevent merge
👍 thanks a lot |
👍 Code review |
👍 |
This is a backport of #38 from @adrienpeiffer (migrated with the instructions found here: https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-9.0#if-the-module-doesnt-exist-in-the-90-branch).
It fixes #49 and is needed to solve OCA/account-financial-reporting#8