1. 02 Sep, 2020 5 commits
    • Arnaud Fontaine's avatar
      ZODB Components: erp5_trade: Migrate TestOrder{Mixin} and all Unit Tests... · 8e9bd755
      Arnaud Fontaine authored
      ZODB Components: erp5_trade: Migrate TestOrder{Mixin} and all Unit Tests inheriting from these classes.
      
      Also, Split testInvoice to a Module Component in erp5_invoicing for Mixins used
      by several other tests and Test Component in erp5_simplified_invoicing (initially
      everything was migrated to erp5_invoicing but this does not work as Alarm_buildInvoice
      is different in simplified and advanced invoicing).
      8e9bd755
    • Arnaud Fontaine's avatar
      CodingStyleTest: Prepare migration of Invoicing Unit Tests to ZODB Components. · db5d183b
      Arnaud Fontaine authored
      efd71291 added on erp5_invoicing a test dependency on erp5_advanced_invoicing.
      However, testRule for example uses erp5_invoicing but not erp5_advanced_invoicing
      so this would not work.
      
      Moreover, erp5_{simplified,advanced}_invoicing enhance erp5_invoicing by providing
      a container for Invoice Line so to match real world use cases it is better to
      have two CodingStyle tests: one checking erp5_invoicing+erp5_simplified_invoicing
      and the other one erp5_invoicing+erp5_advanced_invoicing.
      
      Also, fix CodingStyle issues on erp5_advanced_invoicing.
      db5d183b
    • Romain Courteaud's avatar
      b2a1e543
    • Jérome Perrin's avatar
      Revert "base: ensure migrated persons have a user_id" · e874575d
      Jérome Perrin authored
      This reverts commit bc67c2c4.
      
      This is seem to stall testFunctionalAdvancedECommerce with this error:
      
            Module script, line 5, in Workflow_ensureUserId
             - <PythonScript at /erp5_portal_7f1517681f85de9695ca475d69c4d66f/portal_workflow/login_interaction_workflow/scripts/Workflow_ensureUserId>
             - Line 5
              user = state_change['object'].getParentValue()
            Module AccessControl.ZopeGuards, line 87, in guarded_getitem
              if getSecurityManager().validate(object, object, None, v):
          Unauthorized: You are not allowed to access '2' in this context
      
      let's revert for now, we'll re-do this with more tests.
      e874575d
    • Romain Courteaud's avatar
      erp5_configurator_standard: update officejs sdk test · 5ca4964b
      Romain Courteaud authored
      New dependencies were added in nexedi/erp5@206a8e25
      5ca4964b
  2. 01 Sep, 2020 9 commits
  3. 31 Aug, 2020 8 commits
  4. 27 Aug, 2020 1 commit
  5. 26 Aug, 2020 1 commit
  6. 25 Aug, 2020 3 commits
  7. 24 Aug, 2020 4 commits
  8. 21 Aug, 2020 5 commits
  9. 19 Aug, 2020 4 commits