An error occurred fetching the project authors.
- 04 May, 2022 1 commit
-
-
Arnaud Fontaine authored
Done through various 2to3 fixers (zope.fixers, modernize, future) and manual changes. This is a single commit so that we have a clearer picture of how code converted with my2to3 should look like. Except straightforward @implementer decorator 2to3 fixer, only product/ folder was considered as the goal was to be able to create an ERP5Site. * Use @implementer decorator introduced in zope.interface 3.6.0 (2010): The implements syntax used under Python 2.X does not work under 3.X, since it depends on how metaclasses are implemented and this has changed. Instead it now supports a decorator syntax (also under Python 2.X). Applied thanks to 2to3 `zope.fixers` package. * Use `six.moves` rather than `future` install_aliases() feature because the latter use unicode_literals and "wraps" module aliases so that unicode() are returned for text rather than str() (Python2 standard library). This notably breaks BusinessTemplate code which uses urllib quote() for filesystem paths... * No more unbound methods in python3 so use six.get_unbound_function(). * dict.(iteritems,iterkeys,itervalues)() => six.\1(dict) thanks to `dict_six` 2to3 fixer from `modernize`: $ python-modernize -w -f dict_six product/ * Manually make sure that dict.{items,values,keys}() returns a real list when it is latter modified rather than a dict_{items,values,keys} (ensure_list()). By default, 2to3 blindly does list(dict.{items,values,keys}()) which is not acceptable from performances point of view. With my2to3, this will be possible to handle such case automatically. * Replace cStringIO.StringIO() by six.moves.cStringIO() (a module alias for cStringIO.StringIO() on py2 and io.StringIO() on py3). * Use six.text_type which maps to unicode() on py2 and str() on py3. This also makes a clearer difference between text and binary strings. * Replace map()/filter() with lambda function by list comprehension (this has the benefit to avoid casting to list for py3 as it returns iterators).
-
- 05 Jun, 2020 1 commit
-
-
Arnaud Fontaine authored
* Import Movement Document: + Event + MailMessage + Project + ImmobilisationMovement * Imported by IMovement: + IAccountingMovement + IAmountGenerator + AmountGeneratorMixin + AmountGeneratorLine + IAssetMovement + IProductionMovement * Used by MovementGeneratorMixin: + IMovementGenerator + IMovementList Also, define providesI<INTERFACE_NAME>() on Base class for migrated Interfaces as these needs to be available before bt5 containing the ZODB Component Interfaces are upgraded (see also c86107bf). Otherwise, testUpgradeInstanceWithOldDataFs fails as z_catalog_item_list (newActiveProcess() from upgrader) calls providesIMovement().
-
- 07 May, 2020 1 commit
-
-
Arnaud Fontaine authored
ZODB Components: erp5_core: Migrate SimulationTool, AppliedRule and Simulation Movement (and their Interfaces/Mixins) (MRs !1093, !1111).
-
- 06 Apr, 2020 1 commit
-
-
Arnaud Fontaine authored
-
- 10 Feb, 2020 1 commit
-
-
Arnaud Fontaine authored
Like Document and Interface Components for the same reasons (694c9fee).
-
- 24 Jan, 2014 1 commit
-
-
Julien Muchembled authored
-
- 09 Nov, 2010 1 commit
-
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40112 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 06 Aug, 2010 1 commit
-
-
Julien Muchembled authored
If we leave PaymentSimulationRule as it is now, 2 Trade Model Path must be created (for bank and payable), instead of 1. Reenable payment rule in tests. git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@37612 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 05 Aug, 2010 2 commits
-
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@37558 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@37522 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 04 Aug, 2010 1 commit
-
-
Jean-Paul Smets authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@37494 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 12 May, 2010 1 commit
-
-
Yusei Tahara authored
Revert revision 35129. Previous decision was wrong. We should not change the place once we publish it. And also there is no new payment rule yet, then no reason to move it to legacy. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35187 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 10 May, 2010 2 commits
-
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35141 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Yusei Tahara authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35129 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 19 Mar, 2010 1 commit
-
-
Yusei Tahara authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33906 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 16 Mar, 2010 1 commit
-
-
Kazuhiko Shiozaki authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33759 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 10 Mar, 2010 2 commits
-
-
Kazuhiko Shiozaki authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33551 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Tatuya Kamada authored
Modify to use start_date and stop_date of the getAggregatedAmountList() result. These variables are picked up but not used. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33546 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 03 Mar, 2010 1 commit
-
-
Kazuhiko Shiozaki authored
inherit from Trade Model Line instead of Business Path in Payment Condition, that makes more flexible for customisation. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33312 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 24 Feb, 2010 2 commits
-
-
Kazuhiko Shiozaki authored
* one cell per predicate is enough * no need to specify quantity git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33077 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
try to find payment condition not from explanation delivery but from delivery link movement, to make it possible to have payment condition for each movement (though not supported for now). git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33074 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 23 Feb, 2010 4 commits
-
-
Kazuhiko Shiozaki authored
* local payment conditions * payment conditions specified in specialised trade conditions * payment conditions specified in BPM configuration git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32993 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32990 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32989 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32985 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 22 Feb, 2010 2 commits
-
-
Kazuhiko Shiozaki authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32927 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32921 20353a03-c40f-0410-a6d1-a30d3c3de9de
-