Required slaves fields that are not visible due to master/slave relationships are not considered mandatory anymore.

This commit is contained in:
Gaetan Delannay 2010-11-05 13:05:10 +01:00
parent ba877e061e
commit ca6dd26906
2 changed files with 40 additions and 4 deletions

View file

@ -167,7 +167,7 @@ class BaseMixin:
initiatorPage = splitted[2].split(':')[1]
urlBack = initiator.getUrl(page=initiatorPage, nav='')
else:
# Go back to the Plone site (no better solution at present).
# Go back to the root of the site.
urlBack = self.portal_url.getPortalObject().absolute_url()
else:
urlBack = self.getUrl()