- 06 Mar, 2020 2 commits
-
-
Jérome Perrin authored
I don't know how it was exported, but this object does not install: File "/parts/erp5/product/ERP5/Document/BusinessTemplate.py", line 4141, in install return ObjectTemplateItem.install(self, context, **kw) File "/parts/erp5/product/ERP5/Document/BusinessTemplate.py", line 1422, in install container._setObject(object_id, obj) File "/parts/erp5/product/ERP5Type/Base.py", line 253, in __call__ result = self.__dict__['_m'](instance, *args, **kw) File "/parts/erp5/product/ERP5Type/Core/Folder.py", line 1055, in _setObject return folder._setObject(self, *args, **kw) File "/eggs/Products.BTreeFolder2-2.13.5-py2.7.egg/Products/BTreeFolder2/BTreeFolder2.py", line 443, in _setObject self._setOb(id, ob) File "/parts/erp5/product/ERP5Type/Core/Folder.py", line 970, in _setOb return folder._setOb(self, id, object) File "/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'
-
Jérome Perrin authored
This portal type refered a non existant init script, which prevents adding documents of this type.
-
- 05 Mar, 2020 2 commits
-
-
Valentin Benozillo authored
-
Valentin Benozillo authored
-
- 04 Mar, 2020 1 commit
-
-
Valentin Benozillo authored
-
- 03 Mar, 2020 8 commits
-
-
Sven Franck authored
-
Sven Franck authored
-
Valentin Benozillo authored
-
Valentin Benozillo authored
This reverts commit ba158a79.
-
Valentin Benozillo authored
Add total price to claim declaration. Format the date.
-
Valentin Benozillo authored
Change also insolvency proceeding type to display translated title
-
Valentin Benozillo authored
Add stop date to insolvency proceeding lisbox in Person / organisation financial information tab.
-
Valentin Benozillo authored
insolvency proceeding type column in Insolvency proceeding listbox Person / Organisation, financial information tab, display translated title.
-
- 02 Mar, 2020 5 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Valentin Benozillo authored
-
Vincent Pelletier authored
There are 2 shemes for VIRTUAL_URL_PARTS: - 2-tuple with SERVER_URL and subpath - 3-tuple with SERVER_URL, vh path and subpath This code only supported the 2-tuple version, add support for the 3-tuple version.
-
- 28 Feb, 2020 3 commits
-
-
Georgios Dagkakis authored
-
Vincent Pelletier authored
Make ERP5Type.Base and ERP5.ERP5Site inherit from it.
-
Vincent Pelletier authored
Allows Base to consistently override methods which are also overridden in CMF where CMF implementation does not propagate the call to other superclasses (ex: __before_publishing_traverse__ as of CMFCore-2.2.10). Also allows simplifying several inheritance fixups. Also, use super() instead of explicit resolution to Base. Also: testBusinessTemplate: drop dead monkey-patch. _getCopy is called during BusinessTemplate installation, but not the one on this class. Which prevents reordering class inheritance between SimpleItem and copy support classes. So this is dead code which is not even explaining what it is trying to do (ex: what document should it really not be called on ? what effect of this method is undesired ? why is the method attached to this class ? why is the cleanup restoring the original method, when this class does not have this method to begin with but it merely gets it from its superclasses which are re-inherited from by documents hence overriding it anyway ?, and it is getting in the way of reordering class inheritance so it goes away. Also: ERP5Type.patches.CMFBTreeFolder: Fold patch onto ERP5Type.Core.Folder. All ERP5UI-visible (hence needing to call allowedContentTypes) BTReeFolder2 instances should already inherit ERP5Type.Core.Folder, removing the need for this monkey-patch.
-
- 27 Feb, 2020 5 commits
-
-
Georgios Dagkakis authored
-
Valentin Benozillo authored
-
Valentin Benozillo authored
-
Valentin Benozillo authored
-
Valentin Benozillo authored
-
- 26 Feb, 2020 5 commits
-
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
1. allow user to define custom value in dialog 2. fix rounding issue for total value 3. improve view
-
Jérome Perrin authored
The category titles were missing /reviewed-on nexedi/erp5!1065
-
Jérome Perrin authored
In https://www.associations.gouv.fr/IMG/pdf/reglt_2018-06_association.pdf ( from 2018 and applicable currently), it's written "870 dons en nature" and "875 Bénévolat". Eventhough in other documents from this official web site, it's still the opposite: * https://www.associations.gouv.fr/IMG/pdf/plan_comptable_assoc.pdf (from 2004) have in page 9: > Répartition par nature de ressources > > 870 – Bénévolat > > 871 – Prestations en nature > > 875 – Dons en nature * https://www.associations.gouv.fr/IMG/pdf/benevolat_valorisation_comptable2011.pdf page 8: > ➛ au crédit du compte « 870. Bénévolat », la contribution ; Most of google searches yield "875 dons en nature" / "870 Bénévolat", but let's follow this newer document. /reviewed-on nexedi/erp5!1064
-
- 25 Feb, 2020 4 commits
-
-
Jérome Perrin authored
Add missing ones from RÈGLEMENT N° 2018-06 du 5 décembre 2018 LIVRE III – TENUE, STRUCTURE ET FONCTIONNEMENT DES COMPTES Titre II – Nomenclature des comptes Art. 320-2 /reviewed-on nexedi/erp5!1060
-
Jérome Perrin authored
Example configuration: from `portal_activities/manageLoadBalancing`: ![image](/uploads/11e614bf8723e3cb81c7bac714a383b7/image.png) in preferences: ![image](/uploads/9f8691ac140aab45904b98ce46aa11b4/image.png) This way when users request lots of reports we always have at least one activity node to process other activities. ( document_conversion is a fictional example at this point ) /reviewed-on !1057
-
Jérome Perrin authored
/reviewed-on nexedi/erp5!1048
-
Jérome Perrin authored
This allow edit scripts or interactions to change the status message or the status level using the same way as workflow scripts: script can set the status text in request['portal_status_message'] and the status level in request['portal_status_level']. Note that part of this was already checked in accidentally in 97c40dcb /reviewed-on !1052
-
- 21 Feb, 2020 1 commit
-
-
Vincent Pelletier authored
When running test.erp5.testHalJsonStyle live tests, the same transaction seems to be seeing two different users. This cause an incorrect cache hit with the second user, which then retrieves values computed by & for the first user. Fix this by scoping the cache by user id, causing different cache entries to be used.
-
- 20 Feb, 2020 4 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
Because this old editor field is deprecated in favor of the new gadget based CKEditor, this is the minimum to get coding style test passing. - disable pylint - re-export with new extensions (.obj -> .bin)
-
Jérome Perrin authored
-
Valentin Benozillo authored
-