1. 17 Aug, 2020 6 commits
    • Jérome Perrin's avatar
      base: don't check unicity when migrating Person.reference to user_id · 3ee1dfb0
      Jérome Perrin authored
      This activity is spawned on all nodes, which cause too many conflicts.
      We can take the risk here, assuming that references were already OK
      before migration.
      3ee1dfb0
    • Jérome Perrin's avatar
      base: introduce Person.initUserId · f8cd3922
      Jérome Perrin authored
      Person.setUserId does expensive checks to ensure that user ids are
      uniques, but the default id generator already guarantees unicity, so
      when default id generator is used we don't need Person.setUserId unicity
      checks.
      
      Now when generating user ids, we only consider user id conflict with existing
      users, because it's not so expensive and might still happen, for example if
      user ids have been migrated from person references when erp5_users PAS plugin
      was used.
      person.setUserId still performs the expensive checks to prevent duplications
      against other transactions using person.setUserId, but not against other
      transactions using person.initUserId
      f8cd3922
    • Jérome Perrin's avatar
      *: check type based methods are not None · 05fe5e19
      Jérome Perrin authored
      should be same for cases where type based method is a python script, but
      is a bit more explicit/safe and consistent with other usages.
      05fe5e19
    • Jérome Perrin's avatar
      base: rename tests for person property acqusition · c9d1489c
      Jérome Perrin authored
      In 93e30e5e (Person: Store user id in new user_id property., 2016-12-09)
      we adapted this test to the new behavior: title fallback to user_id or
      id, but since persons always have a user_id by default, this test was
      changed to check that title fallbacks to user_id, but the name of the
      test still mention "fallback to id" which became a bit different from
      what was tested here.
      
      Revert testEmptyTitleFallbackOnId to check that title fallbacks on id,
      using persons without user id and introduce new
      testEmptyTitleFallbackOnUserId to describe the new behaviour with user
      id.
      c9d1489c
    • Jérome Perrin's avatar
      l10n_fr: fix typo · cfc9ef81
      Jérome Perrin authored
      cfc9ef81
    • Jérome Perrin's avatar
      accounting: fix typo · 768ec0d6
      Jérome Perrin authored
      768ec0d6
  2. 14 Aug, 2020 4 commits
  3. 13 Aug, 2020 1 commit
  4. 12 Aug, 2020 11 commits
    • Roque's avatar
      Erp5 officejs skip bootloader test · 6b12e2b2
      Roque authored
      See merge request !1239
      6b12e2b2
    • Roque's avatar
      37f1c0af
    • Xiaowu Zhang's avatar
      erp5_corporate_identity_test: update tests · 35d88eb1
      Xiaowu Zhang authored
      35d88eb1
    • Xiaowu Zhang's avatar
      erp5_font: add bold italic font · cfaf8a89
      Xiaowu Zhang authored
      cfaf8a89
    • Xiaowu Zhang's avatar
      erp5_corporate_identity: fix search problems · 53c67e55
      Xiaowu Zhang authored
      1. title is not exact match
      2. can't search title in objectValues
      53c67e55
    • Xiaowu Zhang's avatar
      5d9a9afd
    • Jérome Perrin's avatar
      Update Configurator Simulation Configuration · b08338c8
      Jérome Perrin authored
      Configuration generated by Standard Configurator was not really good. For most divergences, there was no solvers configured, so users could not configure divergences. Now solvers (for packing lists) are configured so that every divergence is automatically accepted, we only expect user to take a decision when quantity or resource is different.
      This change was implemented in the rules from `erp5_configurator_trade_template`, but because several simulation tests were relying on the fact that "changing anything would cause a divergence" the previous rules configuration are kept in a new `simulation_test_trade_template`.
      
      Also, security configuration was incomplete, since the introduction of "new simulation", some Unauthorized errors occurred when non-manager users where trying to solve divergence. This is now solved and exercised in the integration tests we run on auto-configurated instance. 
      
      The configuration was obsolete, nowadays we use different business processes for each use case, this configuration was still using only one business process for both sale and purchase, now we use two and improve the accounting configuration, to use accounts defined in supply line.
      
      Some others small improvements were made, for example now we can configure the delivery solver to use for a split solver once and for all in the solver and user does not have to choose each time.
      
      What not updated this time:
       - divergences on Invoice Lines: this is probably same as on Packing List before these changes
       - rules are still configured with ad-hoc scripts and not based on trade phase categories.
      
      See merge request nexedi/erp5!1221
      b08338c8
    • Jérome Perrin's avatar
      Fix translations with ${portal_type} variables · 349258e5
      Jérome Perrin authored
      See merge request nexedi/erp5!1236
      349258e5
    • Jérome Perrin's avatar
      BusinessTemplate: update tools, except legacy tools · a52c7d5d
      Jérome Perrin authored
      Since 248f59e5 (Business Template: Likewise ERP5Site.addERP5Tool(), do
      not re-create Tool if it already exists., 2020-06-22) we no longer
      update tools, because of the problem that business template does not
      currently handle updating objects with lots of sub-objects.
      
      But we realized that we really need to update tools when they contain
      configuration as object attributes, like mimetypes_registry, where the
      problem was observed.
      
      Instead of unconditionnally skipping any tool during update, we only
      skip the ones that were initially managed by ERP5Generator and are moved
      to business templates.
      a52c7d5d
    • Jérome Perrin's avatar
      officejs_support_request_ui: use "Submit New Support Request" for form name · 18484163
      Jérome Perrin authored
      to match the button on the front page
      18484163
    • Jérome Perrin's avatar
      ui_test_core: support updating snapshot image behind virtual host · e37dfeb6
      Jérome Perrin authored
      With virtualhosting, there can be an empty path element at the beginning
      of the path.
      e37dfeb6
  5. 11 Aug, 2020 3 commits
  6. 10 Aug, 2020 2 commits
  7. 07 Aug, 2020 10 commits
  8. 06 Aug, 2020 3 commits