1. 21 Nov, 2018 8 commits
  2. 20 Nov, 2018 1 commit
  3. 19 Nov, 2018 2 commits
  4. 16 Nov, 2018 2 commits
  5. 15 Nov, 2018 4 commits
  6. 13 Nov, 2018 6 commits
  7. 07 Nov, 2018 1 commit
    • Ayush Tiwari's avatar
      ERP5CatalogTool: Display view for portal_catalog when we access it on ERP5 UI · 3e889a76
      Ayush Tiwari authored
      Before this change, `index_html` for Catalog Tool was None that means trying to
      access view for CatalogTool from UI always make a function call to the
      ` __call__` which function was overridden with `searchResults`, which
      means everytime someone tried to access `portal_catalog/`, a useless query was
      being made and an undesirable query result was displyed on the UI.
      
      In this case, `index_html` is prefered whenever we try to access portal_catalog
      from UI.
      
      Also, add test for proper display of view when CatalogTool is accessed from XHTML UI
      
      /reviewed-on !793
      3e889a76
  8. 05 Nov, 2018 1 commit
  9. 02 Nov, 2018 3 commits
  10. 01 Nov, 2018 8 commits
  11. 31 Oct, 2018 4 commits
    • Tristan Cavelier's avatar
      erp5_{accounting,trade}: fix inconsistent "Sale Trade Condition" column · f5a70122
      Tristan Cavelier authored
      in accounting_module and sale_order_module listbox.
      
      The "Sale Trade Condition" column was showing first found specialise title
      instead of the Sale Trade Condition one.
      
      This adds z_related_specialise_trade_condition with related key specialise_trade_condition_title
      and an accessor getSpecialiseTradeConditionTitle
      f5a70122
    • Jérome Perrin's avatar
      Missing modification dates in business template XML · 782b27f0
      Jérome Perrin authored
      We edited the HTML, but did not include the accompanying increase of modification date.
      
      See !662 (comment 65953) for more on this issue.
      
      /reviewed-on !790
      782b27f0
    • Tristan Cavelier's avatar
      erp5_core: fix KeyError: '..._action' in Module_listWorkflowTransitionItemList · 1a3eddad
      Tristan Cavelier authored
      When a workflow transition was not used by any state,
      calling some_module.Module_listWorkflowTransitionItemList was raising:
          [..]
            Module script, line 49, in Module_listWorkflowTransitionItemList
             - <PythonScript at /tsxx/Module_listWorkflowTransitionItemList used for /tsxx/some_module>
             - Line 49
              result['listbox_parameter_dict'][transition_id] = [(state_variable, allowed_state_dict[transition_id])]
            Module AccessControl.ZopeGuards, line 83, in guarded_getitem
              v = object[index]
          KeyError: 'some_action'
      
      Now, pick transition among the allowed_state_dict instead of workflow.transitions.
      
      This also fixes mass change state dialog "??? ()" issue.
      This commit adds a transition that allows to reproduce that issue.
      And this line covers the case :
      bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_zuite/testMassWorkflowTransition.zpt (line 61)
      
      /reviewed-on nexedi/erp5!788
      1a3eddad
    • Jérome Perrin's avatar
      c69c255d