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

[WIP] Feature for admin to download label and docs #363

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

hanhantw
Copy link

Feature #321

@hanhantw
Copy link
Author

hanhantw commented Jul 21, 2020

我發現好像是BytesIO()的問題
用完需要 flush cache or streaming(?
因為我換個變數名稱 io = BytesIO() 就可以下載了

@hanhantw
Copy link
Author

目前可以一鍵下載三個 word 檔了
但檔案格式還須調整
另外我用 ms word 開檔案會有檔案毀損的 alert ,
按修復後正常,
用 pages 開檔案不會有問題,
不確定這是不是程式的問題@@

Sonia Wu added 4 commits July 24, 2020 15:24
# Conflicts:
#	backend/api/admin/mixins.py
# Conflicts:
#	backend/Pipfile
#	backend/Pipfile.lock
#	backend/api/admin/actions/export_csv.py
#	backend/api/admin/factory.py
@@ -607,4 +607,5 @@
"version": "==1.12.1"
}
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

這個是多的,所以導致 CI 失敗

@deeper747
Copy link
Member

1.應該要從factory移到document

2.這個功能如果無法完成,看能否讓我輸出document的csv檔,
讓我自己去「篩除重複項」,做出文件和標籤。

@aelcenganda
Copy link
Contributor

@Swind 我確認一下這個 PR 是剩標籤列印的部分,我們之前決定先不做?如果是的話,我要把這個移出 milestone

@Swind
Copy link
Contributor

Swind commented Dec 4, 2020

@Swind 我確認一下這個 PR 是剩標籤列印的部分,我們之前決定先不做?如果是的話,我要把這個移出 milestone

對的這個只剩下標籤列印了,目前應該是沒有排時間去做他。
我覺的可以先移出,如果 @deeper747 覺的非常需要的話,我可以再回來做。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
1. 地公後台
  
In progress
Development

Successfully merging this pull request may close these issues.

None yet

4 participants