Improve Smart Assistant
- Make it work: files can be downloaded by Export -> Download actual document; images can be viewed; Sounds can be heard; Text can be read.
- Workflow: create 4 work states for Smart Assistant document: draft, processing, validated and cancelled.
- Worklists: according to the workflow, the Smart Assistant Admin will see the related worklists on ERP5, including “Smart Assistant [Document] to Process” and “Smart Assistant [Document] to Validate”. Create a listbox to show all the queries as notifications on Smart Assistant Homepage; create a worklists for Smart Assistant User to have an idea about “Smart Assistant to Open” and “Smart Assistant to Pocessing”;
- Query as reply: to realize the reply funtion, query_module was involved. Importantly, create a viewAS specially for serving Smart Assistant, which can edit a hyper link to reply to Smart Assistant User. Create a query_view page; create a listbox to every Smart Assistant Document displaying a list of related queries; display the validate_state on Smart Assistant Document and Document list.
- Dialogs: Create 3 dialogs from Smart Assistant Documents to simplify the work for Smart Assistant Admin: Create Person, Create Expense, Create Event.
- Upload files from mobile phone: implement Smart Assistant with native share with function: https://lab.nexedi.com/nexedi/erp5-nexedi/merge_requests/3
- Selenium test: test local functions; test synchronization; test interaction between Smart Assistant and ERP5; test uploading files from mobile phone.