1. 17 Jul, 2020 4 commits
    • Xiaowu Zhang's avatar
      erp5_l10n_zh: update translation · 0c5f6dc7
      Xiaowu Zhang authored
      See merge request !1193
      0c5f6dc7
    • Arnaud Fontaine's avatar
    • 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 5 commits
    • Lu Xu's avatar
      erp5_l10n_zh: update translation · 910b7672
      Lu Xu authored
      910b7672
    • Jérome Perrin's avatar
      Review PDM terms and report dialogs · d8ab59d1
      Jérome Perrin authored
      For PDM/Trade we use:
       - "Site" for node category
       - "Warehouse" for node
       - "Owner" for section category
       - "Owner" for section
      
      For Invoicing/Accounting this does not change.
      
      Also, since in PDM/Trade context we are sometimes only taking care of physical movements/quantities and not the ownership, make sure that:
       - "Site" is first in report dialogs
       - "Section Category" is not initialised from preference, so that reports show the quantities in a location regardless of the ownership
      
      See merge request !1202
      d8ab59d1
    • Jérome Perrin's avatar
      trade: review Valuation Method field on Inventory Report · de40440f
      Jérome Perrin authored
      - add an empty item to the list, so that user have to choose something. The empty item was missing here:
      
      ![image](/uploads/5be3e9d5acf1233270516c7463dbfdd4/image.png)
      
      If there's an empty item and we force user to choose, there will not be the problem that user can forget to select the good value and mistakenly generates for the Fifo because it's the first value.
      
      - translate values
      
      See merge request !1204
      de40440f
    • Jérome Perrin's avatar
      Translations for login and credential recovery pages · 6a883f93
      Jérome Perrin authored
      A few small fixes to form and page templates to allow their translations
      
      Missing messages in french translation
      
      See merge request !1201
      6a883f93
    • Jérome Perrin's avatar
      tests: make each SavedTestSuite instance use a different logfile · f99003ac
      Jérome Perrin authored
      See merge request !1198
      f99003ac
  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 23 commits
  6. 10 Jul, 2020 2 commits