- 07 Aug, 2020 10 commits
-
-
Gabriel Monnerat authored
Also, remove the usage of document.getElementById because we should search only inside the current gadget
-
Gabriel Monnerat authored
erp5_officejs_support_request_ui: 'Customer Support Dashboard' in 'Support Requests Dashboard' (in header)
-
Gabriel Monnerat authored
- change the generate_rss_link action in Support Request Module, to directly call SupportRequestModule_generateRSSLinkUrl.py instead of the form. - change SupportRequestModule_generateRSSLinkUrl to display the form at the end. - Use Base_renderForm like for erp5_crm - Put the RSS url in the REQUEST - change the gadget field configuration to use the value from the REQUEST (if not found, put None) - change the gadget implementation to display the URL in an html5 string field + a button
-
Gabriel Monnerat authored
In Support request test we trigger clipboard API to copy RSS Link But, if you running tests manually in your browser, clipboard will fail. For now, we guarantee that is not break tests on test node
-
Gabriel Monnerat authored
erp5_officejs_support_request_ui: Search action dynamically according to the action category defined on web site Hard coding to select action_object_view we will never use web site configuration. If we always get links from action_object_view, Support Request will always break if we change View Action Category on web site.
-
Gabriel Monnerat authored
Having a big "Generate RSS" button on the front page is strange, because the front page button are for common use cases that users are supposed to execute a lot. For example, makes sense to have a "Submit new Support Request" button, because users are using this app to submit support requests, but generating RSS is very exceptional action, so we wanted to remove it from the front page.
-
Gabriel Monnerat authored
According to Galien: In the table, columns to be displayed by default in the following order are : - Title - Visa File Reference - Type - Requester - Begin Date - Comment Date (with possibility to sort the table by this column desc and asc) - Comment Author - State
-
Gabriel Monnerat authored
With this, sort by reference will work properly
-
Gabriel Monnerat authored
-
Gabriel Monnerat authored
CUSTOM erp5_officejs_support_request: Add visa_file_reference as parameter and redirect to the expected view In support request, we need to receive visa_file_reference and store it as causality. With this, we have the relation between Support Request and Visa File Also, we change the action reference because the previous is not available in our scenario(Default View Action reference).
-
- 24 Jul, 2020 9 commits
-
-
Gabriel Monnerat authored
This will be used by Capago to assign a Support Request to Visa File
-
Gabriel Monnerat authored
Requested in an email from Galien Renault with title "Retour livraison interface consulaire" document "Retour livraison Interface Consulaire ERP5 .pdf". Suppression des boutons d’action : “Sort” / “Edit” / “Select” , section 4.1.4, item a, page 14
-
Gabriel Monnerat authored
Requested in an email from Galien Renault with title "Retour livraison interface consulaire" document "Retour livraison Interface Consulaire ERP5 .pdf" Suppression des boutons d’action : "Sort ", page 4.1.4 item A, page 14
-
Gabriel Monnerat authored
> email from Galien Renault with title "Retour livraison interface consulaire" document "Retour livraison > Interface Consulaire ERP5 .pdf" Suppression des boutons d’action : ““Edit” / “Select”, page 4.1.4 item a page 14
-
Gabriel Monnerat authored
Requested in an email from Galien Renault with title "Retour livraison interface consulaire" document "Retour livraison Interface Consulaire ERP5.pdf", section 4.1.4d page 16
-
Gabriel Monnerat authored
Requested in an email from Galien Renault with title "Retour livraison interface consulaire" document "Retour livraison Interface Consulaire ERP5.pdf", part 3.2.2c page 10 - Il devrait être impossible de crée"New Event" pour un ticket au statut "Closed" This action is not suppose to work, because they should a new post in the Suppport Request instead of a new event directly.
-
Gabriel Monnerat authored
Because this breaks the sort and filter buttons in the new ERP5 UI
-
Gabriel Monnerat authored
CUSTOM erp5_officejs_support_request_ui: Display causality reference(Visa File Reference) from Support Request Requested in an email from Galien Renault with title 'Retour livraison interface consulaire' document 'Retour livraison Interface Consulaire ERP5.pdf' V1.0 2020-04-31 section 3.2.1 page 9 and 3.1.9d page 8. - Rajouter la colonne "Visa Files Reference" en valeur par défaut de l liste 'Recent Update' - La valeur du champ "Visa File Reference" doit etre la reference TESTVFXXX et non le nom du requester
-
Gabriel Monnerat authored
In this custom support request app, document are sent as items in packing lists and the default "Attach Document" action is confusing, because we have a "Create New Document" action which creates the document as an item with its initial implicit movement.
-
- 24 Mar, 2020 1 commit
-
-
Jérome Perrin authored
This caused upgrader errors such as: Error: Web Site web_site_module/officejs_smart_assistant references a non existant appcache gadget_officejs_spreadsheet.appcache
-
- 19 Mar, 2020 4 commits
-
-
Xiaowu Zhang authored
-
Romain Courteaud authored
-
Xiaowu Zhang authored
-
Jérome Perrin authored
With the current architecture of cache manifest, it was required that developpers change the cache manifests referencing a web page every time they change a web page. In practice, developers were never doing this, so we sometimes had issues where client keep using old version of website even though a new version has been deployed, when after deployment we did not change the cache manifest. To automate the scenario of modifying the cache manifest, introduce a post-upgrade constraint that will check that the manifest is newer than all of the referenced pages. If that's the case, the constraint can fix by modifying the manifest content, which also changes the modification date of the manifest, which might be used in "if-modified-since" negociations. According to spec [1], cache manifest is updated if the HTTP responses is not "304 not modified" and if the manifest content is not byte-for-byte identical to the previously cached version. [1] https://www.w3.org/TR/2008/WD-html5-20080122/#updating1 /reviewed-on !1009
-
- 11 Mar, 2020 1 commit
-
-
Jérome Perrin authored
Having WebPage_viewAsWeb in default skin selection break other sites relying on default behavior of erp5_web.
-
- 28 Jan, 2020 1 commit
-
-
Jérome Perrin authored
The fixes from !630 were not enough, exceptions set on days were calendar did not repeat were also confusing other exceptions after this. Simplify implementation a lot, instead of keeping track of the next exception date, start by building a set of all exceptions dates and use membership of this set as a criterion to skip exceptions. backport of https //lab.nexedi.com/nexedi/erp5/merge_requests/1030
-
- 16 Dec, 2019 14 commits
-
-
Jérome Perrin authored
This was not valid HTML5: AssertionError: Using nu validator to parse the view "SQLMethod_view" (from erp5_core bt) with warnings displayed : Error: line 782 column 23 : Element “style” not allowed as child of element “div” in this context. (Suppressing further errors from this subtree.): </script> <style type="text/css"> .cm Error: line 822 column 23 : Element “style” not allowed as child of element “div” in this context. (Suppressing further errors from this subtree.): script> <style type="text/css"> .max
-
Jérome Perrin authored
Use monaco editor with https://github.com/joe-re/sql-language-server completion provider bundled in https://lab.nexedi.com/jerome/monaco-editor-sql-completion-provider This completion provider is not perfect, but codemirror's one was not so good eiher. At least we can use monaco editor. Also add a quick "copy to cliboard" feature, which copies the table as html or in markdown format for text. And also fix Server-Timing header that was an obsolete syntax no longer supported by chrome.
-
Gabriel Monnerat authored
component: We don't need Permissions.ModifyPortalContent to check consistency. Permissions.AccessContentsInformation is enough
-
Gabriel Monnerat authored
-
Jérome Perrin authored
This script was returning organisations in random order ! When organisation does not have accounting periods, but another organisation at the same level of the same group has, the result was undefined. This fixes by considering all organisation from the same group.
-
Jérome Perrin authored
This is enabled for title and description only, because that's usually what we put on "external" documents such as invoices. By "resource" here it means products, services, components and their individual variations
-
Gabriel Monnerat authored
-
Gabriel Monnerat authored
-
Jérome Perrin authored
instead of implementing this logic in ZSQL's DTML
-
Jérome Perrin authored
cf 2c54e0f5
-
Gabriel Monnerat authored
With this, we accept users with permission to Modify portal content or Associate role
-
Gabriel Monnerat authored
-
Gabriel Monnerat authored
-
Gabriel Monnerat authored
With this, change we accept users with permission to Modify portal content or Associate role
-