- 13 Jan, 2023 2 commits
-
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
-
- 12 Jan, 2023 4 commits
-
-
Jérome Perrin authored
The changes from ae15e7e1 (accounting: show the context when showing invalid bank accounts, 2022-12-21) were a regression because with the previous behaviour, by just looking at the transactions, users could see with the ??? that something was wrong with the bank account. After these changes they had to open the select element. This restore somehow the previous behaviour by displaying the label with ??? marker, but since we have the label, we display the label (bank account reference) instead of the value (the relative URL)
-
Jérome Perrin authored
This was working only with Organisations
-
Jérome Perrin authored
Fix small problems displaying bank accounts on accounting transactions and be more strict during validation: - bank account must be validated - bank account must belong to the section The latter was a problem for scenarios like this: - create transaction for supplier 1 with supplier 1 bank account - clone transaction - change to supplier 2 the bank account remains as supplier 1 bank account, although it became an invoice from supplier 2. The transaction could be validated as long as the bank account is not invalidated See merge request nexedi/erp5!1713
-
-
- 11 Jan, 2023 15 commits
-
-
Jérome Perrin authored
The only check with accounting transactions regarding bank account was that the bank account is not invalidated. This makes the constraint more strict by checking that the bank account belongs to the corresponding entity and also that the bank account is validated. A few tests needed to be updated to validate the bank accounts. Also a legacy sequence test has been removed because it is now covered by normal tests.
-
Jérome Perrin authored
-
Jérome Perrin authored
The parameter is still named `organisation` for "API stability", but this parameter can be a person. This was already used by the fields on accounting transaction for source/destination_payment and more or less working already, except for the case where the person had a subordination to an organisation member of the group, in that case instead of showing the bank accounts from the person this was showing the bank accounts from the organisation
-
Jérome Perrin authored
On a transaction without section / mirror section, on the profile tab all accouts where displayed
-
Jérome Perrin authored
drop skip_invalidated_bank_accounts option, we are now using base_category instead.
-
Kazuhiko Shiozaki authored
erp5_accounting, erp5_payment_mean: display currently selected Bank Account even if it is invalidated.
-
Jérome Perrin authored
no need to validate them in the test
-
Jérome Perrin authored
We had a6b588e7 but this was only solving the case of a trailing ; See merge request !1710
-
Romain Courteaud authored
See nexedi/erp5@0c2dd107
-
Romain Courteaud authored
-
Romain Courteaud authored
Coding crime. See cbb3b35b
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Nicolas Wavrant authored
`python` command doesn't exist anymore in most recent distribution and our PASS (theia), but python3 has been available for years now.
-
- 10 Jan, 2023 1 commit
-
-
Roque authored
-
- 09 Jan, 2023 2 commits
-
-
Roque authored
- 06 Jan, 2023 3 commits
-
-
Xiaowu Zhang authored
See merge request nexedi/erp5!1718
-
Xiaowu Zhang authored
context is actually a web section
- 28 Dec, 2022 3 commits
-
-
Jérome Perrin authored
replaces nexedi/erp5!1691 See merge request nexedi/erp5!1709
-
Jérome Perrin authored
See merge request nexedi/erp5!1715
-
Jérome Perrin authored
There is no good reason to prevent editing in cancelled state and it can be needed, for example to remove a cancelled payment transaction from a payment transaction group.
-
- 26 Dec, 2022 2 commits
-
-
Jérome Perrin authored
This is different from the total of durations of test result lines because they are executed in parralel on different testnodes. The actual duration is just the difference between start and stop, so that we don't have to calculate.
-
Jérome Perrin authored
This makes it easier to understand the duration in minutes and hours
-
- 21 Dec, 2022 3 commits
-
-
Jérome Perrin authored
Ran https://github.com/python/cpython/blob/3.7/Lib/lib2to3/fixes/fix_asserts.py after adding the missing methods (assertRegex and assertRaisesRegex) on ERP5TypeTestCase. Also ran a custom fixer rewriting ```py self.assertTrue(a in b) ``` into ```py self.assertIn(a, b) ``` See merge request nexedi/erp5!1708
-
Jérome Perrin authored
Prepare for https://github.com/zopefoundation/Zope/pull/1075 ( Zope 4.8.7 ) See merge request nexedi/erp5!1707
-
Jérome Perrin authored
and fix some missing cache
-
- 20 Dec, 2022 5 commits
-
-
Jérome Perrin authored
-
Romain Courteaud authored
See merge request nexedi/erp5!1674
-
Jérome Perrin authored
automaticLayout can not be used with firefox 68 (the browser from test nodes) because it lacks support for ResizeObserver
-
Jérome Perrin authored
triggered manually with "Format Document" of "Format Selection" actions
-