1. 18 Oct, 2017 2 commits
    • Jérome Perrin's avatar
      accounting: Improve usage of internal transactions for internal payments · 6e94e1e8
      Jérome Perrin authored
      We use internal transactions for invoices and any kind of accounting transactions (in reality, it's not limited to *invoice*), this is a set of changes to make it easier to record payments between two entities with internal transactions.
      
      * We add a *Section Bank Account* field directly on the view ( ![Screenshot_2017-10-04_at_19.36.53](/uploads/4b1f22b5d5e6c1f77a70ea717c2323d9/Screenshot_2017-10-04_at_19.36.53.png)
      * Reconfigure  *Causality (Invoices ...)* relation fieds to allow allow every accouting transactions portal type, so also Internal Invoice Transaction ...").  This way, when creating the "payment" internal transaction, we connect it to the "invoice" internal transaction  and grouping reference is set automatically when posting to general ledger.
      *  Enable the *Create Payment* action from (which exists on sales and purchase) on normal invoices.
      
      The rest is  small cleanup / fixes described in commit messages.
      
      /reviewed-on !433
      6e94e1e8
    • Jérome Perrin's avatar
      Make coding style tests easier to integrate in projects · 3622731e
      Jérome Perrin authored
      Various improvements to `CodingStyleTestCase` so that it can be used in a project test suite.
      
      /reviewed-on !455
      3622731e
  2. 17 Oct, 2017 11 commits
  3. 16 Oct, 2017 4 commits
  4. 13 Oct, 2017 14 commits
  5. 12 Oct, 2017 9 commits
    • Tristan Cavelier's avatar
    • Tristan Cavelier's avatar
      erp5_officejs_support_request_ui: prevent sending comment twice · 0dd02751
      Tristan Cavelier authored
      on form view discussable, by disabling submit button
      0dd02751
    • Tristan Cavelier's avatar
      erp5_officejs_support_request_ui: do small speed improvement · 75688d10
      Tristan Cavelier authored
      on getting project list in the support request fast input dialog
      75688d10
    • Tristan Cavelier's avatar
    • Tristan Cavelier's avatar
    • Gabriel Monnerat's avatar
      erp5_oauth: Add mt_index to the tool · 920f5648
      Gabriel Monnerat authored
      This will fix the issue below:
      
      ======================================================================
      ERROR: test_refresh_token (erp5.component.test.erp5_version.testGoogleLogin.TestGoogleLogin)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
      File "/srv/slapgrid/slappart11/srv/runner/software/46ff20cd786207637e80576bed95522d/parts/erp5/Products/ERP5Type/tests/runUnitTest.py", line 291, in setUp
      super(ComponentTestCase, self).setUp()
      File "/srv/slapgrid/slappart11/srv/runner/software/46ff20cd786207637e80576bed95522d/eggs/Zope2-2.13.24-py2.7.egg/Testing/ZopeTestCase/PortalTestCase.py", line 60, in setUp
      self.afterSetUp()
      File "<portal_components/test.erp5.testGoogleLogin>", line 143, in afterSetUp
      secret_key=SECRET_KEY)
      File "/srv/slapgrid/slappart11/srv/runner/software/46ff20cd786207637e80576bed95522d/parts/erp5/product/ERP5Type/Core/Folder.py", line 620, in newContent
      return FolderMixIn.newContent(self, *args, **kw)
      File "/srv/slapgrid/slappart11/srv/runner/software/46ff20cd786207637e80576bed95522d/parts/erp5/product/ERP5Type/Core/Folder.py", line 163, in newContent
      **kw)
      File "/srv/slapgrid/slappart11/srv/runner/software/46ff20cd786207637e80576bed95522d/parts/erp5/product/ERP5Type/ERP5Type.py", line 399, in constructInstance
      container._setObject(id, base_ob)
      File "/srv/slapgrid/slappart11/srv/runner/software/46ff20cd786207637e80576bed95522d/parts/erp5/product/ERP5Type/Core/Folder.py", line 974, in _setObject
      return CMFBTreeFolder._setObject(self, *args, **kw)
      File "/srv/slapgrid/slappart11/srv/runner/software/46ff20cd786207637e80576bed95522d/eggs/Products.BTreeFolder2-2.13.5-py2.7.egg/Products/BTreeFolder2/BTreeFolder2.py", line 443, in _setObject
      self._setOb(id, ob)
      File "/srv/slapgrid/slappart11/srv/runner/software/46ff20cd786207637e80576bed95522d/parts/erp5/product/ERP5Type/Core/Folder.py", line 850, in _setOb
      return CMFBTreeFolder._setOb(self, id, object)
      File "/srv/slapgrid/slappart11/srv/runner/software/46ff20cd786207637e80576bed95522d/eggs/Products.BTreeFolder2-2.13.5-py2.7.egg/Products/BTreeFolder2/BTreeFolder2.py", line 256, in _setOb
      ids = mti.get(meta_type, None)
      AttributeError: 'NoneType' object has no attribute 'get'
      920f5648
    • Kasra Jamshidi's avatar
      [erp5_l10n_fa] Initial translation · 53894c84
      Kasra Jamshidi authored
      /reviewed-on nexedi/erp5!390
      53894c84
    • Vincent Pelletier's avatar
      erp5_core: Drop unused script · b1444e66
      Vincent Pelletier authored
      This is not used anywhere, and actually cannot be reused anywhere because
      of hard-coded document identifiers.
      It is too trivial to be worth salvaging, so drop it.
      b1444e66
    • Vincent Pelletier's avatar