1. 17 Jul, 2020 11 commits
    • Jérome Perrin's avatar
      configurator_standard: use more recent category spreadsheet · 786ed968
      Jérome Perrin authored
      We use to have consulting_configurator_sample_categories.ods and
      standard_category.ods . standard_category.ods was more complete, it contained
      standard_category.ods that was missing in
      consulting_configurator_sample_categories.ods .
      
      Now standard_category.ods no longer contain "standard" categories, these
      categories are now installed by business template, so update
      consulting_configurator_sample_categories.ods to the content of
      standard_category.ods with all categories (ie. before remove them all in
      5e0091a6cbc6ee9d1495e22c0076b0209edada47 )
      786ed968
    • Jérome Perrin's avatar
      configurator_standard: include test category spreadsheet · 393d9051
      Jérome Perrin authored
      Use same spreadsheet for all consulting configurator tests
      393d9051
    • Jérome Perrin's avatar
      configurator_standard_categories: add missing unit conversion group · b9898e89
      Jérome Perrin authored
      When there's only one quantity unit in the group a conversion group, one
      definition is needed (this might be a bug).
      b9898e89
    • Jérome Perrin's avatar
      configuration_standard: use erp5_configurator_standard_categories · 35020c4a
      Jérome Perrin authored
      Instead of using a spreadsheet for categories, use
      erp5_configurator_standard_categories business template.
      
      This business template also configures quantity unit definition in the
      new way and no longer use obsolete way of setting quantity property on
      quantity unit categories.
      
      The included spreadsheet is still used, but all categories except group and
      site have been removed, it now only contain group/my_group and site/main.
      35020c4a
    • Jérome Perrin's avatar
    • Jérome Perrin's avatar
      configurator: Introduce scripts to get region and function items · c534798a
      Jérome Perrin authored
      Some configurator profiles uses a spreadsheet to define categories
      (consulting configurator), some use a business templates.
      
      For the ones using business template, because the categories are not available
      yet we have the values directly in the script.
      c534798a
    • Jérome Perrin's avatar
      configurator_standard_categories: add metric_type · 0fa28958
      Jérome Perrin authored
      from erp5_configurator_standard/standard_category.ods
      0fa28958
    • Jérome Perrin's avatar
      configurator_standard_categories: add social_title categories · d1548b2a
      Jérome Perrin authored
      from erp5_configurator_standard/standard_category.ods
      d1548b2a
    • Jérome Perrin's avatar
      configurator_standard_categories: add some trade_phase categories · eeda37dc
      Jérome Perrin authored
      trade/order trade/discount and trade/tax were only in
      erp5_configurator_standard/standard_category.ods
      eeda37dc
    • Gabriel Monnerat's avatar
      fixup! web_renderjs_ui: enable google login · 64635469
      Gabriel Monnerat authored
      It seems that with ${here/portal_url} returns the ERP5 url , for example http://nohost/erp5 instead of
      
      http://nohost/erp5/web_site_module/renderjs_runner/
      64635469
    • Jérome Perrin's avatar
      "Disable Node" option for categories · fced4e25
      Jérome Perrin authored
      Since a89afa43 (Formulator: Support disabled items in all ItemWidget subclasses., 2014-04-02) we can include disabled items in listfields.
      This was used for example in erp5_crm to show the services with their hierarchy as disabled items and was useful to display the hierarchy.
      
      In some fields, we don't want user to select "nodes" categories, but only select "leaves" categories (ie. select the most precise category).
      This always had a problem when using "Indented title" as display method for categories, because the user can not see the actual hierarchy. This is about making it possible to display hierarchy of categories in this case where we select only leaves, so that it displays like this:
      
      ![screenshot of a category with disabled items for hierarchy](/uploads/0f3e8ef68ab6e2ec424e4e8d42fc5e2a/image.png)
      
      This required to:
      
       - introduce a new category API, `disable_node`, which is semantically very close to `filter_node` except that instead of filtering out node categories that are kept with `None` as related URL. Symmetrically, we also introduce `disable_leave`
       - make `ParallelListField` support disabled items. Even if this was properly supported in underlying fields, some parts in `ParallelListField` did not differentiate between `None` and `''`.
       - modify several forms to use `disable_node` instead of `filter_node`
      
      See merge request !1199
      fced4e25
  2. 16 Jul, 2020 4 commits
  3. 15 Jul, 2020 5 commits
  4. 14 Jul, 2020 1 commit
    • Jérome Perrin's avatar
      invoicing: "section category" fields in field library · 2df5287b
      Jérome Perrin authored
      Unlike trade and like accounting, for invoice we are using "Section Category"
      term for section category, it's no longer about "who is the owner of this
      stock" like in trade, but already "who is the entity" like in accounting
      2df5287b
  5. 13 Jul, 2020 19 commits