- 27 Mar, 2023 1 commit
-
-
Rafael Monnerat authored
See merge request nexedi/erp5!1759
-
- 25 Mar, 2023 1 commit
-
-
Rafael Monnerat authored
See merge request nexedi/erp5!1538
-
- 24 Mar, 2023 12 commits
-
-
Rafael Monnerat authored
On the automatic upgrade some bt5 (erp5_core) can be upgraded before erp5_property_sheets. Since, it isnt a problem if this happens if no Mixin configuration is present, it is better directly check the existence of the property on the bt5. In general we expect that erp5_property_sheets is upgraded before any other bt5 with TypeMixin definition.
-
Rafael Monnerat authored
Use the proper way to include Mixin into a portal type
-
Rafael Monnerat authored
Use the proper way to include Mixin into a portal type
-
Rafael Monnerat authored
This value isnt exported anymore
-
Rafael Monnerat authored
Handle type_mixin like property_sheets and use Business Template properly
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Allow the developer associate a Mixin on Business template level without require to overwrite the portal type itself Include mixins can be done in the same way, allowed content types or property sheets are set.
-
Rafael Monnerat authored
-
Jérome Perrin authored
After updating Products.CMFCore we had issues on sites where URLTool was registered as ISiteRoot. In the case of ERP5, we don't really need portal_url.getPortalObject(), this changes to use ERP5Site.getPortalObject(), while at the same time doing something so that portal_url.getPortalObject() also works. See https://github.com/zopefoundation/Products.CMFCore/pull/126 for more details See merge request nexedi/erp5!1758
-
Jérome Perrin authored
this is a "magic" local variable used to add more debugging information in zope traceback, it's not supposed to be used directly so it was a false positive in our case. This extends the default value of --dummy-variable-rgx that was defined to _$|dummy in pylint 1.4.4 ( https://github.com/PyCQA/pylint/blob/pylint-1.4.4/pylint/checkers/variables.py#L296 )
-
Jérome Perrin authored
This can happen when request is used as a cache storage, especially after eab00f14 (deferred_style: Properly keep request parameters, 2021-03-10)
-
Rafael Monnerat authored
that it was created.
-
- 22 Mar, 2023 1 commit
-
-
Rafael Monnerat authored
squash me
-
- 21 Mar, 2023 1 commit
-
-
Rafael Monnerat authored
This allow during a subscription process, create a user and them create all documents using that user w/o rely on proxy roles (keeping good ownership across the documents).
-
- 20 Mar, 2023 11 commits
-
-
Rafael Monnerat authored
See merge request !1756
-
Jérome Perrin authored
Products.CMFCore's version 2.7.0 of portal_url.getPortalObject returns the portal in an incomplete acquisition context, which causes issues when the site is registered as ISiteRoot utility (the typical error being AttributeError REQUEST) ERP5Site.getPortalObject works just fine and is used in many places, this commit replaces all occurences of portal_url.getPortalObject by getPortalObject.
-
Jérome Perrin authored
and adjust the test for better python3 compatibility
-
Jérome Perrin authored
we don't use these
-
Jérome Perrin authored
This TALES is complex, especially if we need to support python3 as well
-
Jérome Perrin authored
Some old ERP5 site were registered as ISiteRoot and this cause issues with Products.CMFCore update 2.2.10 -> 2.7
-
Jérome Perrin authored
-
Jérome Perrin authored
this interaction adjust membership criterions when variation categories is changed, but we don't really need security restriction in the interaction, because security is already checked when setting variation categories.
-
Jérome Perrin authored
This factorize code and fix a problem that when the variation category was a Category from the same variation base category, we had the base category twice ( something like group/group/nexedi )
-
Jérome Perrin authored
We have been using scripts returning categories but it was missing in the relation field.
-
Jérome Perrin authored
otherwise it is acquired from BudgetLine, which is bad because: - the value of catalog.has_cell_content will be wrong - hasCellContent is slow and this was called for all cells in a budget line
-
- 19 Mar, 2023 3 commits
-
-
Levin Zimmermann authored
/reviewed-on nexedi/erp5!1757
-
Levin Zimmermann authored
In nexedi/erp5@79fa584e we moved some security definition from wendelin to erp5, but we didn't add any tests anywhere. Recent project based tests revealed that this migration actually failed [1]. We should therefore add a test for this. [1] nexedi/wendelin@f8678468 (comment 181134) /reviewed-on nexedi/erp5!1757
-
Arnaud Fontaine authored
This reduces dependency on DCWorkflow and cleanup StateChangeInfo monkey patch.
-
- 17 Mar, 2023 8 commits
-
-
Rafael Monnerat authored
It the user don't have fully permission on the object (already changed state), this set will fail to check if source should be defined.
-
Rafael Monnerat authored
See merge request nexedi/erp5!1537
-
Arnaud Fontaine authored
And the Product was removed in recent ERP5 SR.
-
Jérome Perrin authored
This patch seems not needed
-
Jérome Perrin authored
-
Jérome Perrin authored
This is in SyncMLUtils
-
Jérome Perrin authored
Now this is defined from new workflows, we no longer need the DCWorkflow version
-
Jérome Perrin authored
This was only useful during the transition to ERP5 Workflow, now that workflows are migrated, Category API (setDestination) is more natural, so there's no reason to keep this patch
-
- 16 Mar, 2023 2 commits
-
-
Rafael Monnerat authored
-
Romain Courteaud authored
Conflicts: bt5/erp5_crm/bt/revision
-