- 12 Dec, 2014 3 commits
-
-
Gabriel Monnerat authored
-
Gabriel Monnerat authored
testOrder: create default address in entities to not fail when call Invoice_viewAsODT to generate invoices
-
Gabriel Monnerat authored
-
- 08 Dec, 2014 1 commit
-
-
Kazuhiko Shiozaki authored
that can happen if there is a workflow entry whose value is None.
-
- 05 Dec, 2014 2 commits
-
-
Julien Muchembled authored
testIdToolUpgrade failed since commit a463bc45
-
Sebastien Robin authored
With a non manager user, the dialog was raising an UnauthorizedError when accessing form properties like id or update_action. With verbose security we had : Unauthorized: Your user account does not have the required permission. Access to 'update_action' of (ERP5Form at /erp5/person_module/Folder_viewSearchDialog) denied. Your user account, [some account], exists at /erp5/acl_users. Access requires one of the following roles: ['Assignee', 'Assignor', 'Associate', 'Auditor', 'Author', 'Manager']. Your roles in this context are ['Authenticated', 'Member']. By looking further, this regression started with the introduction of erp5_hal_json_style bt which install ERP5 Form portal type with "Acquire Local Roles" unchecked. By looking also at aquisition chains of usual Form : (Pdb) self.person_module.PersonModule_viewPersonList.aq_chain [<ERP5 Form at /erp5/PersonModule_viewPersonList used for /erp5/person_module>, <Person Module at /erp5/person_module>, <ERP5Site at /erp5>, <Application at >, <ZPublisher.BaseRequest.RequestContainer object at 0x7f76305cae90>] And at the one of Folder_viewSearchDialog: (Pdb) self.person_module.Folder_viewSearchDialog().aq_chain [<ERP5Form at /erp5/person_module/Folder_viewSearchDialog>, <Person Module at /erp5/person_module>, <ERP5Site at /erp5>, <Application at >, <ZPublisher.BaseRequest.RequestContainer object at 0x7f05f0751850>] It seems fixing the acquisition chain is better option than allowing to Acquire Local Roles on all forms. We now have following chain for this dialog: After this patch, we have : (Pdb) self.person_module.Folder_viewSearchDialog().aq_chain [<ERP5Form at /erp5/Folder_viewSearchDialog used for /erp5/person_module>, <Person Module at /erp5/person_module>, <ERP5Site at /erp5>, <Application at >, <ZPublisher.BaseRequest.RequestContainer object at 0x7f76305cae90>]
-
- 04 Dec, 2014 1 commit
-
-
Jérome Perrin authored
-
- 03 Dec, 2014 4 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
Also improve notification for initial bank reconciliation and remove a field that should never have been used
-
Jérome Perrin authored
-
- 02 Dec, 2014 4 commits
-
-
Cédric de Saint Martin authored
-
Cédric de Saint Martin authored
-
Cédric de Saint Martin authored
...in testERP5TestNode.
-
Jérome Perrin authored
-
- 01 Dec, 2014 5 commits
-
-
Jérome Perrin authored
not only payment transaction group
-
Jérome Perrin authored
-
Cédric de Saint Martin authored
glob uses os.listdir, which returns list in arbitrary order. Sometimes we have seevral partitions containing bin/runTestSuite. We want to use the one closest to the root instance (i.e alphabetical order, test0-1/bin/runTestSuite is better thantest0-3/bin/runTestSuite). Usecase: webrunner, for which main instance contains a bin/runTestSuite for unit tests. But resiliency tests (dedicated partition, usually test0-0) also has bin/runTestSuite, and then requests a normal instance of slaprunner (usually test0-3).
-
Jérome Perrin authored
-
Jérome Perrin authored
-
- 28 Nov, 2014 1 commit
-
-
Xiaowu Zhang authored
Use field key instead of field id
-
- 27 Nov, 2014 3 commits
-
-
Xiaowu Zhang authored
-
Sven Franck authored
-
Klaus Wölfel authored
-
- 26 Nov, 2014 4 commits
-
-
Xiaowu Zhang authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Xiaowu Zhang authored
-
- 25 Nov, 2014 2 commits
-
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
1. Change title because of test name convention. 2. GadgetField make div instead of section
-
- 24 Nov, 2014 10 commits
-
-
Sebastien Robin authored
When printing an ERP5 page (through the print function of the web browser itself), remove : - toolbars - tabs This allows to print any ERP5 page, reports rendered as html included
-
Kazuhiko Shiozaki authored
fixup! fix WebSection_zGetDocumentValueList so that it returns documents having different languages and the same reference.
-
Kazuhiko Shiozaki authored
-
Xiaowu Zhang authored
Since Foo portal type's change breaks some existing funcitonal tests in erp5_ui_test, so use Bar , which is less used in tests.
-
Rafael Monnerat authored
This reverts commit c76f571e.
-
Rafael Monnerat authored
This reverts commit 20682986.
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
fix WebSite_getFullTextSearchResultList so that 'any language' search and 'newest only' search work.
-
Kazuhiko Shiozaki authored
fix WebSection_zGetDocumentValueList so that it returns documents having different languages and the same reference.
-